java.lang.NullPointerException: null

Apereo Issues | Dan McCallum | 3 years ago
  1. 0

    *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.

    Apereo Issues | 3 years ago | Dan McCallum
    java.lang.NullPointerException: null
  2. 0

    *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.

    Apereo Issues | 3 years ago | Dan McCallum
    java.lang.NullPointerException: null
  3. 0

    Newest Vanilla Errors

    GitHub | 3 years ago | RovertS
    org.apache.commons.lang.UnhandledException: Plugin EnjinMinecraftPlugin v2.5.8 generated an exception while executing task 46
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android local variable get's lost when using camera intent

    Stack Overflow | 5 years ago | katit
    java.lang.NullPointerException
  6. 0

    Error thrown by Deadbolt when no subject found

    GitHub | 1 year ago | Aphax
    java.lang.NullPointerException: null [error] application - Error getting subject: null

    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

      null

      at java.util.UUID.fromString()
    2. Java RT
      UUID.fromString
      1. java.util.UUID.fromString(UUID.java:225)[na:1.6.0_24]
      1 frame
    3. org.jasig.ssp
      PlanServiceImpl.createOutput
      1. org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:107)[PlanServiceImpl.class:na]
      2. org.jasig.ssp.service.impl.PlanServiceImpl.createOutput(PlanServiceImpl.java:55)[PlanServiceImpl.class:na]
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_24]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.6.0_24]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.6.0_24]
      4. java.lang.reflect.Method.invoke(Method.java:616)[na:1.6.0_24]
      4 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    8. sun.proxy
      $Proxy250.createOutput
      1. sun.proxy.$Proxy250.createOutput(Unknown Source)[na:na]
      1 frame
    9. org.jasig.ssp
      PlanController$$FastClassByCGLIB$$3b7c388f.invoke
      1. org.jasig.ssp.web.api.PlanController.print(PlanController.java:293)[PlanController.class:na]
      2. org.jasig.ssp.web.api.PlanController$$FastClassByCGLIB$$3b7c388f.invoke(<generated>)[cglib-2.2.2.jar:na]
      2 frames
    10. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[cglib-2.2.2.jar:na]
      1 frame
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    12. spring-security-core
      MethodSecurityInterceptor.invoke
      1. org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)[spring-security-core-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      1 frame
    13. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    14. org.jasig.ssp
      PlanController$$EnhancerByCGLIB$$73f0e12a.print
      1. org.jasig.ssp.web.api.PlanController$$EnhancerByCGLIB$$73f0e12a.print(<generated>)[cglib-2.2.2.jar:na]
      1 frame