commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BCEL-70) NullPointerException in getLineNumber bei "continue" in for each
Date Thu, 24 Apr 2014 09:23:16 GMT

     [ https://issues.apache.org/jira/browse/BCEL-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg updated BCEL-70:
-------------------------------

         Priority: Major
      Environment:     (was: Operating System: other
Platform: Other)
    Fix Version/s: 5.2
         Priority:   (was: P2)
         Severity:   (was: normal)

> NullPointerException in getLineNumber bei "continue" in for each
> ----------------------------------------------------------------
>
>                 Key: BCEL-70
>                 URL: https://issues.apache.org/jira/browse/BCEL-70
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.1
>            Reporter: Hendrik Brummermann
>            Assignee: Apache Commons Developers
>             Fix For: 5.2
>
>         Attachments: TestSOAPAnnotation.class, TestSOAPAnnotation.java
>
>
> Hi,
> I got a NullPointerException using the FindBugs GUI
> I think BCEL has a problem with "continue" in the new for
> loop. The source code of the problematic file is
> attached as a simplified test case.
> Fataler Fehler während der Analyse:
> java.lang.NullPointerException:
> While finding bugs in class:
> de.his.test.soap.TestSOAPAnnotation
> org.apache.bcel.generic.LineNumberGen.getLineNumber(LineNumberGen.java:72)
> org.apache.bcel.generic.MethodGen.getLineNumberTable(MethodGen.java:474)
> edu.umd.cs.findbugs.SourceLineAnnotation.fromVisitedInstruction(SourceLineAnnotation.java:312)
> edu.umd.cs.findbugs.detect.FindInconsistentSync2$FieldStats.addAccess(FindInconsistentSync2.java:184)
> edu.umd.cs.findbugs.detect.FindInconsistentSync2.analyzeMethod(FindInconsistentSync2.java:532)
> edu.umd.cs.findbugs.detect.FindInconsistentSync2.visitClassContext(FindInconsistentSync2.java:259)
> edu.umd.cs.findbugs.FindBugs.examineClass(FindBugs.java:1598)
> edu.umd.cs.findbugs.FindBugs.executeAnalysisPass(FindBugs.java:1517)
> edu.umd.cs.findbugs.FindBugs.execute(FindBugs.java:1171)
> edu.umd.cs.findbugs.gui.AnalysisRun.execute(AnalysisRun.java:109)
> edu.umd.cs.findbugs.gui.RunAnalysisDialog$1.run(RunAnalysisDialog.java:138)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message