db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (DERBY-2979) Illegal Argument exception while running the svt, mailjdbc
Date Mon, 30 Mar 2009 18:55:50 GMT

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

Myrna van Lunteren reopened DERBY-2979:
---------------------------------------


I have seen this error even after the fix - in the test output to the console. For instance:
with derby 10.5.1.0 (757599):
java.lang.IllegalArgumentException
	at java.util.Random.nextInt(Unknown Source)
	at org.apache.derbyTesting.system.mailjdbc.utils.DbTasks.moveToFolders(DbTasks.java:359)
	at org.apache.derbyTesting.system.mailjdbc.tasks.Browse.moveToFolders(Browse.java:82)
	at org.apache.derbyTesting.system.mailjdbc.tasks.Browse.run(Browse.java:50)

(after: java.lang.IllegalArgumentException
	at java.util.Random.nextInt(Unknown Source)
	at org.apache.derbyTesting.system.mailjdbc.utils.DbTasks.moveToFolders(DbTasks.java:359)
	at org.apache.derbyTesting.system.mailjdbc.tasks.Browse.moveToFolders(Browse.java:82)
	at org.apache.derbyTesting.system.mailjdbc.tasks.Browse.run(Browse.java:50))

> Illegal Argument exception while running the svt, mailjdbc
> ----------------------------------------------------------
>
>                 Key: DERBY-2979
>                 URL: https://issues.apache.org/jira/browse/DERBY-2979
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.1.4
>            Reporter: Manjula Kutty
>            Assignee: Manjula Kutty
>            Priority: Minor
>             Fix For: 10.3.2.1, 10.4.1.3
>
>         Attachments: DERBY-2979_diff, DERBY-2979_stat
>
>
> java.lang.IllegalArgumentException: n must be positive
>         at java.util.Random.nextInt(Random.java:262)
>         at org.apache.derbyTesting.system.mailjdbc.utils.DbTasks.readMail(DbTask
> s.java:196)
>         at org.apache.derbyTesting.system.mailjdbc.tasks.Browse.readInbox(Browse
> .java:73)
>         at org.apache.derbyTesting.system.mailjdbc.tasks.Browse.run(Browse.java:
> 48)
> num: 6

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


Mime
View raw message