Re: Problems on Linux: IO Error Pointer out of Range
Tobias Downer <[email protected]>
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
Josh, Mckoi does check if the database exists before it starts, so it is strange that it gets to this point. A more helpful error message should be generated if the database doesn't exist. Would it be possible to still send me some details about your JVM environment? Also, how are you invoking the database? Thanks, Toby. Josh Price wrote: > Thanks for your response. As it turned out your assumption was wrong, I > didn't have a blank/empty db setup on the cruisecontrol box. I fixed > that and now it works fine! > > As "Pointer out of range: 1312 > 0 > 1312" means nothing to me, perhaps > a more meaningful error message / exception would be helpful here? > > Thanks, > Josh > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Tobias > Downer > Sent: 21 January 2005 23:00 > To: [email protected] > Subject: Re: Problems on Linux: IO Error Pointer out of Range > > This is basically an assertion that has failed because an attempt is > being made to access data in an area of the file where it is not > permitted to do so (the file header). In this case, at position 0. > > Could you tell me a little bit about your JVM environment? I know that > a similar error to this was reported about a year ago with early > versions of GCJ under Linux. I assume you have created a blank empty > database before you start the test? If so, would it be possible to send > me the empty database so I can rule out if the problem is when creating > the database. > > Thanks, > Toby. > > > Josh Price wrote: > >>We have some database related unit tests that run fine on Win XP but >>on the Cruisecontrol build on our Fedora Linux box they fail with the >>following error: >> >><snip> >> >>Caused by: java.lang.Error: IO Error: Pointer out of range: 1312 > 0 > >>1312 >> at com.mckoi.database.Database.init(Database.java:1845) >> at >> > > com.mckoi.database.control.DBController.startDatabase(DBController.java: > >>131) >> at >>com.mckoi.database.jdbcserver.DefaultLocalBootable.boot(DefaultLocalBo >>ot >>able.java:135) >> at > > com.mckoi.database.jdbc.MDriver.connectToLocal(MDriver.java:448) > >> at com.mckoi.database.jdbc.MDriver.connect(MDriver.java:484) >> >></snip> >> >>Any ideas what might be causing this? I checked that the build >>process has write permissions but couldn't think of anything else that > > >>might cause this. >> >>Cheers, >>Josh --------------------------------------------------------------- Mckoi SQL Database mailing list http://www.mckoi.com/database/ To unsubscribe, send a message to [email protected]