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 42770 - AIOOBE if used xtest.ide.open.project
Summary: AIOOBE if used xtest.ide.open.project
Status: CLOSED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 15:04 UTC by Marian Mirilovic
Modified: 2006-03-24 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-05-04 15:04:36 UTC
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)
Comment 1 Jiri Skrivanek 2004-05-04 15:09:43 UTC
Probably you have a wrong value of xtest.ide.open.project property.
Please, check its value. I should probably add better error message
anyway.
Comment 2 Marian Mirilovic 2004-05-04 15:25:15 UTC
Yes, Jirka is right, I've used wrong value...

better error message will be very usefull, especially in days like this
Comment 3 Jiri Skrivanek 2004-05-05 07:04:11 UTC
Added better error message.
Comment 4 Marian Mirilovic 2004-06-14 14:27:42 UTC
verified