Giter Club home page Giter Club logo

Comments (7)

tzaeschke avatar tzaeschke commented on July 18, 2024

Scheduled for 0.5.2 / 0.6.0

from zoodb.

dominik-kopczynski avatar dominik-kopczynski commented on July 18, 2024

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.

dominik-kopczynski avatar dominik-kopczynski commented on July 18, 2024

Ahh, it was fixed from version 0.5.1 to 0.5.2, isn't it? We still use 0.5.1.

from zoodb.

tzaeschke avatar tzaeschke commented on July 18, 2024

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.

dominik-kopczynski avatar dominik-kopczynski commented on July 18, 2024

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.

tzaeschke avatar tzaeschke commented on July 18, 2024

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.

tzaeschke avatar tzaeschke commented on July 18, 2024

I created a new issue #122 to cover this problem.

from zoodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.