ObjectDB Database Search

51-100 of 200 results

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 ... ) cz.vity.freerapid.model.DownloadFile.getState(DownloadFile.java:181) (Some null message

query null or by zero error

we have the critical problem that we receive a null or by zero (in the log a java.lang.ArithmeticException) error for this query: select o from ObjectNode o where o.currentLocation.nodePath = "/(MG)TOOLPOOL-DMC-125U4/(MP)IN" and o.classIdentifier = '(TP)' database can be download from

ManyToMany Set is null

Why can the field "contracts" be " null "? ---------- @Entity @Inheritance(strategy = InheritanceType. TABLE_PER_CLASS ) public class Person implements Serializable,Subject {     @Id @GeneratedValue     private long id;     @ManyToMany(fetch = FetchType. EAGER , cascade

Bad Backups – Null Error when issuing simple query on backup via ObjectDB Explorer

.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.n(BYR.java:114

removed objects stay with null field values in the reference

to null except the primary key. The same behavior is when we  delete with a query use entityManager

List always null

is null always. What can it be? I leave a snapshot in which it can be see clearly: http://i1134

PostUpdate collection null

Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on MyEntity with a @PostUpdate method. When I try to access myCollection from the PostUpdate method, this collection is null . If I try to access the collection from the PreUpdate method

multi thread application, id field sporadically null

We are testing objectDB with a multi thread application. Each thread has it's own entityManager created from a common factory. In one thread we receive sometimes an object from the database with the field that is declared as @Id having the value null (what is not correct, we checked

Objectdb ignores not null annotations

Objectdb ignores not null annotations

NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because "" is null

: Cannot invoke "com.objectdb.o.RFV.S()" because " " is null java.lang.NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because " " is null at com.objectdb.o.PLN.ZG(PLN.java:564) at com.objectdb.o

InternalException: null

/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb

Deleting a broken reference that was fixed to null in the Explorer

Using version 2.7.4_01, we did a repair. After repair a former link to a missing reference was converted to null . This cannot be deleted using explorer   hgzwicker Hans-Georg Zwicker Thank you for this report. Build 2.7.4_02 fixes the issue. support Support

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

());   Expected Result,   account.getProjects() is not null and should contain a project  

[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

Update query null error

%" and objectsInCharge.nodePath like "%MARAS%" both result in: Query Execution Error ===================== null Query

javax.jdo.JDONullIdentityException: The identity must not be null.

must not be null .         at javax.jdo.identity.SingleFieldIdentity

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

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

stress test -> com.objectdb.o.InternalException: null

/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o

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

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

Internal Exception: null

The query SELECT COUNT(t) FROM TrackerUser t WHERE NOT t.username = :username with :username - "admin" leads to the following exception: com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException.java:236) at com.objectdb.o.WSP.h

javax.persistence.criteria.CriteriaBuilder

 x, Expression  y) Create an expression that returns null if all its arguments evaluate to null , and the value of the first non- null argument otherwise. Parameters: x - expression y ...  y) Create an expression that returns null if all its arguments evaluate to null , and the value

javax.persistence.EntityManager

. If there is no entity graph with the specified name, null is returned. Parameters: graphName - name ... there. Parameters: entityClass - entity class primaryKey - primary key Return: the found entity instance or null ... is null Since: JPA 1.0 T find (Class  entityClass, Object primaryKey,  LockModeType

javax.persistence.criteria.CriteriaBuilder$Coalesce

null if all its arguments evaluate to null , and the value of its first non- null argument ... to test whether the expression is not null . Return: predicate testing whether the expression is not null ... whether the expression is null . Return: predicate testing whether the expression is null Inherited from

javax.persistence.criteria.ParameterExpression

String getName () Return the parameter name, or null if the parameter is not a named parameter or ... the parameter position, or null if the parameter is not a positional parameter. Return: position of parameter ... 2.0 Predicate isNotNull () Create a predicate to test whether the expression is not null . Return

javax.persistence.criteria.Subquery

) over the grouping items, or null if no restrictions have been specified. Return: having clause predicate ... Predicate isNotNull () Create a predicate to test whether the expression is not null . Return: predicate testing whether the expression is not null Inherited from: Expression Since: JPA 2.0 Predicate isNull

javax.persistence.criteria.Expression

whether the expression is not null . Return: predicate testing whether the expression is not null Since: JPA 2.0 Predicate isNull () Create a predicate to test whether the expression is null . Return: predicate testing whether the expression is null Since: JPA 2.0

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

.entity.Project [ null ](TEST: project 1) INFO: RequestBean []: Persisted: com.greensoft.entity.Project [1](TEST: project 1) INFO: RequestBean []: Created: com.greensoft.entity.Source [ null ](TEST: source ... []: Created: com.greensoft.entity.Project [ null ](TEST: project 2) INFO: RequestBean []: Persisted: com

CriteriaBuilder.nullLiteral(resultClass) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression nullLiteral (   Class  resultClass ) Create an expression for a null literal with the given type. Parameters: resultClass - type of the null literal Return: null expression literal Since: JPA 2.0

javax.persistence.StoredProcedureQuery

Since: JPA 2.0 LockModeType getLockMode () Get the current lock mode for the query. Returns null ... : a list of the results or null is the next item is not a result set Throws: QueryTimeoutException ... the REF_CURSOR parameter was registered with the query. Return: the result or null if the next item

javax.persistence.criteria.AbstractQuery

(s) over the grouping items, or null if no restrictions have been specified. Return: having clause ... to the where clause restriction(s), or null if no restrictions have been specified. Return: where clause ... , or null if no selection has been set. Return: selection item Since: JPA 2.0 AbstractQuery groupBy

CriteriaBuilder.coalesce(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression coalesce (   Expression  x,    Y y ) Create an expression that returns null if all its arguments evaluate to null , and the value of the first non- null argument otherwise. Parameters: x

CriteriaBuilder.coalesce(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression coalesce (   Expression  x,    Expression  y ) Create an expression that returns null if all its arguments evaluate to null , and the value of the first non- null argument otherwise. Parameters: x

javax.persistence.criteria.CriteriaQuery

getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items, or null ... Since: JPA 2.0 Selection getSelection () Return the selection of the query, or null if no selection

SingularAttribute.isOptional() - JPA Method

JPA Method in javax.persistence.metamodel.SingularAttribute boolean isOptional () Can the attribute be null . Return: boolean indicating whether the attribute can be null Since: JPA 2.0

javax.persistence.NamedStoredProcedureQuery

vendor-specific query hints.) Since: JPA 2.1 String name default null The name used to refer ... of the stored procedure. Since: JPA 2.1 String procedureName default null The name of the stored procedure

javax.jdo.spi.JDOImplHelper

for this class, or null if there isn't one. Since: JDO 1.0 Collection getRegisteredClasses () Returns ... - the StateManager which will own the new instance. Return: the new instance, or null if the class is not ... is null , no key values are copied. The new instance has its jdoFlags set to LOAD_REQUIRED . Parameters

javax.jdo.spi.StateInterrogation

StateInterrogation returns Boolean. If the return value is null then the StateInterrogation does not recognize the parameter as being handled by it. A non- null return value indicates that the implementation ... StateInterrogation is given the parameter until one of them returns a non- null value, which is passed

javax.jdo.spi.PersistenceCapable

instances return null . The ObjectId may be serialized and later restored, and used with a PersistenceManager ... instances return null . This method always delegates to the StateManager if it is non- null . Return ... for datastore identity, or if the class is abstract, null is returned. For classes using single field

javax.jdo.Query

parameter is null , the variable is unset, effectively making the variable named in the variableDeclaration unbound. If the trimmed value is the empty String, or the parameter is null , then JDOUserException ... the parameter is null , then the candidate collection is the extent of the candidate class. The String

javax.jdo.JDOHelper

of classes that do not implement PersistenceCapable return null . The ObjectId may be serialized and later ... and instances of classes that do not implement PersistenceCapable return null . Parameters: pc ... to the getPersistenceManagerFactory method that takes a Map of overrides and a Map of properties, passing null as

javax.jdo.PersistenceManagerFactory

be configured. If the ConnectionFactory property is set (non- null ) then all other Connection properties including ConnectionFactoryName are ignored; otherwise, if ConnectionFactoryName is set (non- null ... is set (non- null ) then ConnectionFactory2Name is ignored. Operational state ( PersistenceManager

JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader,pmfLoader) - JDO Static Method

.EntityManagerFactory cast to a PersistenceManagerFactory . If the name given is null or consists ... the PMF properties, the name of the PMF, or the persistence unit name, in that order; if name is null ... PersistenceManagerFactory} . resourceLoader - the class loader to use to load properties file resources; must be non- null

javax.jdo.annotations.NullValue

JDO Enum NullValue java.lang.Object ∟  java.lang.Enum ∟  javax.jdo.annotations.NullValue Enumeration of the " null -value" behavior values. This corresponds to the " null -value" attribute ... - if this enum type has no constant with the specified name NullPointerException - if the argument is null Method

javax.jdo.annotations.Persistent

"" Null indicator column for this member. Used for nested embedded fields or properties to indicate whether the embedded instance should have a null value. Since: JDO 2.1 NullValue nullValue default NullValue.NONE Behavior when this member contains a null value. Since: JDO 2.1 PersistenceModifier

Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method

variable. If the subquery parameter is null , the variable is unset, effectively making the variable named ... is null , then JDOUserException is thrown. The candidateCollectionExpression is the expression from ... is the empty String, or the parameter is null , then the candidate collection is the extent

javax.jdo.annotations.Extension

"extension". Since: JDO 2.1 Public Annotation Attributes String key default null The key for the extension (required). Since: JDO 2.1 String value default null The value for the extension (required). Since: JDO 2.1 String vendorName default null Vendor that the extension applies to (required). Since: JDO 2.1

PersistenceCapable.jdoReplaceStateManager(sm) - JDO Method

, if the instance is not already owned by a StateManager. If the parameter is null ... is not null , and the security manager approves the change, then the jdoFlags field will be reset to LOAD_REQUIRED. Parameters: sm - The StateManager which will own this instance, or null to reset

javax.jdo.annotations.Embedded

"" The column in the embedded object used to judge if the embedded object is null . Since: JDO 2.1 String nullIndicatorValue default "" The value in the null column to interpret the object as being null

PersistenceCapable.jdoGetPersistenceManager() - JDO Method

the associated PersistenceManager. Transient non-transactional instances return null . This method always delegates to the StateManager if it is non- null . Return: the PersistenceManager associated with this instance. Since: JDO 1.0

JDOPermission.JDOPermission(name,actions) - JDO Constructor

. The actions should be null ; they are ignored. This constructor exists for use by the Policy object to instantiate new Permission objects. Parameters: name - the name of the JDOPermission actions - should be null . Since: JDO 1.0