Hello,

we are currently using H2 on Android for accessing from multiple processes. 
In order to allow backups and recovery of the database in case of 
corruption we wrote a simple app to use the recovery-tool to backup the 
database.

Currently we have a database with a size of only 1.9MB, but can not dump 
the database using the recovery-tool.
We can although dump the database with empty tables.

The problem is this exception:

java.lang.IllegalStateException: Unsupported type 17 [1.4.191/3]
                                                                            
       at 
org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773)
                                                                            
       at 
org.h2.mvstore.type.ObjectDataType.newType(ObjectDataType.java:166)
                                                                            
       at org.h2.mvstore.type.ObjectDataType.read(ObjectDataType.java:230)
                                                                            
       at 
org.h2.mvstore.db.TransactionStore$ArrayType.read(TransactionStore.java:1782)
                                                                            
       at 
org.h2.mvstore.db.TransactionStore$ArrayType.read(TransactionStore.java:1749)
                                                                            
       at org.h2.mvstore.Page.read(Page.java:711)
                                                                            
       at org.h2.mvstore.Page.read(Page.java:195)
                                                                            
       at org.h2.mvstore.MVStore.readPage(MVStore.java:1939)
                                                                            
       at org.h2.mvstore.MVMap.readPage(MVMap.java:736)
                                                                            
       at org.h2.mvstore.MVMap.setRootPos(MVMap.java:746)
                                                                            
       at org.h2.mvstore.MVStore.openMap(MVStore.java:471)
                                                                            
       at 
org.h2.mvstore.db.TransactionStore.<init>(TransactionStore.java:99)
                                                                            
       at 
org.h2.mvstore.db.TransactionStore.<init>(TransactionStore.java:78)
                                                                            
       at org.h2.tools.Recover.dumpMVStoreFile(Recover.java:607)
                                                                            
       at org.h2.tools.Recover.process(Recover.java:345)
                                                                            
       at org.h2.tools.Recover.execute(Recover.java:320)


H2 version: 1.4.191
Connection-type: Mixed mode
JDBC-Connection-String: "
*jdbc:h2:/storage/emulated/0/mobidat/database.h2;PAGE_SIZE=1024;CACHE_SIZE=8192;AUTO_SERVER=TRUE"*

Please tell me which further infos you need.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to