java.lang.NullPointerException

Kuali JIRA | Mike Riley | 3 years ago
  1. 0

    Attempt to publish a SOC threw the below exception. The SOC was 201401 rolled from 201201, and with all CO's in all divisions (BSCI, CHEM, ENGL, HIST, PHYS, WMST) approved except:: BSCI413 CHEM689 ENGL262 I've marked it as a blocker because Black PDT needs it fixed to move forward in setting up reference data per KSAP-668, and KSAP-731. Here is the exception (and some that consequently follow it) as observed in the console log: 2014-01-31 01:45:06,925 [Thread-36] u:admin/d: FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. javax.persistence.TransactionRequiredException: no transaction is in progress361 at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:957) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366) at com.sun.proxy.$Proxy277.flush(Unknown Source) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:241) at com.sun.proxy.$Proxy277.flush(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.impl.LuiServiceImpl.updateLui(LuiServiceImpl.java:361) at sun.reflect.GeneratedMethodAccessor888.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy313.updateLui(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceCacheDecorator.updateLui(LuiServiceCacheDecorator.java:73) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceValidationDecorator.updateLui(LuiServiceValidationDecorator.java:95) at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceImpl.changeActivityOfferingState(CourseOfferingServiceImpl.java:3282) at sun.reflect.GeneratedMethodAccessor1162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy321.changeActivityOfferingState(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.decorators.CourseOfferingServiceDecorator.changeActivityOfferingState(CourseOfferingServiceDecorator.java:610) at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:38) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) 2014-01-31 01:45:06,931 [Thread-36] u:admin/d: FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.r2.common.exceptions.OperationFailedException: Failed to update State at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceImpl.changeActivityOfferingState(CourseOfferingServiceImpl.java:3284) at sun.reflect.GeneratedMethodAccessor1162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy321.changeActivityOfferingState(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.decorators.CourseOfferingServiceDecorator.changeActivityOfferingState(CourseOfferingServiceDecorator.java:610) at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:38) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) Caused by: javax.persistence.TransactionRequiredException: no transaction is in progress at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:957) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366) at com.sun.proxy.$Proxy277.flush(Unknown Source) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:241) at com.sun.proxy.$Proxy277.flush(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.impl.LuiServiceImpl.updateLui(LuiServiceImpl.java:361) at sun.reflect.GeneratedMethodAccessor888.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy313.updateLui(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceCacheDecorator.updateLui(LuiServiceCacheDecorator.java:73) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceValidationDecorator.updateLui(LuiServiceValidationDecorator.java:95) at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceImpl.changeActivityOfferingState(CourseOfferingServiceImpl.java:3282) ... 34 more 2014-01-31 01:45:06,932 [Thread-36] u:admin/d: FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. java.lang.NullPointerException at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:41) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) 2014-01-31 01:45:07,955 [Thread-36] u:admin/d: ERROR org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper - The Mass Publishing Event did not complete successfully. java.lang.NullPointerException at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:41) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) 2014-01-31 01:45:07,956 [Thread-36] u:admin/d: WARN org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper - Changing SOC state back to [kuali.soc.state.finaledits].

    Kuali JIRA | 3 years ago | Mike Riley
    java.lang.NullPointerException
  2. 0

    Attempt to publish a SOC threw the below exception. The SOC was 201401 rolled from 201201, and with all CO's in all divisions (BSCI, CHEM, ENGL, HIST, PHYS, WMST) approved except:: BSCI413 CHEM689 ENGL262 I've marked it as a blocker because Black PDT needs it fixed to move forward in setting up reference data per KSAP-668, and KSAP-731. Here is the exception (and some that consequently follow it) as observed in the console log: 2014-01-31 01:45:06,925 [Thread-36] u:admin/d: FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. javax.persistence.TransactionRequiredException: no transaction is in progress361 at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:957) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366) at com.sun.proxy.$Proxy277.flush(Unknown Source) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:241) at com.sun.proxy.$Proxy277.flush(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.impl.LuiServiceImpl.updateLui(LuiServiceImpl.java:361) at sun.reflect.GeneratedMethodAccessor888.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy313.updateLui(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceCacheDecorator.updateLui(LuiServiceCacheDecorator.java:73) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceValidationDecorator.updateLui(LuiServiceValidationDecorator.java:95) at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceImpl.changeActivityOfferingState(CourseOfferingServiceImpl.java:3282) at sun.reflect.GeneratedMethodAccessor1162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy321.changeActivityOfferingState(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.decorators.CourseOfferingServiceDecorator.changeActivityOfferingState(CourseOfferingServiceDecorator.java:610) at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:38) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) 2014-01-31 01:45:06,931 [Thread-36] u:admin/d: FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.r2.common.exceptions.OperationFailedException: Failed to update State at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceImpl.changeActivityOfferingState(CourseOfferingServiceImpl.java:3284) at sun.reflect.GeneratedMethodAccessor1162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy321.changeActivityOfferingState(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.decorators.CourseOfferingServiceDecorator.changeActivityOfferingState(CourseOfferingServiceDecorator.java:610) at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:38) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) Caused by: javax.persistence.TransactionRequiredException: no transaction is in progress at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:957) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366) at com.sun.proxy.$Proxy277.flush(Unknown Source) at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:241) at com.sun.proxy.$Proxy277.flush(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.impl.LuiServiceImpl.updateLui(LuiServiceImpl.java:361) at sun.reflect.GeneratedMethodAccessor888.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy313.updateLui(Unknown Source) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceCacheDecorator.updateLui(LuiServiceCacheDecorator.java:73) at org.kuali.student.enrollment.class1.lui.service.decorators.LuiServiceValidationDecorator.updateLui(LuiServiceValidationDecorator.java:95) at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceImpl.changeActivityOfferingState(CourseOfferingServiceImpl.java:3282) ... 34 more 2014-01-31 01:45:06,932 [Thread-36] u:admin/d: FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. java.lang.NullPointerException at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:41) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) 2014-01-31 01:45:07,955 [Thread-36] u:admin/d: ERROR org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper - The Mass Publishing Event did not complete successfully. java.lang.NullPointerException at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:41) at org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy318.changeSocState(Unknown Source) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143) at org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115) at java.lang.Thread.run(Thread.java:724) 2014-01-31 01:45:07,956 [Thread-36] u:admin/d: WARN org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper - Changing SOC state back to [kuali.soc.state.finaledits].

    Kuali JIRA | 3 years ago | Mike Riley
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState()
    2. org.kuali.student
      CourseOfferingSetServiceImpl.changeSocState
      1. org.kuali.student.enrollment.class1.state.impl.AOStateHelperImpl.updateState(AOStateHelperImpl.java:41)
      2. org.kuali.student.r2.core.class1.state.service.impl.StateTransitionsHelperImpl.processStatePropagations(StateTransitionsHelperImpl.java:218)
      3. org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetServiceImpl.changeSocState(CourseOfferingSetServiceImpl.java:793)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
      3 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. com.sun.proxy
      $Proxy318.changeSocState
      1. com.sun.proxy.$Proxy318.changeSocState(Unknown Source)
      1 frame
    8. org.kuali.student
      CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run
      1. org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358)
      2. org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator.changeSocState(CourseOfferingSetServiceDecorator.java:358)
      3. org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.doMpe(CourseOfferingSetPublishingHelper.java:143)
      4. org.kuali.student.enrollment.class2.courseofferingset.service.impl.CourseOfferingSetPublishingHelper$SocMassPublishingRunner.run(CourseOfferingSetPublishingHelper.java:115)
      4 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame