Unexpected Error - 3.2 public

Minimo

  • Posts: 201
Unexpected problem on thread AWT-EventQueue-0: Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!
   at java.util.TimSort.mergeHi(TimSort.java:868)
   at java.util.TimSort.mergeAt(TimSort.java:485)
   at java.util.TimSort.mergeCollapse(TimSort.java:410)
   at java.util.TimSort.sort(TimSort.java:214)
   at java.util.TimSort.sort(TimSort.java:173)
   at java.util.Arrays.sort(Arrays.java:659)
   at java.util.Collections.sort(Collections.java:217)
   at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:136)
   at javax.swing.SortingFocusTraversalPolicy.getFocusTraversalCycle(SortingFocusTraversalPolicy.java:110)
   at javax.swing.SortingFocusTraversalPolicy.getComponentAfter(SortingFocusTraversalPolicy.java:280)
   at javax.swing.LayoutFocusTraversalPolicy.getComponentAfter(LayoutFocusTraversalPolicy.java:106)
   at java.awt.Component.getNextFocusCandidate(Component.java:7871)
   at java.awt.Component.transferFocus(Component.java:7839)
   at java.awt.Container.removeNotify(Container.java:2808)
   at javax.swing.JComponent.removeNotify(JComponent.java:4759)
   at java.awt.Container.remove(Container.java:1199)
   at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:999)
   at com.jidesoft.swing.JideTabbedPane.removeTabAt(Unknown Source)
   at com.jidesoft.document.TdiGroup.removeDocument(Unknown Source)
   at com.jidesoft.document.DocumentPane.a(Unknown Source)
   at com.jidesoft.document.DocumentPane.a(Unknown Source)
   at com.jidesoft.document.DocumentPane.closeDocument(Unknown Source)
   at com.jidesoft.document.DocumentPane.closeSingleDocument(Unknown Source)
   at stencyl.sw.app.doc.Workspace.closeCurrentDocument(Workspace.java:808)
   at stencyl.sw.app.App.actionPerformed(App.java:554)
   at stencyl.sw.actions.ActionManager.actionPerformed(ActionManager.java:65)
   at stencyl.sw.actions.SAction.actionPerformed(SAction.java:121)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
   at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.java:802)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1662)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2878)
   at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:689)
   at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:697)
   at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:697)
   at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:668)
   at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
   at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:293)
   at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2970)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2962)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2841)
   at java.awt.Component.processEvent(Component.java:6293)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4872)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1887)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
   at java.awt.Component.dispatchEventImpl(Component.java:4742)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

ahref

  • Posts: 13
And what were you doing when this happened?

messoft

  • Posts: 32
I have the same problem T.T

Minimo

  • Posts: 201
This error occurred several times.
In general, I was adding images for animations.

Minimo

  • Posts: 201
Got another one:


Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
   at javax.swing.JTable.columnAtPoint(JTable.java:2849)
   at com.jidesoft.grid.CellSpanTable.columnAtPoint(Unknown Source)
   at stencyl.sw.editors.scene.layers.LayerPane.getCellUnderMouse(LayerPane.java:1069)
   at stencyl.sw.editors.scene.layers.LayerPane.mousePressed(LayerPane.java:1058)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
   at java.awt.Component.processMouseEvent(Component.java:6513)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
   at java.awt.Component.processEvent(Component.java:6281)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4872)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Minimo

  • Posts: 201
I have over 1000 images/animations in this game.  Could that be the problem ?
My last added image was 1078 !

Minimo

  • Posts: 201
Wow.  Every time I click on a layer, that error pops up.
Every time... "at javax.swing.JTable.columnAtPoint(JTable.java:2849)"

Minimo

  • Posts: 201
Got a new one:
this time I was modifying a behavior. 
Now Stencyl won't let me save.........................  What are these errors from ???

