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 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: Windows 7 User Comments: DrKunibar: Start focused method test (with maven) aquaglia: Ruuning junit tests Stacktrace: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:638) at java.util.ArrayList.get(ArrayList.java:414) at org.netbeans.modules.maven.junit.JUnitOutputListenerProvider.sequenceFail(JUnitOutputListenerProvider.java:487) at org.netbeans.modules.maven.execute.AbstractOutputHandler.processFail(AbstractOutputHandler.java:247) at org.netbeans.modules.maven.execute.CommandLineOutputHandler.processExecEvent(CommandLineOutputHandler.java:473) at org.netbeans.modules.maven.execute.CommandLineOutputHandler.access$300(CommandLineOutputHandler.java:95)
Created attachment 149247 [details] stacktrace
Created attachment 149284 [details] stacktrace Running JUnit tests
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=211589
Created attachment 149306 [details] stacktrace Editing and running JUnit tests
Created attachment 149311 [details] stacktrace Changed profiling instrumentation type.
This is caused while tests are run in parallel. Could you please verify that this is the case? I guess that this exception surfaced when a test failed. Is this always reproducible ? Could you attach a sample project that reproduces the issue? Thank you for reporting
Yes, indeed I have a project where tests are executed in parallel: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.16</version> <configuration> <forkCount>3</forkCount> <perCoreThreadCount>1</perCoreThreadCount> <reuseForks>false</reuseForks> <argLine>-Xmx2048m -XX:MaxPermSize=1024m</argLine> </configuration> </plugin> It happens from time to time. I will try to find out how to reproduce, thanks.
*** Bug 247135 has been marked as a duplicate of this bug. ***
Created attachment 149537 [details] stacktrace Debugging an Maven Test. As soon as I pressed stop debugging, the error occured, while the debugger was still on the breakpoint. I had made code changes while the debugger had stopped as well.
Created attachment 149824 [details] stacktrace Tried to run a Groovy test file.
Created attachment 149874 [details] stacktrace Added a new src/test/resources in a dependency module, then reran a unit test with CoS. Got Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 and then this exception.
Created attachment 150368 [details] stacktrace maven based project, "run focused test method"
Created attachment 150748 [details] stacktrace Clicked the stop button in the output window while running test-single on a maven project
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=211589
Created attachment 150788 [details] stacktrace aborted debugger / testcase while standing at breakpoint
Created attachment 150914 [details] stacktrace stopped debugging a unit test
Changeset: 35ae191f7bb9 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2015-01-02 17:04 Message:
Integrated into 'main-silver', will be available in build *201501030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/35ae191f7bb9 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #247155 - IndexOutOfBoundsException: Index: 0, Size: 0