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

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

    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(Unknown Source)
      1 frame
    3. Batik SVG transcoder classes
      SVGAbstractTranscoder.transcode
      1. org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
      2. org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
      3. org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
      4. org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
      4 frames
    4. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      1 frame