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 229407

Summary: AssertionError: actual and formal argument lists differ in length
Product: java Reporter: J Bachorik <yardus>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal CC: aldopa, alied, FiruzzZ, ksrini, lopsided98, MackSix, ophers, theshadow27, xuelianggao, yardus
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 199279
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description J Bachorik 2013-05-06 12:58:58 UTC
Build: NetBeans IDE Dev (Build 201305052300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
yardus: opening openjdk project




Stacktrace: 
java.lang.AssertionError: actual and formal argument lists differ in length
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.comp.Attr.checkMethod(Attr.java:3823)
   at com.sun.tools.javac.comp.Attr.checkIdInternal(Attr.java:3607)
   at com.sun.tools.javac.comp.Attr.checkMethodIdInternal(Attr.java:3508)
   at com.sun.tools.javac.comp.Attr.checkMethodId(Attr.java:3486)
   at com.sun.tools.javac.comp.Attr.checkId(Attr.java:3474)
Comment 1 J Bachorik 2013-05-06 12:59:00 UTC
Created attachment 134137 [details]
stacktrace
Comment 2 MackSix 2013-07-05 00:41:22 UTC
Created attachment 136734 [details]
stacktrace

1. With a Mercurial Project, Team>>View and popup asked if I wanted to install hgk so I accepted it.
2. Restarted NetBeans
3. With same Mercurial Project, Team>>View while scanning was taken place.
This AssertionError occured.
Comment 3 MackSix 2013-07-05 01:06:23 UTC
Afterwards, the project JEditProject has a red badge on it that said there were files with error. I could not make it go away restarting NetBeans. I had to shutdown NetBeans, delete the cache directory and restart it and the error badge went away.
Comment 4 J Bachorik 2013-07-19 08:42:42 UTC
Created attachment 137428 [details]
stacktrace

background scanning of the openjdk8-tl/jdk/test sources
Comment 5 J Bachorik 2013-08-02 04:16:44 UTC
Created attachment 138164 [details]
stacktrace

copy paste of a java code
Comment 6 Dusan Balek 2013-08-07 11:42:30 UTC
*** Bug 234034 has been marked as a duplicate of this bug. ***
Comment 7 theshadow27 2013-08-13 15:30:50 UTC
Created attachment 138645 [details]
stacktrace

Revert SVN modifications from gutter hint
Comment 8 theshadow27 2013-08-27 12:10:12 UTC
Created attachment 139306 [details]
stacktrace

Deleted class prefix "ClassName.staticMethod(..)" -> "staticMethod(..)" within class with arguments that were not real variables
Comment 9 theshadow27 2014-03-25 15:18:46 UTC
Created attachment 146313 [details]
stacktrace

Editing an inner class
Comment 10 Martin Balin 2016-07-07 07:19:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss