java.io.IOException: failed to load image contents

Oracle Community | 807593 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    This has been hassling me good style:

    Oracle Community | 1 decade ago | 807593
    java.io.IOException: failed to load image contents
  2. 0

    drag and drop

    Google Groups | 2 decades ago | dolijas
    java.io.IOException: class java.io.IOException:no native data was transferred caught while getting Data
  3. 0

    TransferableProxy -> getTransferData -- urgent please

    Oracle Community | 1 decade ago | 843802
    java.io.IOException: test.TestTreeObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      failed to load image contents

      at javax.swing.ImageIcon.writeObject()
    2. Java RT
      DropTargetContext$TransferableProxy.getTransferData
      1. javax.swing.ImageIcon.writeObject(ImageIcon.java:415)
      2. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      3. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      5. java.lang.reflect.Method.invoke(Method.java:324)
      6. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
      7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
      8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
      9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      10. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
      11. java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
      12. javax.swing.ImageIcon$AccessibleImageIcon.writeObject(ImageIcon.java:605)
      13. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      16. java.lang.reflect.Method.invoke(Method.java:324)
      17. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
      18. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
      19. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
      20. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      21. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
      22. java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
      23. javax.swing.JLabel.writeObject(JLabel.java:888)
      24. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      25. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      26. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      27. java.lang.reflect.Method.invoke(Method.java:324)
      28. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
      29. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
      30. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
      31. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      32. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      33. sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:53)
      34. java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:359)
      34 frames
    3. Unknown
      GridPanel.drop
      1. GridPanel.drop(GridPanel.java:71)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. java.awt.dnd.DropTarget.drop(DropTarget.java:399)
      2. sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:547)
      3. sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:52)
      4. sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:806)
      5. sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:744)
      6. sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
      7. java.awt.Component.dispatchEventImpl(Component.java:3384)
      8. java.awt.Container.dispatchEventImpl(Container.java:1437)
      9. java.awt.Component.dispatchEvent(Component.java:3367)
      10. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
      11. java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3000)
      12. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2854)
      13. java.awt.Container.dispatchEventImpl(Container.java:1423)
      14. java.awt.Window.dispatchEventImpl(Window.java:1566)
      15. java.awt.Component.dispatchEvent(Component.java:3367)
      16. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      17. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      18. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      19. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      20. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      21. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
      21 frames