You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mamta A. Satoor (JIRA)" <ji...@apache.org> on 2007/10/02 08:14:50 UTC
[jira] Commented: (DERBY-2979) Illegal Argument exception while
running the svt, mailjdbc
[ https://issues.apache.org/jira/browse/DERBY-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531696 ]
Mamta A. Satoor commented on DERBY-2979:
----------------------------------------
Manjula, I just have one minor comment. I noticed that except one change, all the other changes in the patch look for <= 0. But one change (towards the end in the patch) looks as follows
if (count == 0)
Should we be checking for <= 0 rather than == 0, ie is it possible for count to have a value less than 0?
> 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.4.0.0
>
> 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.