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 - NullPointerException at org.netbeans.modules.java.hints.introduce.Flow$State.merge
Summary: NullPointerException at org.netbeans.modules.java.hints.introduce.Flow$State....
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 19:14 UTC by mps77
Modified: 2011-04-12 12:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178267


Attachments
stacktrace (3.58 KB, text/plain)
2011-04-11 19:14 UTC, mps77
Details

Note You need to log in before you can comment on or make changes to this bug.
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.