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.

Bug 268111 - ArrayIndexOutOfBoundsException: 0
Summary: ArrayIndexOutOfBoundsException: 0
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-20 10:01 UTC by Maksim Khramov
Modified: 2016-09-20 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222611


Attachments
stacktrace (8.92 KB, text/plain)
2016-09-20 10:01 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2016-09-20 10:01:13 UTC
Build: NetBeans IDE Dev (Build 201609090002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b01, Java(TM) SE Runtime Environment, 1.8.0_121-ea-langtools-nightly-h9813-20160815-b01
OS: Windows 7

User Comments:
mkhramov: I open java project (with existed files type)  with missing source and test folder

GUEST: Adding jar to ant project

GUEST: I don't know what happened




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 0
   at org.netbeans.modules.junit.ant.ui.JUnitProjectOpenedHook$UpdateToJUnit4Action.actionPerformed(JUnitProjectOpenedHook.java:302)
   at org.netbeans.modules.junit.ant.ui.JUnitProjectOpenedHook$JUnitProblemResolver.resolve(JUnitProjectOpenedHook.java:238)
   at org.netbeans.spi.project.ui.ProjectProblemsProvider$ProjectProblem.resolve(ProjectProblemsProvider.java:284)
   at org.netbeans.modules.project.ui.problems.BrokenReferencesCustomizer.fixActionImpl(BrokenReferencesCustomizer.java:209)
   at org.netbeans.modules.project.ui.problems.BrokenReferencesCustomizer.fixActionPerformed(BrokenReferencesCustomizer.java:197)
   at org.netbeans.modules.project.ui.problems.BrokenReferencesCustomizer.access$500(BrokenReferencesCustomizer.java:73)
Comment 1 Maksim Khramov 2016-09-20 10:01:15 UTC
Created attachment 162124 [details]
stacktrace