ERROR

Samspeck

  • Posts: 1
Could you please help me solve this error? :'( :'( :'( :'( :'( :'( :'( :'( :'(
this happens to me at the beginning I import a game that comes out on this page, so in this way I start to practice, but I do not know why it generates that error I would appreciate someone helping me as soon as possible


java.lang.RuntimeException: java.lang.ClassCastException: stencyl.sw.editors.snippet.designer.block.DummyField cannot be cast to javax.swing.JComponent
   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.ClassCastException: stencyl.sw.editors.snippet.designer.block.DummyField cannot be cast to javax.swing.JComponent
   at stencyl.sw.editors.snippet.designer.block.Block.addField(Block.java:3173)
   at stencyl.sw.editors.snippet.designer.Definition.addParameterStart(Definition.java:744)
   at stencyl.sw.editors.snippet.designer.Definition.parseForGUIStart(Definition.java:698)
   at stencyl.sw.editors.snippet.designer.palette.Palette.createAndAddElement(Palette.java:521)
   at stencyl.sw.editors.snippet.designer.palette.Palette.createNodes(Palette.java:381)
   at stencyl.sw.editors.snippet.designer.palette.Palette.createSection(Palette.java:289)
   at stencyl.sw.editors.snippet.designer.palette.SubcategoryListing.addButton(SubcategoryListing.java:134)
   at stencyl.sw.editors.snippet.designer.palette.SubcategoryListing.<init>(SubcategoryListing.java:81)
   at stencyl.sw.editors.snippet.designer.palette.SubPaletteContainer.<init>(SubPaletteContainer.java:36)
   at stencyl.sw.editors.snippet.designer.palette.CategoryListing.addButton(CategoryListing.java:94)
   at stencyl.sw.editors.snippet.designer.palette.CategoryListing.<init>(CategoryListing.java:65)
   at stencyl.sw.editors.snippet.designer.palette.PaletteContainer.<init>(PaletteContainer.java:69)
   at stencyl.sw.editors.snippet.designer.SnippetDesigner.<init>(SnippetDesigner.java:346)
   at stencyl.sw.editors.scene.SceneTab.init(SceneTab.java:164)
   at stencyl.sw.editors.scene.SceneTab.<init>(SceneTab.java:119)
   at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:792)
   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)

minu94

  • Posts: 46
Can you share the game so I can try to import personally?
Follow my game projects on facebook: https://www.facebook.com/Minu94Lab