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 240645 - NullPointerException at com.sun.source.util.TreePath.getPath
Summary: NullPointerException at com.sun.source.util.TreePath.getPath
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:
: 240932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-18 15:34 UTC by terje7601
Modified: 2014-01-24 16:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206712


Attachments
stacktrace (2.29 KB, text/plain)
2014-01-18 15:34 UTC, terje7601
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2014-01-18 15:34:04 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b65, Java(TM) SE Runtime Environment, 1.8.0-ea-b123
OS: Windows 8

User Comments:
terje7601: Editing a Java file with lambda expressions




Stacktrace: 
java.lang.NullPointerException
   at com.sun.source.util.TreePath.getPath(TreePath.java:55)
   at org.netbeans.modules.java.hints.suggestions.Lambda.explicitParameterTypes(Lambda.java:229)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
Comment 1 terje7601 2014-01-18 15:34:06 UTC
Created attachment 144107 [details]
stacktrace
Comment 2 Svata Dedic 2014-01-20 10:11:11 UTC
fixed in jet-main#9ff038ff2635
Comment 3 Quality Engineering 2014-01-22 02:35:40 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/9ff038ff2635
User: Svata Dedic <sdedic@netbeans.org>
Log: #240645: prevented NPE
Comment 4 Svata Dedic 2014-01-24 16:14:02 UTC
*** Bug 240932 has been marked as a duplicate of this bug. ***