Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makeConcatWithConstants + apply classes needed for analysis were missing #697

Open
ksloo1788 opened this issue Dec 15, 2023 · 1 comment

Comments

@ksloo1788
Copy link

The following errors occurred during analysis:
[java] Exception analyzing com.controller.Controller using detector com.h3xstream.findsecbugs.spring.SpringEntityLeakDetector
[java] java.lang.IllegalArgumentException: Invalid class name java/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object
[java] At edu.umd.cs.findbugs.classfile.ClassDescriptor.(ClassDescriptor.java:59)
[java] At edu.umd.cs.findbugs.classfile.DescriptorFactory.getClassDescriptor(DescriptorFactory.java:128)
[java] At edu.umd.cs.findbugs.AnalysisCacheToRepositoryAdapter.loadClass(AnalysisCacheToRepositoryAdapter.java:90)
[java] At org.apache.bcel.Repository.lookupClass(Repository.java:180)
[java] At com.h3xstream.findsecbugs.spring.SignatureParserWithGeneric.typeToJavaClass(SignatureParserWithGeneric.java:75)
[java] At com.h3xstream.findsecbugs.spring.SignatureParserWithGeneric.getReturnClasses(SignatureParserWithGeneric.java:60)
[java] At com.h3xstream.findsecbugs.spring.SpringEntityLeakDetector.analyzeMethod(SpringEntityLeakDetector.java:112)
[java] At com.h3xstream.findsecbugs.spring.SpringEntityLeakDetector.visitClassContext(SpringEntityLeakDetector.java:69)
[java] At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
[java] At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
[java] At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[java] At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
[java] At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:247)
[java] At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
[java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
[java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
[java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
[java] The following classes needed for analysis were missing:
[java] makeConcatWithConstants
[java] apply

@hazendaz
Copy link
Member

I believe that is coming from findsecbugs which is not this project. see https://github.com/find-sec-bugs/find-sec-bugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants