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 185364 - AssertionError: Attr.visitNewClass tree [new PrivilegedAction(){ () { super(); } public Object run() { pumpEventsForFilter.run(); return null; } }] wi
Summary: AssertionError: Attr.visitNewClass tree [new PrivilegedAction(){ () ...
Status: RESOLVED DUPLICATE of bug 138391
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-05-03 14:56 UTC by lazarius
Modified: 2010-12-02 13:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169020


Attachments
stacktrace (6.31 KB, text/plain)
2010-05-03 14:56 UTC, lazarius
Details
stacktrace (6.31 KB, text/plain)
2010-05-17 04:46 UTC, Exceptions Reporter
Details
stacktrace (6.31 KB, text/plain)
2010-05-20 11:32 UTC, imomoi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lazarius 2010-05-03 14:56:19 UTC
This bug was originally marked as duplicate of bug 138391, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

User Comments:
lazarius: Scrolling trough Java editor window.

GUEST: Opening file *.java

lazarius: Switched to a different editor tab in the Java editor window.




Stacktrace: 
java.lang.AssertionError: Attr.visitNewClass tree [new PrivilegedAction(){
    
    () {
        super();
    }
    
    public Object run() {
        pumpEventsForFilter.run();
        return null;
    }
}] with constructor type [null] has symbol [access error wrongSym=Object()] of kind [ 66]
   at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:1659)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1355)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
   at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:500)
   at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1392)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1304)
Comment 1 lazarius 2010-05-03 14:56:23 UTC
Created attachment 98373 [details]
stacktrace
Comment 2 Dusan Balek 2010-05-04 11:11:23 UTC
Are you able to reproduce the issue? If so, is the issue reproducible even with clean caches (deleted var/cache subdir of your userdir)? Thanks.
Comment 3 Exceptions Reporter 2010-05-17 04:46:52 UTC
Created attachment 99068 [details]
stacktrace

Createing a new class and then pasting an example class over the top
Comment 4 imomoi 2010-05-20 11:32:05 UTC
Created attachment 99247 [details]
stacktrace
Comment 5 Dusan Balek 2010-12-02 13:22:33 UTC

*** This bug has been marked as a duplicate of bug 138391 ***