Bug Issue: Palette and Events Sidebar Disappearing

Pages: 1


  • Level 2 Stencyler
May 09, 2017, 07:53:49 pm
So this started happening in build 9443 (3.5.0 beta), but then when I opened the project in previous builds it started happening there as well.

Basically, my events sidebar and the palette randomly go missing, and it seems the only way to restore it to normal is View -> reset layout. No idea what causes the problem, it seems totally random. When it happens, it happens for every actor. Meanwhile, behaviors, collision, physics pages etc. all function normally.

I can still cycle through the events using the gear button in the lower left, but clicking "add event" causes the following error to appear in the log viewer (full logs are attached):

Code: [Select]
Unexpected problem on thread AWT-EventQueue-0: component must be showing on the screen to determine its location

Throwable: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2062)
at java.awt.Component.getLocationOnScreen(Component.java:2036)
at javax.swing.JPopupMenu.show(JPopupMenu.java:948)
at stencyl.sw.editors.snippet.designer.EventsPane.showAddEventPopup(EventsPane.java:849)
at stencyl.sw.editors.snippet.designer.SnippetDesigner.actionPerformed(SnippetDesigner.java:1545)
at stencyl.sw.actions.SAction.actionPerformed(SAction.java:125)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
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$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
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)
« Last Edit: May 09, 2017, 09:09:27 pm by Justin »

New attachment added by Rainbros - May 09, 2017, 07:54:54 pm

New attachment added by Rainbros - May 09, 2017, 07:55:13 pm


  • Master Stencyler
  • *
May 09, 2017, 08:00:25 pm
I've been getting this issue as well since I'm often switching Stencyl versions to test things.  The problem seems to be with the designmode2.layout file in the prefs folder in the workspace, because deleting that file solves the problem (until it comes back again).
  • Status changed from New to Confirmed


  • Master Stencyler
  • *
May 14, 2017, 07:12:15 am
I fixed an issue in b9451 concerning the toggling of the palette, and I'm wondering if that also had an effect on this issue.  Let me know if this problem with the palette still happens in b9451 or later.

EDIT: Nevermind, I ran into it again.
  • Status changed from Confirmed to Need Info
« Last Edit: May 14, 2017, 07:32:41 am by rob1221 »

Issue updated by rob1221 - May 14, 2017, 07:32:41 am
  • Status changed from Need Info to Confirmed

Konig Studios

  • Level 1 Stencyler
May 20, 2017, 09:14:40 pm
Having same issue in 9454 then back to 3.4 (9300)


  • Master Stencyler
  • *
February 04, 2018, 01:35:48 am
  • Status changed from Confirmed to Duplicate

Pages: 1


  • Reported
    May 09, 2017, 07:53:49 pm
  • Updated
    February 04, 2018, 01:35:48 am

  • View Status
  • Type
  • Status
  • Priority
  • Version
    Stencyl 3.4
  • Fixed in
  • Assigned to
  • Category
    Design Mode



* Screen Shot 2017-05-09 at 7.24.52 PM.png (203.42 kB, 2052x1718 - viewed 211 times.)
* log-2017-05-09.zip (733.57 kB - downloaded 72 times.)