java.lang.NullPointerException

Atlassian JIRA | Arie Murdianto | 8 years ago
  1. 0

    Confluence produces a stacktrace error com.atlassian.confluence.importexport.ImportExportException when we display a big png dimension image with align parameter. In order to reproduce the problem, please go through the following steps: # Create a page containing the following: {noformat} h1. !RAP-Configuration-ERM.png|align=center! {noformat} # Save it # Export the page to PDF. If you, either remove {{align=center}} or h1, the export function will be working fine. The following is the stacktrace that happens after exporting the page to PDF. {noformat} com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:165) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:106) caused by: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error in the following XHTML null at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:205) caused by: java.lang.NullPointerException at org.dom4j.io.DOMReader.read(DOMReader.java:86) {noformat} Please note that I have tried the problem using images which type png, jpeg and bmp. Using those types, the problem are reproducible.

    Atlassian JIRA | 8 years ago | Arie Murdianto
    java.lang.NullPointerException
  2. 0

    Confluence produces a stacktrace error com.atlassian.confluence.importexport.ImportExportException when we display a big png dimension image with align parameter. In order to reproduce the problem, please go through the following steps: # Create a page containing the following: {noformat} h1. !RAP-Configuration-ERM.png|align=center! {noformat} # Save it # Export the page to PDF. If you, either remove {{align=center}} or h1, the export function will be working fine. The following is the stacktrace that happens after exporting the page to PDF. {noformat} com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:165) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:106) caused by: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error in the following XHTML null at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:205) caused by: java.lang.NullPointerException at org.dom4j.io.DOMReader.read(DOMReader.java:86) {noformat} Please note that I have tried the problem using images which type png, jpeg and bmp. Using those types, the problem are reproducible.

    Atlassian JIRA | 8 years ago | Arie Murdianto
    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.dom4j.io.DOMReader.read()
    2. dom4j
      DOMReader.read
      1. org.dom4j.io.DOMReader.read(DOMReader.java:86)
      1 frame