java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float

Icesoft | tom_doe | 4 years 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

    Re:Can't open PDF file with ICEpdf 5.0.3

    Icesoft | 4 years ago | tom_doe
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.Float

      at org.icepdf.core.pobjects.fonts.ofont.Font.init()
    2. org.icepdf.core
      AbstractContentParser.consume_Tf
      1. org.icepdf.core.pobjects.fonts.ofont.Font.init(Font.java:304)[icepdf-core-5.0.2.jar:]
      2. org.icepdf.core.pobjects.Resources.getFont(Resources.java:147)[icepdf-core-5.0.2.jar:]
      3. org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractContentParser.java:722)[icepdf-core-5.0.2.jar:]
      3 frames