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 240653 - NullPointerException at org.netbeans.modules.java.hints.introduce.InstanceRefFinder.addInstanceForConstructor
Summary: NullPointerException at org.netbeans.modules.java.hints.introduce.InstanceRef...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 02:58 UTC by tijet
Modified: 2014-01-22 02:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206242


Attachments
stacktrace (1.83 KB, text/plain)
2014-01-19 02:58 UTC, tijet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tijet 2014-01-19 02:58:03 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
GUEST: x

tijet: converting concrete method to abstract




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.introduce.InstanceRefFinder.addInstanceForConstructor(InstanceRefFinder.java:237)
   at org.netbeans.modules.java.hints.introduce.InstanceRefFinder.visitNewClass(InstanceRefFinder.java:443)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1532)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
   at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:255)
   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1390)
Comment 1 tijet 2014-01-19 02:58:05 UTC
Created attachment 144111 [details]
stacktrace
Comment 2 Svata Dedic 2014-01-20 09:50:03 UTC
Fixed in jet-main#3ee0eddb4cef
Comment 3 Quality Engineering 2014-01-22 02:34:53 UTC
Integrated into 'main-silver', will be available in build *201401220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3ee0eddb4cef
User: Svata Dedic <sdedic@netbeans.org>
Log: #240653: prevented NPE