[ 
https://issues.apache.org/jira/browse/DERBY-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483215
 ] 

Manjula Kutty commented on DERBY-2479:
--------------------------------------

Thanks for entering this issue. I will look in to it, when I come back from my 
vacation

> ArrayIndexOutOfBoundsException in system.nstest if 
> derby.nstest.backupRestore=false
> -----------------------------------------------------------------------------------
>
>                 Key: DERBY-2479
>                 URL: https://issues.apache.org/jira/browse/DERBY-2479
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.0.0
>         Environment: derby.nstest.backupRestore=false
>            Reporter: John H. Embretsen
>
> As described in a comment for DERBY-2248, there is a bug in the Network 
> Server system test (org.apache.derbyTesting.system.nstest) which is triggered 
> if the  derby.nstest.backupRestore property is set to false when running the 
> test:
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 71
>             at 
> org.apache.derbyTesting.system.nstest.NsTest.main(NsTest.java:443)
> From https://issues.apache.org/jira/browse/DERBY-2248#action_12474445:
> NsTest.java, line 429->: while (numTestThread < maxTestThreads) { ... 
> It seems that numTestThread will always be equal to maxTestThreads after one
> iteration, except when derby.nstest.backupRestore=false, in which case
> the entire loop will re-run, numTestThread will be incremented far above
> maxTestThreads, and you end up with an ArrayIndexOutOfBoundsException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to