java.lang.ClassCastException: com.sun.media.imageio.stream.RawImageInputStream cannot be cast to com.github.jaiimageio.stream.RawImageInputStream

Stack Overflow | Browniez | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java rawImageInputStream cannot be cast -imageIO

    Stack Overflow | 6 months ago | Browniez
    java.lang.ClassCastException: com.sun.media.imageio.stream.RawImageInputStream cannot be cast to com.github.jaiimageio.stream.RawImageInputStream

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.media.imageio.stream.RawImageInputStream cannot be cast to com.github.jaiimageio.stream.RawImageInputStream

      at com.github.jaiimageio.impl.plugins.raw.RawImageReader.setInput()
    2. com.github.jaiimageio
      RawImageReader.setInput
      1. com.github.jaiimageio.impl.plugins.raw.RawImageReader.setInput(RawImageReader.java:106)
      1 frame
    3. Java RT
      ImageReader.setInput
      1. javax.imageio.ImageReader.setInput(ImageReader.java:380)
      1 frame
    4. org.dcm4che2.imageioimpl
      DicomImageReader.read
      1. org.dcm4che2.imageioimpl.plugins.dcm.DicomImageReader.initRawImageReader(DicomImageReader.java:371)
      2. org.dcm4che2.imageioimpl.plugins.dcm.DicomImageReader.initImageReader(DicomImageReader.java:339)
      3. org.dcm4che2.imageioimpl.plugins.dcm.DicomImageReader.read(DicomImageReader.java:530)
      3 frames