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 203506

Summary: [71cat] AssertionError at org.netbeans.modules.java.source.parsing.JavacParser.reparseMethod
Product: editor Reporter: sunbiz <sunbiz>
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181882
Attachments: stacktrace

Description sunbiz 2011-10-11 13:06:01 UTC
Build: NetBeans IDE Dev (Build 201110100600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
sunbiz: Create BeanInfoEditor File for a java source file.
Type something in the ungaurded area... Keep Ctrl+Z pressed to undo.
This throws the exception




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.java.source.parsing.JavacParser.reparseMethod(JavacParser.java:924)
   at org.netbeans.modules.java.source.parsing.JavacParser.parseImpl(JavacParser.java:360)
   at org.netbeans.modules.java.source.parsing.JavacParser.parse(JavacParser.java:324)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:661)
   at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:213)
   at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:789)
Comment 1 sunbiz 2011-10-11 13:06:12 UTC
Created attachment 111849 [details]
stacktrace
Comment 2 Tomas Zezula 2011-10-11 16:05:58 UTC
fixed jet-main: 863187d5c3cc

Thanks for report.
Comment 3 Quality Engineering 2011-10-12 14:19:59 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/863187d5c3cc
User: Tomas Zezula <tzezula@netbeans.org>
Log: #203506:[71cat] AssertionError at org.netbeans.modules.java.source.parsing.JavacParser.reparseMethod