Unexpected problem on thread AWT-EventQueue-0: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:72)
   at stencyl.sw.app.tasks.SaveGameTask.done(SaveGameTask.java:66)
   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:312)
   at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
   at stencyl.sw.editors.snippet.designer.SnippetDesigner.getCode(SnippetDesigner.java:1590)
   at stencyl.sw.editors.snippet.HXPreviewPage.load(HXPreviewPage.java:293)
   at stencyl.sw.editors.snippet.HXPreviewPage.load(HXPreviewPage.java:288)
   at stencyl.sw.editors.snippet.SnippetDesignTab.save(SnippetDesignTab.java:160)
   at stencyl.sw.io.write.resource.SnippetsWriter.write(SnippetsWriter.java:97)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:100)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:48)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:16)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at javax.swing.SwingWorker.run(SwingWorker.java:335)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)

« Last Edit: February 04, 2015, 12:11:51 am by Minimo »

Minimo

  • Posts: 201
Got a new one   :(


Unexpected problem on thread AWT-EventQueue-0: 0 >= 0
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
   at java.util.Vector.elementAt(Vector.java:470)
   at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:243)
   at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:174)
   at javax.swing.tree.FixedHeightLayoutCache$SearchInfo.getPath(FixedHeightLayoutCache.java:1465)
   at javax.swing.tree.FixedHeightLayoutCache.getPathForRow(FixedHeightLayoutCache.java:210)
   at javax.swing.plaf.basic.BasicTreeUI.getPathForRow(BasicTreeUI.java:547)
   at javax.swing.JTree.getPathForRow(JTree.java:2170)
   at com.explodingpixels.macwidgets.plaf.SourceListTreeUI.isItemRow(SourceListTreeUI.java:315)
   at com.explodingpixels.macwidgets.plaf.SourceListTreeUI.isCategoryRow(SourceListTreeUI.java:311)
   at com.explodingpixels.macwidgets.plaf.SourceListTreeUI.access$1700(SourceListTreeUI.java:66)
   at com.explodingpixels.macwidgets.plaf.SourceListTreeUI$SourceListTreeCellRenderer.getTreeCellRendererComponent(SourceListTreeUI.java:393)
   at javax.swing.plaf.basic.BasicTreeUI.paintRow(BasicTreeUI.java:1535)
   at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1224)
   at com.explodingpixels.macwidgets.plaf.SourceListTreeUI.paint(SourceListTreeUI.java:249)
   at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
   at javax.swing.JComponent.paintComponent(JComponent.java:778)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JViewport.paint(JViewport.java:731)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5226)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
   at javax.swing.JComponent.paint(JComponent.java:1040)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
   at java.awt.Container.paint(Container.java:1967)
   at java.awt.Window.paint(Window.java:3877)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:819)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
   at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
   at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
   at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
   at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
   at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
   at java.awt.Dialog.show(Dialog.java:1082)
   at java.awt.Component.show(Component.java:1655)
   at java.awt.Component.setVisible(Component.java:1607)
   at java.awt.Window.setVisible(Window.java:1014)
   at java.awt.Dialog.setVisible(Dialog.java:1005)
   at stencyl.sw.util.dg.MessageDialogWithTextArea.<init>(MessageDialogWithTextArea.java:104)
   at stencyl.sw.DefaultUncaughtExceptionHandler.showMessage(DefaultUncaughtExceptionHandler.java:59)
   at stencyl.sw.DefaultUncaughtExceptionHandler.uncaughtException(DefaultUncaughtExceptionHandler.java:28)
   at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
   at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
   at java.awt.EventDispatchThread.processException(EventDispatchThread.java:264)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:256)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

hodragon

  • Posts: 81
I have the same problem. after Java 8 Update.

Indie Game Developer.
(I do not speak English well.)

captaincomic

  • *
  • Posts: 6108
The error in your first post seems to be caused by a bug in the JDK:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7075600

Could you attach the project, where the second error happens? Or is it with any project?


Minimo

  • Posts: 201
Sorry Captain.
I installed a new version (8085) and updated Java to 'jdk-8u31-macosx-x64'.

Will report new bugs   (most commonly found in the Layer Manager... see this thread:  http://community.stencyl.com/index.php/topic,37827.0.html)