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 197634

Summary: java.lang.NullPointerException
Product: java Reporter: Jesse Glick <jglick>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178269
Attachments: stacktrace

Description Jesse Glick 2011-04-11 21:35:42 UTC
Build: NetBeans IDE Dev (Build 20110411-1ca2b19d8d8b)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.introduce.Flow$State.access$100(Flow.java:522)
   at org.netbeans.modules.java.hints.introduce.Flow.assignmentsForUse(Flow.java:98)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeIntroduceMethod(IntroduceHint.java:568)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:518)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:354)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:152)
Comment 1 Jesse Glick 2011-04-11 21:35:45 UTC
Created attachment 107651 [details]
stacktrace
Comment 2 Jan Lahoda 2011-04-12 12:46:20 UTC
http://hg.netbeans.org/jet-main/rev/e7230e88752f
Comment 3 Quality Engineering 2011-04-13 08:42:36 UTC
Integrated into 'main-golden', will be available in build *201104130401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e7230e88752f
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #197634: preventing NPE.