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.
StackOverflowError now happens regularly when running many tests, both locally and on test builder machines. See e.g.: http://ruhudson4qe.russia.sun.com/job/web-main-unit/13/jdk=jdk1.6,label=Lin-Ubuntu-3-stable/testReport/org.netbeans.modules.groovy.editor.api/BracketCompleterTest/testSemi1/ I am attaching the stack trace.
Created attachment 78366 [details] Stack trace when running the tests locally
I've noticed it also when running th php tests, disappeared for me after this fix: http://hg.netbeans.org/web-main/rev/0d6dc77d2428
Thanks! I am cc'ing also Petr H - would a similar fix also help in the Groovy case?
Jarda did some changes in lookup and in RecognizeInstanceFiles. He could know better what's wrong. To reproduce just run e.g. groovy.editor\test\unit\src\org\netbeans\modules\groovy\editor\api\BracketCompleterTest.java.
I can "fix" the test easily by commenting out setMimetype blindly (and I will do so tomorrow unless this will be fixed), but I would rather see this being properly evaluated and fixed.
I removed setMimeType from GroovyTestBase - web-main ca4a0d8752a3.
After my change to fix issue 160630 the groovy.editor/**/BrackedCompleterEditor seems to pass. All 100 tests is OK. Do you need me to prepare a patch or is it ok to wait for regular propagation from core-main? *** This issue has been marked as a duplicate of 160630 ***
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ca4a0d8752a3 User: phejl@netbeans.org Log: #160537 StackOverflowError when running tests (just removed setMimeType from GroovyTestBase)