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 216460

Summary: NullPointerException at com.sun.tools.javac.jvm.Gen.visitSwitch
Product: java Reporter: misterm <misterm>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: esmithbss, FrantaM, sunflower
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191327
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description misterm 2012-08-07 00:31:15 UTC
This bug was originally marked as duplicate of bug 198075, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20120803-dd86033d6217)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.jvm.Gen.visitSwitch(Gen.java:1148)
   at com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:962)
   at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:687)
   at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:722)
   at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:708)
   at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:759)
Comment 1 misterm 2012-08-07 00:31:17 UTC
Created attachment 122813 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-11-09 18:16:41 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191327
Comment 3 esmithbss 2012-12-31 04:35:15 UTC
Created attachment 129774 [details]
stacktrace

Viewing a Diff of 2 files when I swapped out to a command line and copied the project folder to a backup.
Comment 4 esmithbss 2012-12-31 07:50:15 UTC
Created attachment 129779 [details]
stacktrace

Opening Visage NetBeans plugin (previously the JavaFX plugin) project.
Comment 5 Exceptions Reporter 2012-12-31 07:50:20 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191327
Comment 6 Alexandr Scherbatiy 2015-04-23 10:29:07 UTC
Created attachment 153320 [details]
stacktrace

Build project
Comment 7 Exceptions Reporter 2015-04-23 10:29:13 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191327