Data Structures Extension

Justin

  • *
  • Posts: 4098

For Live Support: Join our discord channel and ping me @justin.

Arafrael

  • Posts: 64
Hi!
Got an error with latest extension build (try both: in comments and in 1st post links).
Im using nightly build by 25 april.
Logs:
Code: [Select]
Error in toolset extension Data Structures Extension on thread AWT-EventQueue-0: stencyl/sw/editors/snippet/designer/Definition$Type
stencyl.sw.app.ExtensionException: stencyl/sw/editors/snippet/designer/Definition$Type
at stencyl.sw.actions.Actions.gameOpened(Actions.java:839)
at stencyl.sw.app.tasks.OpenGameTask$3.run(OpenGameTask.java:231)
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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
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.NoClassDefFoundError: stencyl/sw/editors/snippet/designer/Definition$Type
at stencyl.ext.polydes.datastruct.Blocks.addDesignModeBlocks(Blocks.java:34)
at stencyl.ext.polydes.datastruct.Main.onGameOpened(Main.java:252)
at stencyl.sw.actions.Actions.gameOpened(Actions.java:833)
... 15 more
Caused by: java.lang.ClassNotFoundException: stencyl.sw.editors.snippet.designer.Definition$Type
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more

Also got this after adding data item:
Code: [Select]
Unexpected problem on thread AWT-EventQueue-0: stencyl.sw.util.dg.StencylDialog.<init>(Ljavax/swing/JFrame;Ljava/lang/String;IILjava/awt/Color;Z)V
java.lang.NoSuchMethodError: stencyl.sw.util.dg.StencylDialog.<init>(Ljavax/swing/JFrame;Ljava/lang/String;IILjava/awt/Color;Z)V
at stencyl.ext.polydes.datastruct.ui.page.EditFolderDialog.<init>(EditFolderDialog.java:47)
at stencyl.ext.polydes.datastruct.ui.page.StructurePage$2.editNode(StructurePage.java:200)
at stencyl.ext.polydes.datastruct.ui.tree.DTree.actionPerformed(DTree.java:375)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
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)

Justin

  • *
  • Posts: 4098
Could you try this and let me know if it works? Thanks.


For Live Support: Join our discord channel and ping me @justin.

Arafrael

  • Posts: 64
Tried with stable and nightly: they don't see extension at all, like i hasn't install this.
I used this installation instruction: http://community.stencyl.com/index.php/topic,3445.0.html and it works with previous version.

irock

  • *
  • Posts: 2864
it don't work right now sorry



Yerghaiz

  • Posts: 17
Stencyl Build 8502
 
I get this error everytime I open a project:

Error in toolset extension Data Structures Extension on thread AWT-EventQueue-0: null
stencyl.sw.app.ExtensionException
   at stencyl.sw.actions.Actions.gameOpened(Actions.java:841)
   at stencyl.sw.app.tasks.OpenGameTask$3.run(OpenGameTask.java:231)
   at java.awt.event.InvocationEvent.dispatch(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.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)
Caused by: java.lang.NullPointerException
   at stencyl.ext.polydes.datastruct.data.structure.StructureDefinitions.addFolder(StructureDefinitions.java:65)
   at stencyl.ext.polydes.datastruct.Main.onGameOpened(Main.java:244)
   at stencyl.sw.actions.Actions.gameOpened(Actions.java:835)
   ... 15 more

Justin

  • *
  • Posts: 4098
Do you have a folder at stencylworks\games\{game name}\extras\[ext] data structures\defs?

And are you using this together with the dialog extension? If so, do you also have a folder at "stencylworks\engine-extensions\dialog\def"?

For Live Support: Join our discord channel and ping me @justin.

Yerghaiz

  • Posts: 17
I got it to work :)  I eventually found the Dialog extension's site, and their instructions are pretty clear :D  Perhaps a link somewhere to there would be helpful?

EDIT:  This is a GREAT extension by the way.  Stencyl doesn't handle 2D lists to well, and when it does, it is awfully clumsy on calling any of it.  This cleans a lot of that mess up :D

Justin

  • *
  • Posts: 4098
Huh. Was it not installed properly before? Well, glad you got it working.

For Live Support: Join our discord channel and ping me @justin.

Yerghaiz

  • Posts: 17
Yeah...I unpacked it and didn't realize right away that the dialog folder needed to be moved to extensions-engine.  Personally, I just got this for the data structure, so is it safe to remove the dialog extension stuff, or do I have to leave the folder in ext-engine?

Justin

  • *
  • Posts: 4098
The most plausible reason I can think for that error to occur is that you had the dialog toolset extension installed, but not the dialog engine extension. Remove both and you'll be fine.

For Live Support: Join our discord channel and ping me @justin.

Yerghaiz

  • Posts: 17
All right!  Thank you very much for all of your help! 

Donni11

  • *
  • Posts: 2182
Hi Justin :), I received a error with the data structures extension when opening a game ( it says I don't have the right version but I know I do, I updated to the 3.3 version already ) :
rror in toolset extension Data Structures Extension on thread AWT-EventQueue-0: stencyl/sw/editors/snippet/designer/dropdown/JavaConverter
stencyl.sw.app.ExtensionException: stencyl/sw/editors/snippet/designer/dropdown/JavaConverter
   at stencyl.sw.actions.Actions.gameOpened(Actions.java:844)
   at stencyl.sw.app.tasks.OpenGameTask$3.run(OpenGameTask.java:231)
   at java.awt.event.InvocationEvent.dispatch(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.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)
Caused by: java.lang.NoClassDefFoundError: stencyl/sw/editors/snippet/designer/dropdown/JavaConverter
   at stencyl.ext.polydes.datastruct.Main.onGameOpened(Main.java:259)
   at stencyl.sw.actions.Actions.gameOpened(Actions.java:838)
   ... 15 more
Caused by: java.lang.ClassNotFoundException: stencyl.sw.editors.snippet.designer.dropdown.JavaConverter
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   ... 17 more


Full logs :
https://www.dropbox.com/s/348atsv0r7oasnq/log-2015-08-27.zip?dl=1
Peace