Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Marcus popetz, 2 years ago
null key for collection: edu.academyart.model.B.setOfAs
via Hibernate JIRA by Marcus popetz, 1 year ago
null key for collection: edu.academyart.model.B.setOfAs
java.lang.NullPointerException: null key for collection: edu.academyart.model.B.setOfAs	at net.sf.hibernate.collection.AbstractCollectionPersister.writeKey(AbstractCollectionPersister.java:411)	at net.sf.hibernate.collection.AbstractCollectionPersister.remove(AbstractCollectionPersister.java:487)	at net.sf.hibernate.impl.ScheduledCollectionRemove.execute(ScheduledCollectionRemove.java:22)	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)	at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2394)	at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)	at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)	at edu.academyart.model.TestA.testManyToManyReplicateWithNativeIds(TestA.java:42)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)