This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219628

Summary: NullPointerException at edu.umd.cs.findbugs.detect.LazyInit.prescreen
Product: java Reporter: javydreamercsw <javydreamercsw>
Component: FindBugsAssignee: Petr Cyhelsky <cyhelsky>
Status: RESOLVED WONTFIX    
Severity: normal CC: alied, infonaut, jglick, theshadow27, ymajoros
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 193140
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description javydreamercsw 2012-10-05 19:53:47 UTC
This bug was originally marked as duplicate of bug 212024, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201210050002)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
javydreamercsw: Used goto declaration.

jglick: Ctrl-7 to open navigator from a Java source.




Stacktrace: 
java.lang.NullPointerException
   at edu.umd.cs.findbugs.detect.LazyInit.prescreen(LazyInit.java:129)
   at edu.umd.cs.findbugs.ByteCodePatternDetector.visitClassContext(ByteCodePatternDetector.java:69)
   at edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:74)
   at edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1189)
   at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:278)
   at org.netbeans.modules.findbugs.RunFindBugs.runFindBugs(RunFindBugs.java:225)
Comment 1 javydreamercsw 2012-10-05 19:53:50 UTC
Created attachment 125496 [details]
stacktrace
Comment 2 alied 2012-11-08 22:19:41 UTC
Created attachment 127428 [details]
stacktrace

Had a low memory error and clicked on the link.
The browser successfully ran
Comment 3 alied 2012-11-08 22:40:41 UTC
Created attachment 127430 [details]
stacktrace
Comment 4 theshadow27 2013-03-14 19:45:42 UTC
Created attachment 132624 [details]
stacktrace

Navigating sources normally, but with "background scanning of projects" active
Comment 5 Petr Cyhelsky 2013-07-31 14:57:51 UTC
changing owner
Comment 6 Martin Balin 2015-09-17 11:24:37 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.