About Doctor

issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... configuration on Sunday night.  I re-ran the database doctor on Monday evening PDT (circa 9/10 @02:40 UTC).   After ... Corruption of the database that cannot be fixed by the Doctor (due to the  OutOfMemoryError , the upgrade, or any other ...

 
release

2.1.0

... Fixed a bug in fixing broken references in ObjectDB Doctor. Fixed a bug in modifying enhanced  detached ... NULL queries. Fixed a bug in ObjectDB Doctor. Major:  ...

 
issue

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence.NoResultException nre) { } finally {      em.close(); } I get the following error (you can also see the log message containing the String parameter at the top): ... for quite some time, I've also tried to run the DB doctor with the following result: heintz @ heintzmbp ... > java -cp objectdb.jar com.objectdb.Doctor ../db/my_database_file.odb ObjectDB Doctor [ version 2.5.6_02 ] Copyright ( c ) 2014, ...

 
issue

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList() opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file: ------------------------------------------------------------------------------------------------------------------------ [2016-07-13 19:58:12 #1 store] Database '/home/gsi/wdsync/db/Media_wdsync.odb' is opened by 12659@server ... check the database file for errors using the ObjectDB Doctor? Is this error consistent? i.e. do you get the same exception ... verified it in more detail. I'll then try "ObjectDB Doctor" first. You may close this issue for now. Thanks ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... Could you check the database with the ObjectDB Doctor? ObjectDB Support ObjectDB - Fast Object ... In addition to checking the database file with ObjectDB Doctor, could you please check these queries outside of your application (e.g. ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... is really wrong with new build. First, every time I run Doctor or server, ODB is creating directory with some Windows path name: ... Database is repaired with Doctor, now errors have been found. ... works fine with latest build. However message from doctor: Global Value Errors ------------------- [ 1 ] ...

 
forum_thread

Left join fetch behaviour doesn't retrieve children?

Hello support, I'm a little bit confused about a left join fetch behaviour. In this test case, i try to fetch my 3 children using a left join fetch. But my collection is null after closing the em. It was expected to be fetched before closing the em, no ? In fact, that is the objective of the fetch purpose (i guess ?). ... is broken ? 3- If previous anwser if "test with doctor", have you an other manner to check without doctor ( work bad with my database ) ? 4- Will you plan to invest more ...

 
issue

com.objectdb.o.InternalException: null

After an error in a @PrePersist method in an Entity class, the database stopped working. Fortunately this was in development, but still worrying! The Entity class ... mode? Could you please check the database file with the Doctor and post the result report? ObjectDB Support ... receive the same error in embedded mode. The result of the Doctor check is: %> java -cp bin/objectdb.jar ...

 
issue

InternalException

  ... reason is unknown. You should check your database with the Doctor to verify that the database file is fine. If you could post a ... I stopped the DB and ran the Doctor over it and it found no errors, however, when I started the DB back up ...

 
release

2.2.4

... on null value). Improved ObjectDB Doctor to handle additional issues. Improved query execution ... Fixed a bug in fixing broken references in ObjectDB Doctor. Fixed a bug in modifying enhanced  detached ...