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 235872

Summary: NullPointerException at org.netbeans.modules.java.debugjavac.impl.DesugarDecompilerImpl$JavaCompilerOverride.generate
Product: contrib Reporter: Jan Lahoda <jlahoda>
Component: CodeAssignee: Jan Lahoda <jlahoda>
Status: NEW ---    
Severity: normal CC: jlahoda
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203806
Attachments: stacktrace
stacktrace

Description Jan Lahoda 2013-09-12 11:54:12 UTC
Build: NetBeans IDE Dev (Build 20130828-814a27f8b811)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Linux

User Comments:
jlahoda: For file with default package (without the package clause).




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.debugjavac.impl.DesugarDecompilerImpl$JavaCompilerOverride.generate(DesugarDecompilerImpl.java:128)
   at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:529)
   at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:511)
   at org.netbeans.modules.java.debugjavac.impl.DesugarDecompilerImpl.decompile(DesugarDecompilerImpl.java:90)
   at org.netbeans.modules.java.debugjavac.DecompiledTab.doDecompileIntoDocument(DecompiledTab.java:205)
   at org.netbeans.modules.java.debugjavac.DecompiledTab.access$000(DecompiledTab.java:98)
Comment 1 Jan Lahoda 2013-09-12 11:54:14 UTC
Created attachment 139980 [details]
stacktrace
Comment 2 Jan Lahoda 2013-11-22 15:21:55 UTC
Created attachment 142490 [details]
stacktrace

Trying to inspect desugared code.