Wrong type of object passed in to dropdown converter. Expected IVariable

Fool

  • Posts: 88
At wits end. I keep getting this warning, to no avail. Tried disabling code, tried removing behaviors. Tried returning and editing
the most recent blocks. Nothing will remove this warning.
Worse the debugger does nothing for me because theres zero reference to where the problem is occuring at the block
level.
Anyone, would you help me out.


Level:     WARN
When:      2016-03-18 00:01:47:774
From:      stencyl.sw.editors.snippet.designer.dropdown.VarDropdownConverter

Wrong type of object passed in to dropdown converter. Expected IVariable but got: class java.lang.String

Throwable: java.lang.IllegalArgumentException: Wrong type of object passed in to dropdown converter. Expected IVariable but got: class java.lang.String
   at stencyl.sw.editors.snippet.designer.dropdown.VarDropdownConverter.getIDForItem(VarDropdownConverter.java:41)
   at stencyl.sw.editors.snippet.designer.dropdown.DropdownData.getSelectedElement(DropdownData.java:113)
   at stencyl.sw.editors.snippet.designer.dropdown.BlockDropdown.getSelectedElement(BlockDropdown.java:118)
   at stencyl.sw.editors.snippet.designer.block.Block.toXML(Block.java:2004)
   at stencyl.sw.editors.snippet.designer.palette.FavoriteManager.save(FavoriteManager.java:224)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:104)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:35)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:13)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at javax.swing.SwingWorker.run(SwingWorker.java:334)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)

captaincomic

  • *
  • Posts: 6109
Would you mind sharing your game with me so I can take a look?