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 224985

Summary: [73cat] NullPointerException at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan @jdk8lambda
Product: java Reporter: misterm <misterm>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: dlhartveld, jlahoda, misterm
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 196137
Attachments: stacktrace
stacktrace
stacktrace

Description misterm 2013-01-16 18:26:11 UTC
Build: NetBeans IDE Dev (Build jdk8lambda-1605-on-20130111)
VM: OpenJDK 64-Bit Server VM, 25.0-b14, OpenJDK Runtime Environment, 1.8.0-ea-lambda-nightly-h2805-20130114-b73-b00
OS: Windows 7

User Comments:
GUEST: Tried formatting code




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:584)
   at org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapList(Reformatter.java:3455)
   at org.netbeans.modules.java.source.save.Reformatter$Pretty.scanMethodCall(Reformatter.java:3514)
   at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethodInvocation(Reformatter.java:1557)
   at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethodInvocation(Reformatter.java:403)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1411)
Comment 1 misterm 2013-01-16 18:26:12 UTC
Created attachment 130300 [details]
stacktrace
Comment 2 misterm 2013-01-16 20:16:32 UTC
Created attachment 130308 [details]
stacktrace
Comment 3 Exceptions Reporter 2013-01-27 22:22:45 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=196137
Comment 4 Exceptions Reporter 2013-01-27 22:28:44 UTC
Created attachment 130701 [details]
stacktrace
Comment 5 Dusan Balek 2013-04-04 13:26:39 UTC
*** Bug 224994 has been marked as a duplicate of this bug. ***
Comment 6 Dusan Balek 2013-04-04 15:14:20 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/1b8ed0a3dffe
Comment 7 Dusan Balek 2013-06-12 11:18:56 UTC
*** Bug 225912 has been marked as a duplicate of this bug. ***