java.lang.IncompatibleClassChangeError: Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected

xmlgraphics-batik-users | Kerschbaum Michael | 8 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

    AW: Document saved as JPEG - getting IncompatibleClassChangeError

    xmlgraphics-batik-users | 8 years ago | Kerschbaum Michael
    java.lang.IncompatibleClassChangeError: Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected
  2. 0

    AW: Document saved as JPEG - getting IncompatibleClassChangeError

    xmlgraphics-batik-users | 8 years ago | Kerschbaum Michael
    java.lang.IncompatibleClassChangeError: Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected

      at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage()
    2. Batik image codecs
      JPEGImageWriter.writeImage
      1. org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(UnknownSource)
      1 frame
    3. Batik SVG transcoder classes
      SVGAbstractTranscoder.transcode
      1. org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(UnknownSource)
      2. org.apache.batik.transcoder.image.ImageTranscoder.transcode(UnknownSource)
      3. org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(UnknownSource)
      4. org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(UnknownSource)
      4 frames