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] Updated: (DERBY-2479) ArrayIndexOutOfBoundsException in system.nstest if derby.nstest.backupRestore=false
Date Thu, 22 Mar 2007 17:49:32 GMT

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

Manjula Kutty updated DERBY-2479:

    Assignee:     (was: Manjula Kutty)

I'm unassigning my self, since there is no point in assigning my self and  go for a 4 weeks
vacation.  if the bug is not fixed when I come back, then I may look in to it.

> 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