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 175993

Summary: AssertionError at com.sun.tools.javac.api.JavacTaskImpl.parse
Product: java Reporter: sbentzen <sbentzen>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=161456
Issue Type: DEFECT Exception Reporter: 161456
Attachments: stacktrace

Description sbentzen 2009-11-04 09:11:32 UTC
This issue was originally marked as duplicate of issue 167215, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02
OS: Windows XP, 5.1, x86

User Comments:
sbentzen: Trying to create a method in a file other from that I am standing in using the yellow ballon to the left



Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.api.JavacTaskImpl.parse(JavacTaskImpl.java:261)
        at org.netbeans.modules.java.source.TreeLoader.loadTreeFor(TreeLoader.java:153)
        at com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:623)
        at com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:649)
        at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:175)
        at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:167)
Comment 1 sbentzen 2009-11-04 09:11:38 UTC
Created attachment 90480 [details]
stacktrace
Comment 2 Dusan Balek 2009-11-04 15:06:43 UTC
Already reported. Thanks.

*** This issue has been marked as a duplicate of 174694 ***