LuisEduardoER / mdb-sqlite

Automatically exported from code.google.com/p/mdb-sqlite
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

unsupported (older) version #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, since I could not find a mailinglist, I am going to post this here.

When I try to convert a mdb that even mdbtools dosn't oepn (without error 
anyways), I get an:

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.simontuffs.onejar.Boot.run(Boot.java:306)
        at com.simontuffs.onejar.Boot.main(Boot.java:159)
Caused by: java.io.IOException: Unsupported version: 0
        at com.healthmarketscience.jackcess.JetFormat.getFormat(JetFormat.java:143)
        at com.healthmarketscience.jackcess.Database.<init>(Database.java:347)
        at com.healthmarketscience.jackcess.Database.open(Database.java:294)
        at com.healthmarketscience.jackcess.Database.open(Database.java:270)
        at com.plausiblelabs.mdb.Main.main(Unknown Source)
        ... 6 more

Thfunny thing is that trying to test agains the latest jackaccess I get a 
slighlty different error, which tells me that the format is too old:

Exception in thread "main" java.io.IOException: Unsupported older version: 0

So that is where I am now. Mdbtools even if not opening the file, tells me it 
is a access 97 file (jet version). The file is way to large to attach it. 

Is there anything I could do in that case?

Thanks

Original issue reported on code.google.com by andrea.a...@gmail.com on 29 Jun 2010 at 8:27

GoogleCodeExporter commented 8 years ago
I have had the same issue.  I have a file that claims to be in Access 95 
format.  Mdb-sqlite threw this error so I tried using Access to convert it to 
2007 format, which just turned the "0" to a "2" after "Unsupported version:"  
Does anyone have further information on this situation?  BTW, Access complained 
"The Microsoft Access database engine cannot find the input table or query 
'MSysAccessObjects'.  Make sure it exists and that its name is spelled 
correctly" at the end of the conversion process.  I have no idea what this 
means or whether it has any bearing on the Java error, but the new file was 
created nevertheless.  I repeated this process for two separate files and got 
identical behavior, although the original files were likely produced under 
similar conditions.

Original comment by nbest...@gmail.com on 25 Jan 2011 at 5:37

GoogleCodeExporter commented 8 years ago
I have the same issue.
Can I give you any dump that could help you in figuring out which is the 
problem?
Regards,

Original comment by nicopace on 21 Feb 2011 at 11:22

GoogleCodeExporter commented 8 years ago
I am having same issue.I tried using Access to convert it to 2007 format, which 
just turned the "0" to a "2" after "Unsupported version:"
Does any one has resolved it?

Original comment by sandip.i...@gmail.com on 3 Feb 2012 at 1:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I had the same error but it works now. I've updated the following .jar's:

jackcess-1.1.14 ---> jackcess-1.2.8
commons-lang-2.4 ---> commons-lang3-3.1
jarjar-1.0rc7 ---> jarjar-1.4

I updated my build.xml accordingly, cleaned the dist folder an rebuild the 
project. Et voila. :)

Original comment by a6176...@nepwk.com on 25 Aug 2012 at 2:30

Attachments:

GoogleCodeExporter commented 8 years ago
Ah, I nearly forgot it, I also changed the AccessExporter 
(Index.ColumnDescriptor ---> IndexData.ColumnDescriptor)

Original comment by a6176...@nepwk.com on 25 Aug 2012 at 2:34

Attachments:

rezini commented 6 years ago

steel not working :/