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

java.lang.NullPointerException: 	at org.hibernate.type.AbstractStandardBasicType.compare(AbstractStandardBasicType.java:220)	at org.hibernate.action.internal.CollectionAction.compareTo(CollectionAction.java:172)	at org.hibernate.engine.spi.ExecutableList.add(ExecutableList.java:222)	at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:246)	at org.hibernate.event.internal.AbstractFlushingEventListener.flushCollections(AbstractFlushingEventListener.java:274)	at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:103)	at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:55)	at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1167)	at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:412)	at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)	at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)	at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:77)	at ca.ulaval.glo4002.contexts.DemoDrugRepositoryFiller.fillDrugs(DemoDrugRepositoryFiller.java:33)	at ca.ulaval.glo4002.contexts.DemoRepositoryFiller.fillDrugRepository(DemoRepositoryFiller.java:55)	at ca.ulaval.glo4002.contexts.DemoRepositoryFiller.fillRepositories(DemoRepositoryFiller.java:46)	at ca.ulaval.glo4002.rest.DemoMain.main(DemoMain.java:16)