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.
sources checked out 04.05.2004 I am running performance startup tests (not yet in the cvs), I am using xtest.ide.open.project property and AIOOBE rises after IDE is up ..... java.lang.ArrayIndexOutOfBoundsException: 0 [catch] at org.netbeans.xtest.plugin.ide.MainWithProjects.openProject(MainWithProjects.java:54) at org.netbeans.xtest.plugin.ide.MainWithProjects.openProject(MainWithProjects.java:37) at org.netbeans.xtest.plugin.ide.Main$2.run(Main.java:311) at java.lang.Thread.run(Thread.java:534) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1064) at org.openide.filesystems.Repository.findResource(Repository.java:414) at startup.MeasureIDEStartupTimeOpenedFilesPrepare.getFS(MeasureIDEStartupTimeOpenedFilesPrepare.java:163) at startup.MeasureIDEStartupTimeOpenedFilesPrepare.getSystemPath(MeasureIDEStartupTimeOpenedFilesPrepare.java:192) at startup.MeasureIDEStartupTimeOpenedFilesPrepare.open10JavaFiles(MeasureIDEStartupTimeOpenedFilesPrepare.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:112) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:119) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:173) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:129) at org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:187) at org.netbeans.xtest.plugin.ide.Main$2.run(Main.java:320) at java.lang.Thread.run(Thread.java:534)
Probably you have a wrong value of xtest.ide.open.project property. Please, check its value. I should probably add better error message anyway.
Yes, Jirka is right, I've used wrong value... better error message will be very usefull, especially in days like this
Added better error message.
verified