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(Unknown Source) at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source) at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) at experimentalcode.simon.gui.PatternPlot.saveAsJPEG(PatternPlot.java: 564) at experimentalcode.simon.gui.PatternControlPanel $ImageSaveDialog.actionPerformed(PatternControlPanel.java:494) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 2028) at javax.swing.AbstractButton $Handler.actionPerformed(AbstractButton.java:2351) at javax .swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java: 387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java: 242) at javax .swing .plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java: 236)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • 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(Unknown Source) at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source) at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) at experimentalcode.simon.gui.PatternPlot.saveAsJPEG(PatternPlot.java: 564) at experimentalcode.simon.gui.PatternControlPanel $ImageSaveDialog.actionPerformed(PatternControlPanel.java:494) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 2028) at javax.swing.AbstractButton $Handler.actionPerformed(AbstractButton.java:2351) at javax .swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java: 387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java: 242) at javax .swing .plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java: 236) at java.awt.Component.processMouseEvent(Component.java:6126) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5891) at java.awt.Container.processEvent(Container.java:2102) at java.awt.Component.dispatchEventImpl(Component.java:4497) at java.awt.Container.dispatchEventImpl(Container.java:2160) at java.awt.Component.dispatchEvent(Component.java:4327)
    No Bugmate found.