About null

21-30 of 200Refresh
Issue
16

JDO PersistenceManager.getSequence() returns null sometimes

to it. If nothing has yet been persisted, or if the odb file is not newly created, getSequence() returns null. Code ... , it should be testcase.seq if (seq1 == null) System.out.println("getSequence 1 returned null"); // it should never be null pm.currentTransaction().begin(); Thing
Forum
16

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 ... clear   Edit: Sorry. Solved. The code was working, the problem was that i'm savin an empty string "" (not null) elnll002
Forum
16

Missing Data on Retrieval (0, null values)

(); -> resultlist2  Bad - many null and 0 Values. Secound try: List resultList1 = em.createQuery ... the two Resultlists Tested with  Version 2.6.7 and 2.4.5  - same behaviour.       The null and 0 values
Forum
16

NOT NULL not working

.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? Are you using ... this query:  SELECT FROM Unit u where u.lastPosition IS NULL Thanks. Build 2.3.3_01 fixes this bug. mosi0815
Forum
16

Null Exception

An user reported me this exception. I am not sure how to reproduce it, but maybe it can help you to solve it somehow.  Object DB 2.4.4_05, embedded The important part is: null com.objectdb.o ... .freerapid.model.DownloadFile.getState(DownloadFile.java:181) (Some null message when calling getter
Forum
16

null pointer exception in objectdb-2.4.4_06

I have the following stack trace.  Is this a null ptr in our code or in the object db code? Failed to commit transaction:  (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) [Removed ... via cascading) an object with a null primary key. Build 2.4.4_17 may provide a better error message in this case. CalculationServices
Issue
16

Null pointer exception being thrown from within ObjectDB.

: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.VAR.S(VAR.java ... = entityManager.createQuery(q);     List reportDownloadObjects = null;     try
Issue
15

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

: null java.lang.NullPointerException at com.objectdb.jpa.type.IdentifiableTypeImpl.initAttributes
Issue
15

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

,   account.getProjects() is not null and should contain a project   Note:  This scenario was working
Issue
15

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native