org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getWidth' in class fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry threw exception java.lang.NullPointerException at fr.opensagres.xdocreport.document.docx.DocxReport@4666b6!word/document.xml[line 1, column 75773]

GitHub | GoogleCodeExporter | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Null ExceptionError when adding an image

    GitHub | 2 years ago | GoogleCodeExporter
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getWidth' in class fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry threw exception java.lang.NullPointerException at fr.opensagres.xdocreport.document.docx.DocxReport@4666b6!word/document.xml[line 1, column 75773]
  2. 0

    Support optional images in a report

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.NullPointerException: null

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at fr.opensagres.xdocreport.document.images.AbstractImageRegistry.getWidth()
    2. fr.opensagres.xdocreport
      AbstractImageRegistry.getWidth
      1. fr.opensagres.xdocreport.document.images.AbstractImageRegistry.getWidth(AbstractImageRegistry.java:261)
      1 frame
    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. Apache Velocity
      ASTMethod.execute
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      3 frames