org.springframework.dao.DataIntegrityViolationException: OJB operation; SQL []; Column 'SESN_ID' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'SESN_ID' cannot be null

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 Kuali JIRA by Erik Meade, 1 year ago
OJB operation; SQL []; Column 'SESN_ID' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'SESN_ID' cannot be null
via Kuali JIRA by Mindi Balmer, 1 year ago
OJB operation; SQL []; Column 'USER_PRINCIPAL_ID' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'USER_PRINCIPAL_ID' cannot be null
via Kuali JIRA by Mindi Balmer, 1 year ago
OJB operation; SQL []; Column 'USER_PRINCIPAL_ID' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'USER_PRINCIPAL_ID' cannot be null
via Kuali JIRA by Mindi Balmer, 1 year ago
OJB operation; SQL []; Duplicate entry '3165-0-1202-0-RGH-2013-08-28 16:42:00-2013-08-28 21:00:00-2013-0' for key 'TK_TIME_BLOCK_IDX1'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '3165-0-1202-0-RGH-2013-08-28 16:42:00-2013-08-28 21:00:00-2013-0' for key 'TK_TIME_BLOCK_IDX1'
via Kuali JIRA by Mindi Balmer, 1 year ago
OJB operation; SQL []; Duplicate entry '3165-0-1202-0-RGH-2013-08-28 16:42:00-2013-08-28 21:00:00-2013-0' for key 'TK_TIME_BLOCK_IDX1'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '3165-0-1202-0-RGH-2013-08-28 16:42:00-2013-08-28 21:00:00-2013-0' for key 'TK_TIME_BLOCK_IDX1'
via Kuali JIRA by Mindi Balmer, 1 year ago
OJB operation; SQL []; Duplicate entry '4089-0-1102-0-RGH-2013-12-02 15:26:51-2013-12-02 15:41:00-2013-1' for key 'TK_TIME_BLOCK_IDX1'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '4089-0-1102-0-RGH-2013-12-02 15:26:51-2013-12-02 15:41:00-2013-1' for key 'TK_TIME_BLOCK_IDX1'
org.springframework.dao.DataIntegrityViolationException: OJB operation; SQL []; Column 'SESN_ID' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'SESN_ID' cannot be null
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
at org.springmodules.orm.ojb.OjbAccessor.convertJdbcAccessException(OjbAccessor.java:107)
at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:89)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244)
at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:243)
at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:245)
at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at undefined.$Proxy75.save(Unknown Source)
at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:70)
at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at undefined.$Proxy76.save(Unknown Source)
at org.kuali.rice.krad.service.impl.PessimisticLockServiceImpl.save(PessimisticLockServiceImpl.java:198)
at org.kuali.rice.krad.service.impl.PessimisticLockServiceImpl.generateNewLock(PessimisticLockServiceImpl.java:118)
at org.kuali.rice.krad.service.impl.PessimisticLockServiceImpl.createNewPessimisticLock(PessimisticLockServiceImpl.java:494)
at org.kuali.rice.krad.service.impl.PessimisticLockServiceImpl.establishLocks(PessimisticLockServiceImpl.java:349)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.kuali.rice.kns.service.impl.PessimisticLockServiceTest.assertCustomLockDescriptorsAreWorking(PessimisticLockServiceTest.java:114)
at org.kuali.rice.kns.service.impl.PessimisticLockServiceTest.testPessimisticLockingWithCustomMaintainableLockDescriptors(PessimisticLockServiceTest.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.kuali.rice.test.runners.RiceUnitTestClassRunner.runChild(RiceUnitTestClassRunner.java:46)
at org.kuali.rice.test.runners.RiceUnitTestClassRunner.runChild(RiceUnitTestClassRunner.java:34)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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