You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made some tests using the mvnw and it works test.zip, however, it is failing for this specific test.zip when I am not using the wrapper (You can rename the mvnw to something else, like .mvnw.old or just remove the permission to execute, that is, chmod -x mvnw):
java.lang.RuntimeException: java.lang.IllegalStateException: Could not create a entrypoint callsites: 1. [Moderate] class com.ibm.wala.ipa.cha.ClassHierarchy$ClassExclusion : <Application,Lcom/demo/CurrentTimeServlet> No superclass found for <Application,Lcom/demo/CurrentTimeServlet> Superclass name Ljavax/servlet/http/HttpServlet
rename the mvnw to something else, like .mvnw.old or just remove the permission to execute, that is, chmod -x mvnw)
With maven installed, run the code analyzer 1.0.10: e.g.: java -jar ~/Downloads/codeanalyzer-1.0.10.jar -i ~/Downloads/test -o /Users/fabiofranco/.wca/codeAnalyzer/test -a 2 --no-build -v
See error
java -jar ~/Downloads/codeanalyzer-1.0.10.jar -i ~/Downloads/test -o /Users/fabiofranco/.wca/codeAnalyzer/test -a 2 --no-build -v
2025-01-20T14:11:17.388341 [INFO] Found pom.xml in the project directory. Using Maven to download dependencies.
2025-01-20T14:11:17.428540 [WARN] Failed to download library dependencies of project
2025-01-20T14:11:17.862012 [WARN] Could not resolve type: HttpServlet: Unsolved symbol : HttpServlet
2025-01-20T14:11:17.884689 [WARN] Could not resolve type: ServletException: Unsolved symbol : ServletException
2025-01-20T14:11:17.891023 [WARN] Could not resolve type: HttpServletRequest: Unsolved symbol : HttpServletRequest
2025-01-20T14:11:17.892627 [WARN] Could not resolve type: HttpServletResponse: Unsolved symbol : HttpServletResponse
2025-01-20T14:11:17.913391 [DEBUG] Could not resolve expression: response: Unsolved symbol : HttpServletResponse
2025-01-20T14:11:17.916201 [DEBUG] Could not resolve expression: response.setContentType("text/html"): Unsolved symbol : HttpServletResponse
2025-01-20T14:11:17.918416 [DEBUG] Could not resolve method call: response.setContentType("text/html"): Unsolved symbol in response.setContentType("text/html") : response
2025-01-20T14:11:17.920155 [DEBUG] Could not resolve access specifier for method call: response.setContentType("text/html"): Unsolved symbol in response.setContentType("text/html") : response
2025-01-20T14:11:17.926644 [DEBUG] Could not resolve expression: response.getWriter(): Unsolved symbol : HttpServletResponse
2025-01-20T14:11:17.927996 [DEBUG] Could not resolve method call: response.getWriter(): Unsolved symbol in response.getWriter() : response
2025-01-20T14:11:17.929220 [DEBUG] Could not resolve access specifier for method call: response.getWriter(): Unsolved symbol in response.getWriter() : response
2025-01-20T14:11:17.988695 [WARN] Could not resolve type: Application: Unsolved symbol : Application
2025-01-20T14:11:17.994634 [INFO] Create analysis scope.
2025-01-20T14:11:18.019070 [INFO] Add exclusions to scope.
2025-01-20T14:11:18.019319 [INFO] Loading Java SE standard libs.
2025-01-20T14:11:18.070555 [WARN] No extra libraries to process.
2025-01-20T14:11:18.080793 [INFO] Finding *.class files in /Users/fabiofranco/Downloads/test
2025-01-20T14:11:18.086606 [DEBUG] Application class files: 4
2025-01-20T14:11:18.086698 [INFO] Adding application classes to scope.
2025-01-20T14:11:20.890208 [DONE] There were a total of 29924 classes of which 0 are application classes.
2025-01-20T14:11:20.909368 [INFO] Registered 0 entrypoints.
2025-01-20T14:11:20.914431 [INFO] Building call graph.
java.lang.RuntimeException: java.lang.IllegalStateException: Could not create a entrypoint callsites: 1. [Moderate] class com.ibm.wala.ipa.cha.ClassHierarchy$ClassExclusion : <Application,Lcom/demo/CurrentTimeServlet> No superclass found for <Application,Lcom/demo/CurrentTimeServlet> Superclass name Ljavax/servlet/http/HttpServlet
2. [Moderate] class com.ibm.wala.ipa.cha.ClassHierarchy$ClassExclusion : <Application,Lcom/demo/rest/RestApplication> No superclass found for <Application,Lcom/demo/rest/RestApplication> Superclass name Ljavax/ws/rs/core/Application
3. [SEVERE] class com.ibm.wala.classLoader.BytecodeClass$ClassNotFoundWarning : Lcom/ibm/sharedclasses/spi/SharedClassProvider
4. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$InvalidClassFile : Lcom/ibm/sharedspi/SharedClassProvider
5. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Lcom/demo/CurrentTimeServlet
6. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Lcom/demo/rest/RestApplication
7. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/BasicImageReader
8. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/BasicImageReader$1
9. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/BasicImageReader$2
10. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageBufferCache
11. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageBufferCache$1
12. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageBufferCache$2
13. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageHeader
14. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageLocation
15. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader
16. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$Directory
17. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$LinkNode
18. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$Node
19. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$Resource
20. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$SharedImageReader
21. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor
22. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReaderFactory
23. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReaderFactory$1
24. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageStream
25. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageStrings
26. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageStringsReader
27. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/NativeImageBuffer
28. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/NativeImageBuffer$1
29. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/CompressIndexes
30. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/CompressedResourceHeader
31. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/Decompressor
32. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressor
33. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressor$StringsProvider
34. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressorFactory
35. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressorRepository
36. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/SignatureParser
37. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/SignatureParser$ParseResult
38. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/StringSharingDecompressor
39. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/StringSharingDecompressorFactory
40. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ZipDecompressor
41. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ZipDecompressorFactory
42. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/ExplodedImage
43. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/ExplodedImage$PathNode
44. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtDirectoryStream
45. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtDirectoryStream$1
46. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileAttributeView
47. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileAttributeView$AttrID
48. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileAttributes
49. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileStore
50. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystem
51. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystem$1
52. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystemProvider
53. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystemProvider$1
54. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystemProvider$JrtFsLoader
55. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtPath
56. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtPath$1
57. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtPath$2
58. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtUtils
59. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/SystemImage
60. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/SystemImage$1
61. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/SystemImage$2
at com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:103)
at picocli.CommandLine.executeUserObject(CommandLine.java:1767)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2139)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2106)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1973)
at picocli.CommandLine.execute(CommandLine.java:1902)
at com.ibm.cldk.CodeAnalyzer.main(CodeAnalyzer.java:92)
Caused by: java.lang.IllegalStateException: Could not create a entrypoint callsites: 1. [Moderate] class com.ibm.wala.ipa.cha.ClassHierarchy$ClassExclusion : <Application,Lcom/demo/CurrentTimeServlet> No superclass found for <Application,Lcom/demo/CurrentTimeServlet> Superclass name Ljavax/servlet/http/HttpServlet
2. [Moderate] class com.ibm.wala.ipa.cha.ClassHierarchy$ClassExclusion : <Application,Lcom/demo/rest/RestApplication> No superclass found for <Application,Lcom/demo/rest/RestApplication> Superclass name Ljavax/ws/rs/core/Application
3. [SEVERE] class com.ibm.wala.classLoader.BytecodeClass$ClassNotFoundWarning : Lcom/ibm/sharedclasses/spi/SharedClassProvider
4. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$InvalidClassFile : Lcom/ibm/sharedspi/SharedClassProvider
5. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Lcom/demo/CurrentTimeServlet
6. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Lcom/demo/rest/RestApplication
7. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/BasicImageReader
8. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/BasicImageReader$1
9. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/BasicImageReader$2
10. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageBufferCache
11. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageBufferCache$1
12. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageBufferCache$2
13. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageHeader
14. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageLocation
15. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader
16. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$Directory
17. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$LinkNode
18. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$Node
19. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$Resource
20. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$SharedImageReader
21. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor
22. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReaderFactory
23. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageReaderFactory$1
24. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageStream
25. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageStrings
26. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/ImageStringsReader
27. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/NativeImageBuffer
28. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/NativeImageBuffer$1
29. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/CompressIndexes
30. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/CompressedResourceHeader
31. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/Decompressor
32. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressor
33. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressor$StringsProvider
34. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressorFactory
35. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ResourceDecompressorRepository
36. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/SignatureParser
37. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/SignatureParser$ParseResult
38. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/StringSharingDecompressor
39. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/StringSharingDecompressorFactory
40. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ZipDecompressor
41. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jimage/decompressor/ZipDecompressorFactory
42. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/ExplodedImage
43. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/ExplodedImage$PathNode
44. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtDirectoryStream
45. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtDirectoryStream$1
46. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileAttributeView
47. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileAttributeView$AttrID
48. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileAttributes
49. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileStore
50. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystem
51. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystem$1
52. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystemProvider
53. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystemProvider$1
54. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtFileSystemProvider$JrtFsLoader
55. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtPath
56. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtPath$1
57. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtPath$2
58. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/JrtUtils
59. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/SystemImage
60. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/SystemImage$1
61. [SEVERE] class com.ibm.wala.classLoader.ClassLoaderImpl$MultipleImplementationsWarning : Ljdk/internal/jrtfs/SystemImage$2
at com.ibm.wala.ipa.callgraph.propagation.PropagationCallGraphBuilder.makeCallGraph(PropagationCallGraphBuilder.java:240)
at com.ibm.cldk.SystemDependencyGraph.construct(SystemDependencyGraph.java:236)
at com.ibm.cldk.CodeAnalyzer.analyze(CodeAnalyzer.java:180)
at com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:101)
... 7 more
Observed behavior
By running mvn install it works, so I know it is not a build problem. Also, the code analyzer successfully generates an analysis.json when using the wrapper in this project. The issue really seems connected to using mvn instead of mvnw.
Expected behavior
No issues. It should work with the wrapper or without the wrapper.
Environment (please complete the following information):
OS: macOS 15.1.1
Version of Java: 21.0.1
Version of Maven: 3.8.4
The text was updated successfully, but these errors were encountered:
I ran this test app with v1.0.10 on a few versions of Maven on Windows, including v3.8.4 with Java 21, and did NOT recreate the problem.
Some thoughts:
Since the core issue is probably just the failure to download, maybe the rest of it is just noise
2025-01-20T14:11:17.428540 [WARN] Failed to download library dependencies of project
Occasionally there are intermittent issues with downloading deps, but why would this have worked with mvnw but not with mvn?
We can add additional debug info to the Maven execution kicked off via CA by creating a file .mvn/maven.config in the app project dir (~/Downloads/test here) with contents like -X -e, without having to change the CA code. Not sure it'll help any but couldn't hurt.
Describe the bug
I've made some tests using the mvnw and it works test.zip, however, it is failing for this specific test.zip when I am not using the wrapper (You can rename the mvnw to something else, like .mvnw.old or just remove the permission to execute, that is, chmod -x mvnw):
Steps To Reproduce
Steps to reproduce the behavior:
java -jar ~/Downloads/codeanalyzer-1.0.10.jar -i ~/Downloads/test -o /Users/fabiofranco/.wca/codeAnalyzer/test -a 2 --no-build -v
Observed behavior
By running
mvn install
it works, so I know it is not a build problem. Also, the code analyzer successfully generates an analysis.json when using the wrapper in this project. The issue really seems connected to usingmvn
instead ofmvnw
.Expected behavior
No issues. It should work with the wrapper or without the wrapper.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: