About Doctor

issue

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

2014-06-16 11:52:26,684 ERROR cl.intelidata.servlet.Fact .respondeRut (122 ): Unexpected internal exception [ObjectDB 2.5.5] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1.7.0_25 (on Linux 3.11.0-12-generic). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException ... the problem? Check the database file using the Doctor and publish the result. Have you changed the schema recently? ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... uploaded is totally corrupted (as shown by running the Doctor) so using it would generate various exceptions, but these exceptions ...

 
forum_thread

java.lang.NullPointerException when using ORDER BY

We are using ObjectDB 2.5.1_04. The following query causes an internal null pointer exception: SELECT r FROM RecordingMetaData AS r WHERE ((r.mapToCli != '192.168.10.200:9085' AND r.callDirection == 0)) ORDER BY r.startDateTime DESC If we remove the ORDER BY part, the query completes OK and returns the records from the DB, but obviously not in order. Here is the stack trace of the exception: ... Anyway, we tried fixing the indices with the Doctor tool and it did not help. We also deleted the DB file and re-created the ...

 
forum_thread

Saving custom list which implements java.util.List fails

Hi, I'm evaluating ObjectDB for storing Objects modeled with Eclipse Modeling Framework (EMF) and encountered the following problem:   I took the Point-example from the tutorial and added a list-attribute which is declared as java.util.List but the actual Object MyList just extends ArrayList as shown below. ... (from the log), and check the database with the ObjectDB Doctor. But please do that in a separate thread in the issue tracking. ...

 
forum_thread

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: ... to embeddable. Alternatively, probably running the Doctor in repair mode will create a smaller database without the old entities. ...

 
issue

Internal error

SEVERE: Exception [ObjectDB 2.7.1_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 (on Linux 4.13.0-16-generic). 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.InternalException.f(InternalException.java:236) at com.objectdb.o.STA.K(STA.java:348) at com.objectdb.o.ENT.F(ENT.java:546) at com.objectdb.o.ENT.O(ENT.java:694) at com.objectdb.o.LDR.G(LDR.java:613) at com.objectdb.o.LDR.F(LDR.java:473) at ... from this exception - close persistence and run the Doctor?  Ignore it and try again?  The product will be used in an IoT ...

 
issue

InternalException - error reading field from "queue" database

I trying to use an objectdb database as a persitent queue but have started getting the following error on the receiver side: ... to the db. Running the database through Database Doctor reported no errors. When I try to access this database via a ...

 
forum_thread

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application internally runs SELECT NEW ... queries. For example: ... SELECT r FROM ... all work fine.   DB Doctor does not fix the problem. We need guidance on how to debug and ...

 
forum_thread

Removing an entity throws exception

Hi all, I'm testing ObjectDB for my project, but I have troubles with it. At this time I'm not able to remove customer entity, when it's read by a query (it's attached), it throws this exception: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: com.objectdb.o._RollbackException: Failed to commit transaction: 51 ... ... bug, with new empty db it works correctly. The objectdb doctor analysis has not found an error. Clearing the old database from all data ...

 
forum_thread

Exception after update of indices of Entity class

Hello, I changed the index definition of an entity class from @Index()... to @Indices() and now I get the following stacktrace upon start: ... single index to multiple indices. Running the database doctor will then remove all events from their calendars. Best regards ...