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 IDE Dev (Build 080826) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28 OS: Windows Vista, 6.0, x86 User Comments: Right-click on Ruby source rb file and selected Test File, got this exception Stacktrace: java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at org.netbeans.modules.ruby.testrunner.ui.TestUnitHandlerFactory$TestLoggerHandler.updateUI(TestUnitHandlerFactory.java:314) at org.netbeans.modules.ruby.testrunner.ui.TestRecognizer.processLine(TestRecognizer.java:97) at org.netbeans.modules.ruby.platform.execution.OutputForwarder.processLine(OutputForwarder.java:126) at org.netbeans.modules.ruby.platform.execution.OutputForwarder.run(OutputForwarder.java:265) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
Created attachment 68391 [details] stacktrace
Are you able to reproduce this reliably, or does it happen just randomly? Could you please enable more detailed logging as described at http://wiki.netbeans.org/FaqRubyNBLogging and then attach the log file here when this happens again. Thanks.
Created attachment 68456 [details] test-session.txt
I've got it as well (attached with detailed logging). It seems to be random.
Seems to be encountered often (cf. Chris's thread on the dev@ruby.nb). Increasing to P2, should not get it to 6.5 final.
Created attachment 68526 [details] yet-another-stacktrace-little-different.txt
*** Issue 145551 has been marked as a duplicate of this issue. ***
To me this happened when running tests against the Depot sample application. Also random, can not reproduce reliably.
Should be fixed in changeset #12a393955f96, will push during the weekend. The problem was (likely, since this is random) caused by lack of synchronization in TestRecognizer, I had incorrectly assumed that OutputRecognizerds get called only from one thread, which is not the case.
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/07fb993c9b48 User: Erno Mononen <emononen@netbeans.org> Log: Disabling rerun in the output window for rake test executions, a possible cause of #145228.
Integrated into 'main-golden', available in build *200809010201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/12a393955f96 User: Erno Mononen <emononen@netbeans.org> Log: #145228: [65cat] IllegalStateException: No match found