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 220757 - AssertionError at org.netbeans.api.java.source.GeneratorUtilities.createAbstractMethodImplementation
Summary: AssertionError at org.netbeans.api.java.source.GeneratorUtilities.createAbstr...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 220756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-24 13:00 UTC by tim_sa
Modified: 2012-10-25 13:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 194020


Attachments
stacktrace (5.10 KB, text/plain)
2012-10-24 13:00 UTC, tim_sa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim_sa 2012-10-24 13:00:53 UTC
Build: NetBeans IDE Dev (Build 201210240001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
tim_sa: had the code 
col.setCellRenderer(new CellRenderer(entityClass));

the constructor for new CellRenderer is currently a no args constructor.
Hit alt-Enter to get the ide to create the new constructor. Threw exception instead




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.api.java.source.GeneratorUtilities.createAbstractMethodImplementation(GeneratorUtilities.java:299)
   at org.netbeans.modules.java.hints.errors.CreateMethodFix.createDefaultMethodBody(CreateMethodFix.java:260)
   at org.netbeans.modules.java.hints.errors.CreateMethodFix.access$500(CreateMethodFix.java:79)
   at org.netbeans.modules.java.hints.errors.CreateMethodFix$1.run(CreateMethodFix.java:195)
   at org.netbeans.modules.java.hints.errors.CreateMethodFix$1.run(CreateMethodFix.java:152)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:644)
Comment 1 tim_sa 2012-10-24 13:00:55 UTC
Created attachment 126472 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-10-24 16:00:53 UTC
*** Bug 220756 has been marked as a duplicate of this bug. ***
Comment 3 Jan Lahoda 2012-10-25 13:16:15 UTC
Fixed:
http://hg.netbeans.org/jet-main/rev/182c86c1fa5d