Hi,
I'm seeing the occasional error in my logs when running a Quartz job. I can't think of any difference there would be between the runs that run fine and those that get the error. However the number of sucessful runs greatly outnumber the failures.
Does anyone know why I might be getting the fullowing exception?
Code:
2012-09-20 11:16:00,594 ERROR [egeClusteredScheduler_Worker-7] com.gpt.ege.ege.EgeJob - Error in job
java.lang.NullPointerException
at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:53)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2434)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at com.gpt.ege.AbstractContext.commitDatabaseSession(AbstractContext.java:416)
at com.gpt.ege.AbstractContext.commitDatabaseSession(AbstractContext.java:339)
at com.gpt.ege.monitoring.agents.DatabaseAgent.postRun(DatabaseAgent.java:83)
at com.gpt.ege.monitoring.MonitoringDaemon.execute(MonitoringDaemon.java:70)
at com.gpt.ege.ege.EgeJob.execute(EgeJob.java:126)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
Thanks,
Sam