About error

issue

NPE in server mode

See stack trace below. Unfortunately I just uncovered this in a log check so I dont have any further information surrounding the circumstances. java.lang.NullPointerException at com.objectdb.o.SHN.ai(SHN.java:470) at com.objectdb.o.SHN.K(SHN.java:146) at com.objectdb.o.HND.run(HND.java:133) at java.lang.Thread.run(Thread.java:595) Full log is attached. NB: This occured in version 2-2-9_07 (as this is what we currently use in prod) so may be resolved in the latest version anyway. ... the server results in this exception. Probably a different error message has to be written to the log.  Thank you for this ...

 
forum_thread

Upgrade to 2.4.1_03

Right, that fix to 2.4.1_02 got us past the previous issue. Now I'm not sure whether this next issue is our annotations, or another issue with objectdb. I have added some more classes to the unit test. They are used by AbstractContactDetail. On line 372 of the attached test, AbstractContactDetail extends AttributeHolder. If I remove the extends, the test passes. If I add it, it fails. I'm not even adding anything to AttributeHolder as part of this test. The exception I get with the extends is: ... using reflection (error 363) at com.objectdb.jpa.EMImpl.merge(EMImpl.java:454) at ...

 
forum_thread

Using date in where clause

I am trying to build a SELECT query as follows. SELECT p FROM Persons p WHERE creationDate="07-25-2013" Here I have created Persons object as java.sql.Date attribute.   But in doing so I am getting following exception Operand type mismatch for operator '=' (error 757) (position 51) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:695)   Can someone provide me that way to build a query with date in where clause. ... Operand type mismatch for operator '=' (error 757) (position 51) at ...

 
forum_thread

exceeds evaluation limit Exception

Hi ,every body i have this exception , and i didn't know what is mean or from "Exception in thread "main" [ObjectDB 2.0.5_02] javax.persistence.PersistenceException Too many persistable types (>10) - exceeds evaluation limit (error 1011) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:357) at DBManager.insertPatient(DBManager.java:29) at Main.main(Main.java:374)" does any body face this exception before Thanks in Advance     ... persistable types (>10) - exceeds evaluation limit (error 1011) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:357) at ...

 
forum_thread

Failed to write to ObjectDB log file

I get an Error message: Failed to create a new file 'file:C:\Programme\Cytoscape_v2.8.3\plugins\log\odb20130502.log my program is a Cytoscape plugin. ... 13:33 I get an Error message: Failed to create a new file ...

 
api-jpa

rollback()

Roll back the current resource transaction.(Method of javax.persistence.EntityTransaction)

 
forum_thread

How to avoid NULL values on Embedded entities

Hi there. I'm new on this. trying to learn. I'm trying to make a value non nulleable. So, when I try to upload to the DB this field as null, it give me an error. I tried this, but it didn't work: ... try to upload to the DB this field as null, it give me an error. I tried this, but it didn't work: public class ...

 
forum_thread

Guestbook example from tutorial does not work.

Hi, I have Problems to initialize objectdb in a jee envoirment. I used the Guestbook from the tutorial and try to deploy on Tomcat but i get this error. Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Creating application failed: /objectdb-2.6.2/tutorials/guestbook-jee6/target/Guestbook: org.apache.openejb.OpenEJBRuntimeException: java.lang.ClassNotFoundException: com.objectdb.jpa.Provider: java.lang.ClassNotFoundException: com.objectdb.jpa.Provider ... the tutorial and try to deploy on Tomcat but i get this error. Caused by: org.apache.tomee.catalina.TomEERuntimeException: ...

 
forum_thread

LEFT JOIN FETCH over empty embedded collection returns no results

First of all, thank you for promptly implementing JOIN FETCH over nested paths in response to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty, but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member of the first collection, the result of the overall query is an empty set. To use the example from my original post: @Embeddable class A { String val; };   #1 2013-05-23 11:06 First of all, thank you for promptly implementing JOIN FETCH over nested paths in response to my inquiry a few mo ...

 
forum_thread

The exception "Attempt to remove a detached entity object" have no information about the entity

Hello, the exception "Attempt to remove a detached entity object" have no information about the detached entity. It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity.   It would be very helpful if you can add a few information to the Exception. Maybe: The class of the Entity and the id (Field annotated with @ID), or just the String representation of the entity. ... Build 2.7.0_02 improves the error message in these exception to include the information as your ...