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 188280 - [69cat] AssertionError: unexpected type: <none>
Summary: [69cat] AssertionError: unexpected type: <none>
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 14:22 UTC by mhuebner
Modified: 2010-07-25 02:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 133518


Attachments
stacktrace (3.56 KB, text/plain)
2010-07-01 14:22 UTC, mhuebner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mhuebner 2010-07-01 14:22:56 UTC
This bug was originally marked as duplicate of bug 141664, 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 201006230001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

User Comments:
mhuebner: wrote something like
 String[] arg = new String[]();
and clicked on the yellow bulb hint symbol
=>change type of arg to




Stacktrace: 
java.lang.AssertionError: unexpected type: <none>
   at com.sun.tools.javac.tree.TreeMaker.Type(TreeMaker.java:668)
   at org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:655)
   at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:874)
   at org.netbeans.modules.java.hints.errors.ChangeTypeFix$1.run(ChangeTypeFix.java:100)
   at org.netbeans.modules.java.hints.errors.ChangeTypeFix$1.run(ChangeTypeFix.java:84)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:665)
Comment 1 mhuebner 2010-07-01 14:22:59 UTC
Created attachment 100544 [details]
stacktrace
Comment 2 Dusan Balek 2010-07-23 14:45:17 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/200637c7ffe6
Comment 3 Quality Engineering 2010-07-25 02:56:38 UTC
Integrated into 'main-golden', will be available in build *201007250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/200637c7ffe6
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #188280: AssertionError: unexpected type: <none> - fixed.