java.lang.NullPointerException

Atlassian JIRA | Sashidaran Jayaraman [Atlassian] | 6 years ago
  1. 0

    h5. Bug Description When you are importing word document using Office Connector's Doc Import function, if the space does not have a homepage set, you will get the following stacktrace: {code} Cause java.lang.NullPointerException at com.benryan.webwork.WordImportAction.doFileImport(WordImportAction.java:312) Stack Trace:[hide] java.lang.NullPointerException at com.benryan.webwork.WordImportAction.doFileImport(WordImportAction.java:312) at com.benryan.webwork.WordImportAction.executeFileImport(WordImportAction.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) {code} h5. Steps to reproduce h6. In Confluence versions above 3.2 # First, ensure that the space that you are using does not have a homepage set. # Next, go to any page, and use the "Import Word Document" feature # Upload the word document you want to import # Use the default setting: {code:title=Example} Root page title: Test Where to import: Import as a new page in the current space Title conflicts: Rename imported pages if page name already exists {code} # Click {{Import}} button # You will get the Oops page with the stacktrace mentioned above h6. In Confluence 3.2 and below # First, ensure that the space that you are using does not have a homepage set. # Next, go to any page, and use the "Doc Import" feature # Select the word document you want to import # Click the {{Advanced}} button # Use the following setting: {code:title=Example} Root page title: Test Where to import: Import as a new page in the current space Title conflicts: Imported pages become new versions of existing pages with the same title {code} # Click {{Import}} button # You will get the Oops page with the stacktrace mentioned above h5. Screenshot # [^DocImportBug.png] h5. Workaround # Please set a homepage for the space. For more information on how to do this, refer to the following documentation: #* http://confluence.atlassian.com/display/DOC/Editing+Space+Details

    Atlassian JIRA | 6 years ago | Sashidaran Jayaraman [Atlassian]
    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 com.benryan.webwork.WordImportAction.doFileImport()
    2. com.benryan.webwork
      WordImportAction.executeFileImport
      1. com.benryan.webwork.WordImportAction.doFileImport(WordImportAction.java:312)
      2. com.benryan.webwork.WordImportAction.executeFileImport(WordImportAction.java:146)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. XWork Tiger Extensions
      DefaultActionInvocation.invokeAction
      1. com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302)
      1 frame