java.lang.NullPointerException

Kuali JIRA | Todd Plesniak | 3 years ago
  1. 0

    STEPS: - Login to Krad - Select Create a Course link - Navigate to the Supporting Documents page RESULT: When Upload button is used a NPE occurs The NPE happens becuase the maintainable.getDocumentToAdd().getDocumentUpload().getOriginalFilename() is null. The getDocuementToAdd() is never initialized as far as I can tell. {code:xml} java.lang.NullPointerException at org.kuali.student.cm.course.controller.CourseController.addSupportingDocument(CourseController.java:238) at org.kuali.student.cm.course.controller.CourseController$$FastClassByCGLIB$$ebcb3f03.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) 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.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.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) at org.kuali.student.cm.course.controller.CourseController$$EnhancerByCGLIB$$bdcd13a3.addSupportingDocument(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {code}

    Kuali JIRA | 3 years ago | Todd Plesniak
    java.lang.NullPointerException
  2. 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
  3. 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.cm.course.controller.CourseController.addSupportingDocument()
    2. org.kuali.student
      CourseController.addSupportingDocument
      1. org.kuali.student.cm.course.controller.CourseController.addSupportingDocument(CourseController.java:238)
      1 frame