You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm developing an Android application and I want to use neo4j-omg to interact with my local db instance.
When I save an entity with a session, I get the following stack traces:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.neo4j.ogm.metadata.ClassInfo.name()' on a null object reference
at org.neo4j.ogm.MetaData.entityType(MetaData.java:266)
at org.neo4j.ogm.session.Neo4jSession.entityType(Neo4jSession.java:415)
at org.neo4j.ogm.session.delegates.LoadByTypeDelegate.loadAll(LoadByTypeDelegate.java:58)
at org.neo4j.ogm.session.delegates.LoadByTypeDelegate.loadAll(LoadByTypeDelegate.java:115)
at org.neo4j.ogm.session.Neo4jSession.loadAll(Neo4jSession.java:131)
at analysis.io.GenericService.filter(GenericService.java:14)
Looking a bit into the codebase, it seems that it is not able to able to detect which classes I annotated. In fact, the classNameToClassInfo map in the DomainInfo is empty.
Running the same code from plain Java, it works without problems.
However, I perfectly know that the library is not tested for the Android environment.
In some way, it looks similar to the issue #34.
I'm using the omg version 2.1.1.
Many thanks.
The text was updated successfully, but these errors were encountered:
@meistermeier AFAIK you had a test case with some android code somewhere, right? Would you check this with the 3.2 alpha please, so that we can close this here (hopefully).
Hi, I'm developing an Android application and I want to use neo4j-omg to interact with my local db instance.
When I save an entity with a session, I get the following stack traces:
Looking a bit into the codebase, it seems that it is not able to able to detect which classes I annotated. In fact, the
classNameToClassInfo
map in theDomainInfo
is empty.Running the same code from plain Java, it works without problems.
However, I perfectly know that the library is not tested for the Android environment.
In some way, it looks similar to the issue #34.
I'm using the omg version 2.1.1.
Many thanks.
The text was updated successfully, but these errors were encountered: