org.springframework.dao.DataRetrievalFailureException: Error: A null sequence was returned from the database (could not get next com.vaau.rbacx.scheduling.domain.SchedulerExecutionLogRecordKey sequence).

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 Oracle Community by Pallavi Chaudhari, 1 year ago
Error: A null sequence was returned from the database (could not get next com.vaau.rbacx.scheduling.domain.SchedulerExecutionLogRecordKey sequence).
org.springframework.dao.DataRetrievalFailureException: Error: A null sequence was returned from the database (could not get next com.vaau.rbacx.scheduling.domain.SchedulerExecutionLogRecordKey sequence).
at com.vaau.rbacx.dao.ibatis.SqlMapSequenceDao.getNextCount(SqlMapSequenceDao.java:25)
at sun.reflect.GeneratedMethodAccessor431.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.vaau.rbacx.service.impl.SequenceGeneratorServiceImpl.loadNext(SequenceGeneratorServiceImpl.java:117)
at com.vaau.rbacx.service.impl.SequenceGeneratorServiceImpl.getMemorySequence(SequenceGeneratorServiceImpl.java:98)
at com.vaau.rbacx.service.impl.SequenceGeneratorServiceImpl.getCount(SequenceGeneratorServiceImpl.java:57)
at com.vaau.rbacx.service.impl.SequenceGeneratorServiceImpl.getCount(SequenceGeneratorServiceImpl.java:42)
at com.vaau.rbacx.scheduling.dao.ibatis.SqlSchedulerExecutionLogRecordDao.insertSchedulerExecutionLogRecord(SqlSchedulerExecutionLogRecordDao.java:22)
at com.vaau.rbacx.scheduling.impl.VaauSchedulerEventListenerImpl.persistEvent(VaauSchedulerEventListenerImpl.java:61)
at com.vaau.rbacx.scheduling.impl.VaauSchedulerEventListenerImpl.onApplicationEvent(VaauSchedulerEventListenerImpl.java:48)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
at com.vaau.rbacx.scheduling.manager.providers.quartz.QuartzJobListener.jobWasExecuted(QuartzJobListener.java:65)
at org.quartz.core.QuartzScheduler.notifyJobListenersWasExecuted(QuartzScheduler.java:1910)
at org.quartz.core.JobRunShell.notifyJobListenersComplete(JobRunShell.java:355)
at org.quartz.core.JobRunShell.run(JobRunShell.java:226)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.