java.lang.IllegalArgumentException: Width (-1) and height (-1) must be > 0

adempiere | vpj-cd | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error when try save a documet in Archive PDF

    adempiere | 1 decade ago | vpj-cd
    java.lang.IllegalArgumentException: Width (-1) and height (-1) must be > 0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Width (-1) and height (-1) must be > 0

      at java.awt.image.SampleModel.<init>()
    2. Java RT
      Raster.createPackedRaster
      1. java.awt.image.SampleModel.<init>(SampleModel.java:108)
      2. java.awt.image.MultiPixelPackedSampleModel.<init>(MultiPixelPackedSampleModel.java:129)
      3. java.awt.image.MultiPixelPackedSampleModel.<init>(MultiPixelPackedSampleModel.java:89)
      4. java.awt.image.Raster.createPackedRaster(Raster.java:843)
      4 frames
    3. com.qoppa.pdfViewer
      i.a
      1. com.qoppa.pdfViewer.h.i.a(Unknown Source)
      1 frame