Stencyl 3.4.0 is now out. Get it now!

Bug Issue: Error when duplicating behavior of imported games.


Pages: 1

Donni11

  • Subscriber - Stencyl Indie
  • *
May 18, 2017, 04:10:29 pm
Stencyl 9300 ~ Logs Attached

If you import ( not create ) a game, and then try to duplicate a behavior, you will get a error.
However if you open the behavior before making the duplication, it works fine. This is the bug.
What Stencyl tells you if you duplicate a behavior before opening it:

Code: [Select]
java.lang.RuntimeException: java.lang.NullPointerException
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:76)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at stencyl.sw.util.Util.parseFloat(Util.java:689)
at stencyl.core.engine.snippet.IVariable.getRealValue(IVariable.java:251)
at stencyl.sw.editors.snippet.vars.EditVariablePane.createEditPanel(EditVariablePane.java:463)
at stencyl.sw.editors.snippet.vars.EditVariablePane.<init>(EditVariablePane.java:119)
at stencyl.sw.editors.snippet.vars.VariablePane.switchTo(VariablePane.java:367)
at stencyl.sw.editors.snippet.vars.VariablePane$RowListener.valueChanged(VariablePane.java:683)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
at javax.swing.JTable.changeSelectionModel(JTable.java:2389)
at javax.swing.JTable.changeSelection(JTable.java:2458)
at com.jidesoft.grid.JideTable.changeSelection(Unknown Source)
at com.jidesoft.grid.NavigableTable.changeSelection(Unknown Source)
at com.jidesoft.grid.TreeTable.setSelectedRow(Unknown Source)
at stencyl.sw.editors.snippet.vars.VariablePane.selectLast(VariablePane.java:185)
at stencyl.sw.editors.snippet.vars.VariablePane.switchToModel(VariablePane.java:232)
at stencyl.sw.editors.snippet.vars.VariablePane.switchToModel(VariablePane.java:238)
at stencyl.sw.editors.snippet.designer.SnippetDesigner.<init>(SnippetDesigner.java:362)
at stencyl.sw.editors.snippet.SnippetDesignTab.<init>(SnippetDesignTab.java:92)
at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:802)
at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:639)
at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:67)
at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:20)
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)
« Last Edit: May 18, 2017, 04:11:56 pm by Donni11 »


New attachment added by Donni11 - May 18, 2017, 04:10:41 pm


rob1221

  • Master Stencyler
  • *
May 18, 2017, 05:51:11 pm
Does this happen with all games?  I can't reproduce it.
  • Status changed from New to Need Info


Donni11

  • Subscriber - Stencyl Indie
  • *
May 19, 2017, 10:58:12 am
Yes, this happens in all imported games.
« Last Edit: May 19, 2017, 10:58:20 am by Donni11 »


rob1221

  • Master Stencyler
  • *
May 19, 2017, 08:07:11 pm
Do you have this problem with Stencyl 3.5?


Pages: 1

Details

  • Reported
    May 18, 2017, 04:10:29 pm
  • Updated
    May 19, 2017, 08:07:11 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Need Info
  • Priority
    Normal
  • Version
    3.4.0 beta5
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    (none)

Tags


Attachments

* log-2017-05-18.zip (15.48 kB - downloaded 8 times.)