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 247550

Summary: AssertionError: unexpected type: none
Product: java Reporter: Project2100
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 212311
Attachments: stacktrace

Description Project2100 2014-09-29 10:32:24 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
Project2100: could not remember, probably related to generated class file from undeclared field




Stacktrace: 
java.lang.AssertionError: unexpected type: none
   at com.sun.tools.javac.tree.TreeMaker.Type(TreeMaker.java:710)
   at org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:758)
   at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1029)
   at org.netbeans.modules.java.hints.errors.CreateFieldFix$1.run(CreateFieldFix.java:124)
   at org.netbeans.modules.java.hints.errors.CreateFieldFix$1.run(CreateFieldFix.java:98)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:649)
Comment 1 Project2100 2014-09-29 10:32:26 UTC
Created attachment 149587 [details]
stacktrace
Comment 2 Dusan Balek 2015-04-15 11:51:08 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/3101073a24ca
Comment 3 Quality Engineering 2015-04-16 06:36:04 UTC
Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3101073a24ca
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #247550: AssertionError: unexpected type: none - fixed.