db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Kutty (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2479) ArrayIndexOutOfBoundsException in system.nstest if derby.nstest.backupRestore=false
Date Thu, 22 Mar 2007 16:45:32 GMT

    [ 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:
>         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.

View raw message