150 words

Why the internal error was thrown?

#1
2016-07-08 09:28
com.objectdb.o.InternalException
at com.objectdb.o.CCH.H(CCH.java:298)
at com.objectdb.o.CCH.E(CCH.java:155)
at com.objectdb.o.QRM.Vo(QRM.java:226)
at com.objectdb.o.MST.Vo(MST.java:988)
at com.objectdb.o.WRA.Vo(WRA.java:311)
at com.objectdb.o.WSM.Vo(WSM.java:115)
at com.objectdb.o.QRR.g(QRR.java:247)
at com.objectdb.o.QRR.f(QRR.java:153)
at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719)
btc_es
btc_es's picture
Joined on 2014-10-20
User Post #132
#2
2016-07-10 14:44

The stack trace indicates an unexpected state of the query result cache, but unfortunately it is unclear how this happened.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #2,536
#3
2016-07-13 06:46

We get this exception sporadic in our TestSuite.

We observed this problem on a 32BIT OS.  The same compiled export with enhanced Entites works on our other test machines (64BIT OS).

 

Maybe help more information to isolate the issue:

[ObjectDB 2.6.8_01] Unexpected exception (Error 990)
Generated by Java HotSpot(TM) Client VM 1.8.0_51 (on Windows 7 6.1).
Please report this error on http://www.objectdb.com/database/issue/new
com.objectdb.o.InternalException: null
com.objectdb.o.InternalException
at com.objectdb.o.CCH.H(CCH.java:298)
at com.objectdb.o.CCH.E(CCH.java:155)
at com.objectdb.o.QRM.Vo(QRM.java:264)
at com.objectdb.o.MST.Vo(MST.java:988)
at com.objectdb.o.WRA.Vo(WRA.java:311)
at com.objectdb.o.WSM.Vo(WSM.java:115)
at com.objectdb.o.QRR.g(QRR.java:247)
at com.objectdb.o.QRR.f(QRR.java:153)
at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719)
at com.btc.ep.base.dal.internal.services.PersistenceUtilityServiceImpl.getModelElementsByQuery(PersistenceUtilityServiceImpl.java:167)
at com.btc.ep.architecture.dal.impl.ArchitectureRepositoryImpl.findPool(ArchitectureRepositoryImpl.java:699)

The query in findPool:

Collection<PoolImpl> list = persistenceUtilityService
            .getModelElementsByQuery("select distinct m from " + PoolImpl.class.getName() + " m", PoolImpl.class);

The query execution in getModelElementsByQuery:

public <T> List<T> getModelElementsByQuery(String query, Class<T> clazz) {
    EntityManager em = getEntityManager();
    TypedQuery<T> q = em.createQuery(query, clazz);
    q.setHint("objectdb.result-fetch", "LAZY");
    return q.getResultList();
}
btc_es
btc_es's picture
Joined on 2014-10-20
User Post #133
#4
2016-07-19 15:17

Please try build 2.6.8_05 that may fix this exception.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #2,543

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Attachments:
Maximum file size: 32 MB
Cancel