About error

forum_thread

Distinct Error

Hi, I'm getting a NullPointerException thrown on using DISTINCT. The query works fine if I don't have distinct. However thats NOT a solution as the code generating the query is used for other queries, and some of them do need the distinct. Its only a simple query: QUERY: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.attributeList $2 WHERE ($2.name='firstname') AND ($2.valueAsString='Alex') ... up using the CriteriaBuilder. 11:30:49.764 [main] ERROR c.c.handlers.SearchRequestHandler - Exception thrown during search ...

 
forum_thread

Error 613 - i cant put a list<Athlete> into a Squad object

hey guys Im a swiss student and my english is not that good and ive never posted in your forum, so thats why im sorry if im doing any mistakes, but i have big trouble, because ive to get this straight till end of week. i uploaded also all classes but if u see the problem in the main problem field the classes are copied after the problem description. the structure: ... reference to a non managed 'test.Athlet' instance (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:259) at ...

 
forum_thread

Replication Error

Hello! I try to get a replication setup working on two test servers. So i copied my test database to one of them, enabled recording and started odb. The dbname.odr folder got created so i think everything is ok. Afterwards i added the replication tag to the configuration of the second server and started it. The second server starts complaining instantly with the following Exception: ... I already tried to fix the db with the doctor. No error is found. I use the latest version of ObjectDB. (2.3.6_16) ...

 
forum_thread

Internal objectdb error when execute a flush

We get an internal objectdb error, when we execute a flush. Why? What's wrong? It performs with version objectdb-2.6.4_04. It does not perform with version objectdb-2.6.6_04.   ... We get an internal objectdb error, when we execute a flush. Why? What's wrong? It ...

 
forum_thread

Invalid file type for enhancement (error 104)

Trying to run enhancement, I get:    ... (error 104) com.objectdb.o.UserException: Invalid file type for enhancement: ...

 
forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... found no problems.   We observe the error if we try to open the Tree or Table Window for ...

 
forum_thread

NontransactionalWrite error using Collections.sort .

Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object.  Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: br.ufpa.linc.MetriX.api.model.Interface#105 (error 635)   I don't want to modifi de object in DB, just sort it to show at the moment. someone can help me ?   thanks David Bentolila   ... is disabled: br.ufpa.linc.MetriX.api.model.Interface#105 (error 635)   I don't want to modifi de object in DB, just ...

 
forum_thread

Error in reading Enum in JPA - Failed to read using reflection

I have created a very simple Entity User which has an enum Status (INACTIVE, ACTIVE). When an entity User is created, everything looks OK and I have seen on explorer that User is created as expected with valid values of Status. This is all done with JPA/EJBs. However, at the time of reading the Object (findById), the system throws an error  com.objectdb.o.UserException: Failed to read the value of field com.xxx.User.status using reflection caused by.. ... of reading the Object (findById), the system throws an error  com.objectdb.o.UserException: Failed to read the value of ...

 
forum_thread

Failed to write the value of field using reflection (error 363) on LAZY fetch

Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member (e.g. a Modell has several Artikels) . When I remove the LAZY hint on the query execution it works. Any hints why this can happen? The Mapping of class Modell and its member: ... ch.megloff.zeus.model.Modell.articles using reflection (error 363) at ch.megloff.zeus.importer.ZeusImport.run(ZeusImport.java:94) at ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... reported "Failed to synchronize replicated database" error message. ObjectDB Support ObjectDB - Fast ...