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 223977 - org.openide.util.RequestProcessor$FastItem: task failed due to: java.lang.AssertionError: Attr.visitNewClass tree [new ExprFunction3(new ExprVar("x"), new ExprVar("y"), new ExprVar("z"), "http://funct
Summary: org.openide.util.RequestProcessor$FastItem: task failed due to: java.lang.Ass...
Status: RESOLVED DUPLICATE of bug 208454
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 12:29 UTC by Exceptions Reporter
Modified: 2012-12-18 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 196716


Attachments
stacktrace (5.16 KB, text/plain)
2012-12-18 12:29 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-12-18 12:29:57 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 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
GUEST: 1) copied some code to a new class
2) 'Import Classes' window automatically opened
3) clicked 'OK'




Stacktrace: 
java.lang.AssertionError: Attr.visitNewClass tree [new ExprFunction3(new ExprVar("x"), new ExprVar("y"), new ExprVar("z"), "http://function#order"){
    
    () {
        super();
    }
    
    @Override()
    public NodeValue eval(NodeValue x, NodeValue y, NodeValue z) {
        System.out.println("order function works");
        return z;
    }
    
    @Override()
    public Expr copy(Expr arg1, Expr arg2, Expr arg3) {
        return new E_Conditional(arg1, arg2, arg3);
    }
}] with constructor type [(com.hp.hpl.jena.sparql.expr.Expr,com.hp.hpl.jena.sparql.expr.Expr,com.hp.hpl.jena.sparql.expr.Expr,java.lang.String)void] has symbol [inapplicable symbol error wrongSym=() explanation=actual and formal argument lists differ in length] of kind [ 70]
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:1880)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1375)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:451)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:424)
   at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:470)
Comment 1 Exceptions Reporter 2012-12-18 12:29:59 UTC
Created attachment 129503 [details]
stacktrace
Comment 2 Dusan Balek 2012-12-18 14:39:41 UTC

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