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 197630

Summary: NullPointerException at org.netbeans.modules.java.hints.introduce.Flow$State.merge
Product: java Reporter: mps77 <mps77>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal CC: williambacchi
Priority: P3    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178267
Attachments: stacktrace

Description mps77 2011-04-11 19:14:36 UTC
Build: NetBeans IDE Dev (Build 201103050000)
VM: Java HotSpot(TM) Client VM, 21.0-b03, Java(TM) SE Runtime Environment, 1.7.0-ea-b132
OS: Windows NT

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.introduce.Flow$State.merge(Flow.java:535)
   at org.netbeans.modules.java.hints.introduce.Flow$VisitorImpl.mergeOr(Flow.java:510)
   at org.netbeans.modules.java.hints.introduce.Flow$VisitorImpl.visitIf(Flow.java:270)
   at org.netbeans.modules.java.hints.introduce.Flow$VisitorImpl.visitIf(Flow.java:137)
   at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1153)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 mps77 2011-04-11 19:14:40 UTC
Created attachment 107648 [details]
stacktrace
Comment 2 Quality Engineering 2011-04-12 08:40:30 UTC
Integrated into 'main-golden', will be available in build *201104120401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/58d76fb7fa52
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #197630: Flow.mergeOr must not create entries with null values.
Comment 3 Jan Lahoda 2011-04-12 12:45:39 UTC
Should be fixed by the above comment.