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 248400 - AssertionError: unexpected type: none
Summary: AssertionError: unexpected type: none
Status: RESOLVED FIXED
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: 2014-11-04 16:24 UTC by peterhull90
Modified: 2015-04-16 06:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201448


Attachments
stacktrace (2.53 KB, text/plain)
2014-11-04 16:24 UTC, peterhull90
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peterhull90 2014-11-04 16:24:54 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
GUEST: ?

peterhull90: Ask NB to fix a missing type when assigning a lambda to a variable




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.AddParameterOrLocalFix.initExpression(AddParameterOrLocalFix.java:193)
   at org.netbeans.modules.java.hints.errors.AddParameterOrLocalFix.resolveLocalVariable(AddParameterOrLocalFix.java:321)
   at org.netbeans.modules.java.hints.errors.AddParameterOrLocalFix.access$500(AddParameterOrLocalFix.java:94)
Comment 1 peterhull90 2014-11-04 16:24:56 UTC
Created attachment 150271 [details]
stacktrace
Comment 2 Dusan Balek 2015-04-15 11:45:14 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/79efe0e3cb20
Comment 3 Quality Engineering 2015-04-16 06:36:33 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/79efe0e3cb20
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #248400: AssertionError: unexpected type: none - fixed.