Problem uploading pic

tntmanos

  • Posts: 2
when i put a picture on stencyl it gives me this:
Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
   at java.io.ByteArrayInputStream.<init>(Unknown Source)
   at stencyl.sw.util.FileHelper.readXMLFromBase64String(FileHelper.java:487)
   at stencyl.sw.app.App.dropInResource(App.java:2589)
   at stencyl.sw.app.App.dropInResource(App.java:2575)
   at stencyl.sw.SW.handleDrop(SW.java:994)
   at stencyl.sw.SW$4.filesDropped(SW.java:397)
   at stencyl.sw.app.doc.FileDrop$1.drop(FileDrop.java:335)
   at java.awt.dnd.DropTarget.drop(Unknown Source)
   at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
   at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
   at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
   at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)

TheIndieStation

  • *
  • Posts: 2259
What do you mean with "putting a picture on stencyl"?