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.
Stable exception on Sparc Solaris in QA tests (~10 tests). I can't localize bug, but I see such behavior. Open Project Clean&Build project Call Step Into in context menu in Projects tab ==> debugger stopped, empty Navigator tab Select editor's tab ==> I see exception without stacktrace. In log I see: INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 2 source roots took: 2,780 ms (New or modified files: 11, Deleted files: 0) [Adding listeners took: 11 ms] INFO [org.netbeans.modules.cnd.discovery.projectimport.ImportProject]: Start fixing of excluded header files for project c++testdbxGUI.breakpoint.FunctionBkptReturn.testFunctionBkptReturn org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl @1934200123:1934200123 java.lang.ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException at parsing file /export/hudson/workspace/ss-test-sparc-S11-5/tests/build/test/qa-functional/data/dbxGUI/breakpoint/FunctionBkptReturn/testFunctionBkptReturn/c++test/c++test.cc SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter$TaskContext java.lang.ArrayIndexOutOfBoundsException INFO [org.netbeans.modules.cnd.api.project.NativeProjectRegistry]: Close native project c++testdbxGUI.breakpoint.FunctionBkptReturn.testFunctionBkptReturn /export/hudson/workspace/ss-test-sparc-S11-5/tests/build/test/qa-functional/data/dbxGUI/breakpoint/FunctionBkptReturn/testFunctionBkptReturn/c++testdbxGUI.breakpoint.FunctionBkptReturn.testFunctionBkptReturn
I can't reproduce exception if I use -J-ea (or -ea in tests) flag.
Exception from code model parser.
(In reply to Alexander Simon from comment #2) > Exception from code model parser. How can I see it? Is it possible to insert here stack trace, please?
(In reply to Vladimir Voskresensky from comment #3) > (In reply to Alexander Simon from comment #2) > > Exception from code model parser. > How can I see it? > Is it possible to insert here stack trace, please? Please search for "at parsing file" in code model and make sure that code prints stack.
pushed changeset: 313457:f8321cb00aa7 [release82] on enum. Will wait for the stack trace. Could it be https://netbeans.org/bugzilla/show_bug.cgi?id=268301?
Created attachment 163057 [details] diff
I was able to reproduce the messages in log. It looks like JIT bug. when apply the attached diff, then I can see a lot of exceptions with empty stack trace info java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID java.lang.ArrayIndexOutOfBoundsException:null:java.lang.ArrayIndexOutOfBoundsException:null:0 in onID
so this bug is the same as https://netbeans.org/bugzilla/show_bug.cgi?id=268301 I need to change code to workaround Java bug *** This bug has been marked as a duplicate of bug 268301 ***
Integrated into 'main-silver', will be available in build *201612030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/27902794e77e User: Alexander Simon <alexvsimon@netbeans.org> Log: investigate Bug #269113 Stable java.lang.ArrayIndexOutOfBoundsException exception on Sparc Solaris in QA tests - catch exception and print stack. (transplanted from a4be0009ac984dda23d5faa9fee09d5b4d414394)