The FindBugs Blog

Saturday, September 16, 2006

Welcome to the FindBugs blog.

We're going to use this blog to post items of interest about FindBugs, static analysis tools, and other topics related to software quality.

3 Comments:

At 4:31 AM, Blogger prabhakar said...

Hi all,
I am getting the following error while running the FindBugs-1.3.0 on my classes.
JDK version: 1.5.0_10
OS: Sun Solaris

Error processing opcode jsr_w @ 10845 in com.btexact.dv.maincontroller.MainServlet.service : (Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V
java.lang.UnsupportedOperationException: OpCode jsr_w not supported
At edu.umd.cs.findbugs.OpcodeStack.sawOpcode(OpcodeStack.java:1313)
At edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory$1.sawOpcode(OpcodeStack.java:1736)
At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:750)
At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:217)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:166)
At org.apache.bcel.classfile.Code.accept(Code.java:132)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:226)
At edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory.analyze(OpcodeStack.java:1743)
At edu.umd.cs.findbugs.OpcodeStack$JumpInfoFactory.analyze(OpcodeStack.java:1718)
At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.analyzeMethod(AnalysisCache.java:292)
At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getMethodAnalysis(AnalysisCache.java:245)
At edu.umd.cs.findbugs.OpcodeStack.resetForMethodEntry(OpcodeStack.java:1811)
At edu.umd.cs.findbugs.bcel.OpcodeStackDetector.visit(OpcodeStackDetector.java:40)
At edu.umd.cs.findbugs.detect.UnreadFields.visit(UnreadFields.java:278)
At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:217)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:166)
At org.apache.bcel.classfile.Code.accept(Code.java:132)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:226)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:257)
At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:204)
At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:36)
At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:68)
At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:823)
At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:194)
At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:1524)
At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:904)
At edu.umd.cs.findbugs.LaunchAppropriateUI.main(LaunchAppropriateUI.java:33)

Can anyone please copmment on this?


Regds,
Prabhakar...

 
At 3:43 AM, Blogger sangram said...

I am running findbugs to generate html reports , is there any way to stop generating report if there are no warnings in code.

 
At 12:47 PM, Blogger samar said...

Hi, how do we export the results in a PDF or HTML file?

 

Post a Comment

<< Home