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 251740 - AssertionError: unexpected type: none
Summary: AssertionError: unexpected type: none
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-09 15:15 UTC by lolo_101
Modified: 2016-07-07 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216667


Attachments
stacktrace (4.18 KB, text/plain)
2015-04-09 15:15 UTC, lolo_101
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lolo_101 2015-04-09 15:15:51 UTC
This bug was originally marked as duplicate of bug 171441, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
Lolo_101: Reloading POM for ~80 projects




Stacktrace: 
java.lang.AssertionError: unexpected type: none
   at com.sun.tools.javac.tree.TreeMaker.Type(TreeMaker.java:710)
   at com.sun.tools.javac.comp.Lower.visitEnumDef(Lower.java:2542)
   at com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2465)
   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:698)
   at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2361)
Comment 1 lolo_101 2015-04-09 15:15:53 UTC
Created attachment 153115 [details]
stacktrace
Comment 2 Dusan Balek 2015-04-10 07:23:04 UTC
Do you have a reproducible test case? Thanks.
Comment 3 lolo_101 2015-04-12 20:26:49 UTC
Unfortunately i cannot reproduce the bug. However seeing bug 171441 the bug may be related to Git instead of POM reloading. All my projects are under Git source control and i occasionally revert modifications. Maybe i missed the exact moment the exception was raised.
Comment 4 Martin Balin 2016-07-07 07:16:45 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss