java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • *Per comments below, we're going to try to fix this in {{rel-2-0-patches}} first. But I'm leaving the {{merge-to-2-0}} label on since that's what everyone's actually using to see what's in the pipeline for 2.0.1.* Originally reported in the field for a rel-2-0-patches deployment (2.0.1-SNAPHOST)... attempting to print a MAP Template via the "View All" button results in 500 error and an on-screen error dialog reading 'Unable to determine the source of this error. See logs for additional details.'" This is caused by that button sending a POST to {{/ssp/api/1/person/<person-uuid>/map/plan/print}}. Doesn't matter which person you're logged in as nor which student you're looking at b/c the URL is bad... we want to print a Template, not a Plan. The stack trace is: {noformat} DEV: 17:19:52.420 [http-8081-4] /ssp/api/1/person/b8cd7143-e325-4c53-a094-fbc817afcfc1/map/plan/print ERROR org.jasig.ssp.web.api.PlanController - Error: java.lang.NullPointerException: null at java.util.UUID.fromString(UUID.java:225) ~[na:1.6.0_24] at org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:107) ~[PlanServiceImpl.class:na] at org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:55) ~[PlanServiceImpl.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at sun.proxy.$Proxy250.createOutput(Unknown Source) ~[na:na] at org.jasig.ssp.web.api.PlanController.print(PlanController.java:293) ~[PlanController.class:na] at org.jasig.ssp.web.api.PlanController$$FastClassByCGLIB$$3b7c388f.invoke(<generated>) ~[cglib-2.2.2.jar:na] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-2.2.2.jar:na] at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[spring-security-core-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.web.api.PlanController$$EnhancerByCGLIB$$73f0e12a.print(<generated>) ~[cglib-2.2.2.jar:na] {noformat} UI code needs to be fixed to use the Template print API.
    via by Dan McCallum,
  • *Per comments below, we're going to try to fix this in {{rel-2-0-patches}} first. But I'm leaving the {{merge-to-2-0}} label on since that's what everyone's actually using to see what's in the pipeline for 2.0.1.* Originally reported in the field for a rel-2-0-patches deployment (2.0.1-SNAPHOST)... attempting to print a MAP Template via the "View All" button results in 500 error and an on-screen error dialog reading 'Unable to determine the source of this error. See logs for additional details.'" This is caused by that button sending a POST to {{/ssp/api/1/person/<person-uuid>/map/plan/print}}. Doesn't matter which person you're logged in as nor which student you're looking at b/c the URL is bad... we want to print a Template, not a Plan. The stack trace is: {noformat} DEV: 17:19:52.420 [http-8081-4] /ssp/api/1/person/b8cd7143-e325-4c53-a094-fbc817afcfc1/map/plan/print ERROR org.jasig.ssp.web.api.PlanController - Error: java.lang.NullPointerException: null at java.util.UUID.fromString(UUID.java:225) ~[na:1.6.0_24] at org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:107) ~[PlanServiceImpl.class:na] at org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:55) ~[PlanServiceImpl.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at sun.proxy.$Proxy250.createOutput(Unknown Source) ~[na:na] at org.jasig.ssp.web.api.PlanController.print(PlanController.java:293) ~[PlanController.class:na] at org.jasig.ssp.web.api.PlanController$$FastClassByCGLIB$$3b7c388f.invoke(<generated>) ~[cglib-2.2.2.jar:na] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-2.2.2.jar:na] at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[spring-security-core-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.web.api.PlanController$$EnhancerByCGLIB$$73f0e12a.print(<generated>) ~[cglib-2.2.2.jar:na] {noformat} UI code needs to be fixed to use the Template print API.
    via by Dan McCallum,
  • Newest Vanilla Errors
    via GitHub by RovertS
    ,
  • GitHub comment 26#43346981
    via GitHub by RovertS
    ,
  • GitHub comment 26#43343537
    via GitHub by Soledge
    ,
  • GitHub comment 26#43350907
    via GitHub by RovertS
    ,
  • GitHub comment 43#141590325
    via GitHub by Androkai
    ,
  • Error converting H2 DB to MySQL
    via GitHub by afaik4711
    ,
    • java.lang.NullPointerException: null at java.util.UUID.fromString(UUID.java:225)[na:1.6.0_24] at org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:107)[PlanServiceImpl.class:na] at org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:55)[PlanServiceImpl.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:616)[na:1.6.0_24] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at sun.proxy.$Proxy250.createOutput(Unknown Source)[na:na] at org.jasig.ssp.web.api.PlanController.print(PlanController.java:293)[PlanController.class:na] at org.jasig.ssp.web.api.PlanController$$FastClassByCGLIB$$3b7c388f.invoke(<generated>)[cglib-2.2.2.jar:na] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[cglib-2.2.2.jar:na] at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)[spring-security-core-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.web.api.PlanController$$EnhancerByCGLIB$$73f0e12a.print(<generated>)[cglib-2.2.2.jar:na]

    Users with the same issue

    derproggerderprogger
    531 times, last one,