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.
Build: NetBeans Platform 7.0 (Build 201104080000) VM: Java HotSpot(TM) Client VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03 OS: Linux User Comments: azizi: public int sumNDispatch(void){ int sum=0; return sum; } in editor i try to solve the problem from the above code that told me <identifire> expected but it dose not solve and when i try to save all files it show me that exception. Stacktrace: java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) at com.sun.tools.javac.util.Assert.checkNull(Assert.java:53) at com.sun.tools.javac.jvm.Code.addLocalVar(Code.java:1853) at com.sun.tools.javac.jvm.Code.newLocal(Code.java:1960) at com.sun.tools.javac.jvm.Gen.visitVarDef(Gen.java:1017) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:730)
Created attachment 113577 [details] stacktrace
Created attachment 113581 [details] stacktrace it can be resulve by removing "void" from function entry public int sumNDispatch(void){ ...
Created attachment 124769 [details] stacktrace The attempt was to rename a file. Selected the "Files" tab right-clicked the file and selected "Refactor->Rename" and this was thrown.
Created attachment 124770 [details] stacktrace Tried to rename a file. After short while this was thrown (that is after a few seconds of "thinking")
Created attachment 124771 [details] stacktrace Renamed a file, I thought it was done but after a few seconds this was thrown
Created attachment 135338 [details] stacktrace during scanning
Created attachment 135404 [details] stacktrace open java file
Created attachment 135420 [details] stacktrace opened ide
Created attachment 135509 [details] stacktrace external changes
Created attachment 135633 [details] stacktrace open file
Created attachment 135634 [details] stacktrace open file in editor
Created attachment 135651 [details] stacktrace scanning
Dusan, any chances to fix it? It is already ~40 dups
Created attachment 135668 [details] stacktrace opened a project
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/30b5bf712a37 http://hg.netbeans.org/main/nb-javac/rev/d0778a7be578
Integrated into 'main-golden', will be available in build *201306122301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/30b5bf712a37 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #205609, #231034, and 231049 fixed.