Comments (7)
Scheduled for 0.5.2 / 0.6.0
from zoodb.
Hi there, we are running exactly into this problem. So is there any solution, because here I can't see anyone? Or are we supposed to wait until version 0.6? If we have so, what is the expected release time?
from zoodb.
Ahh, it was fixed from version 0.5.1 to 0.5.2, isn't it? We still use 0.5.1.
from zoodb.
Yes, this particular issue was fixed in 0.5.2. If you are removing indexes, this may very well be fixed by using 0.5.2. Let me know if it does not.
Btw, I am currently preparing a 0.6.0, it will mainly fix issues with multiple concurrent PersistentManagers: #114 and #103 .
from zoodb.
Sorry, but unfortunately we have to reopen the issue again. After recompiling our tool with ZooDB 0.5.2 we still get the "Page type mismatch" error. How can we proceed, should I provide you the corrupted database file?
The exception stack trace is:
javax.jdo.JDOFatalInternalException: Page type mismatch, expected 4/OID_INDEX (tx=0) but got 0 (tx=0). PageId=718102
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.zoodb.internal.util.ReflTools.newInstance(ReflTools.java:211)
at org.zoodb.internal.util.DBLogger.newEx(DBLogger.java:108)
at org.zoodb.internal.util.DBLogger.newEx(DBLogger.java:99)
at org.zoodb.internal.util.DBLogger.newFatalInternal(DBLogger.java:162)
at org.zoodb.internal.util.DBLogger.newFatalInternal(DBLogger.java:158)
at org.zoodb.internal.server.StorageReader.readHeader(StorageReader.java:334)
at org.zoodb.internal.server.StorageReader.seekPage(StorageReader.java:104)
at org.zoodb.internal.server.StorageReader.seekPageForRead(StorageReader.java:80)
at org.zoodb.internal.server.index.AbstractPagedIndex.readPage(AbstractPagedIndex.java:173)
at org.zoodb.internal.server.index.AbstractPagedIndex.readRoot(AbstractPagedIndex.java:160)
at org.zoodb.internal.server.index.PagedUniqueLongLong.(PagedUniqueLongLong.java:57)
at org.zoodb.internal.server.index.PagedUniqueLongLong.(PagedUniqueLongLong.java:52)
at org.zoodb.internal.server.index.IndexFactory.loadUniqueIndex(IndexFactory.java:105)
at org.zoodb.internal.server.index.PagedOidIndex.(PagedOidIndex.java:190)
at org.zoodb.internal.server.SessionManager.(SessionManager.java:148)
at org.zoodb.internal.server.SessionFactory.getSession(SessionFactory.java:88)
at org.zoodb.internal.model1p.Node1P.connect(Node1P.java:74)
at org.zoodb.internal.Session.(Session.java:112)
at org.zoodb.jdo.impl.PersistenceManagerImpl.(PersistenceManagerImpl.java:101)
at org.zoodb.jdo.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:97)
at org.zoodb.jdo.ZooJdoHelper.openDB(ZooJdoHelper.java:54)
at org.zoodb.jdo.ZooJdoHelper.openOrCreateDB(ZooJdoHelper.java:81)
from zoodb.
Yes, the database file may be helpful.
However, it would be easiest if I had a program that reproduces the problem, or does it only happen with this database file?
Could you also describe how the database got into this state, e.g. were any special operations executed, concurrent sessions, ... .
Is this still compomics-utilities? Which branch?
from zoodb.
I created a new issue #122 to cover this problem.
from zoodb.
Related Issues (20)
- PersistenceManagerFactory getPersistenceManager() hangs up in case there is active transaction. HOT 5
- verboseToLog in DBLogger.java HOT 2
- Improve collection storage
- DB file format changes
- Removing index does sometimes not work HOT 1
- (De-)Serializing an PC object should make it DETACHED
- Detached object should not get a new OID when reattached
- java.lang.RuntimeException: Class has not been fully evolved HOT 8
- Concurrent sessions may lead DB using wrong 'head' on start-up
- Implement tool to display database file format version
- Performance decrease wrongly HOT 5
- Improve byte array/buffer handling when reading from storage
- Page type mismatch, expected 4/OID_INDEX (tx=0) but got 0, PageId=718102 HOT 7
- Concurrent use of the same Query instance is not always threadsafe
- IllegalArgumentException: Can not set final [..].HashMap field [..].IdentificationKeys.proteinMap to java.lang.Long HOT 24
- Query on auto-created (and uncommitted) schema causes exception
- Investigate Java 18 (and 9) security implications
- Check whether Java 17 removal of RMI Activation (JEP 407) affects unit tests.
- multithreaded commit() may hang after updating schema HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoodb.