Bug Issue: [b12161] File->Preferences before opening a game throws an error


Pages: 1

itowerinyou

  • Junior Stencyler
March 09, 2024, 06:28:51 am
Code: [Select]
2024-03-09 15:31:40,173 INFO  [main] stencyl.core.log.LogManager: Logfile: C:\Users\p\AppData\Roaming\Stencyl\stencylworks\logs\2024-03-09_15-31-40.log
2024-03-09 15:31:40,373 DEBUG [main] stencyl.core.loc.LanguagePack: Reading language files from... C:\Dev\Stencyl-b12161\lang\en
2024-03-09 15:31:40,389 INFO  [main] stencyl.sw.app.main.SW: OS Name: Windows 10
2024-03-09 15:31:40,391 INFO  [main] stencyl.sw.app.main.SW: OS Version: 10.0 (64-bit)
2024-03-09 15:31:40,393 INFO  [main] stencyl.sw.app.main.SW: Java Version: 21.0.1
2024-03-09 15:31:40,394 INFO  [main] stencyl.sw.app.main.SW: Stencyl Version: 4.1.0-beta (b12161)
2024-03-09 15:31:40,399 INFO  [main] stencyl.sw.app.main.SW: Stencyl Preferences: C:\Users\p\AppData\Roaming\Stencyl\stencylworks\prefs
2024-03-09 15:31:40,399 INFO  [main] stencyl.sw.app.main.SW: Stencyl Install Directory: C:\Dev\Stencyl-b12161
2024-03-09 15:31:40,399 INFO  [main] stencyl.sw.app.main.SW: User Home Directory: C:\Users\p
2024-03-09 15:31:40,400 INFO  [AWT-EventQueue-0] stencyl.sw.app.main.SW: Initializing Stencyl.
2024-03-09 15:31:40,403 DEBUG [AWT-EventQueue-0] stencyl.sw.app.main.Splash: Set Splash message: Look
2024-03-09 15:31:40,911 WARN  [AWT-EventQueue-0] stencyl.sw.core.platform.DeviceManager: Device scanner "emulator.exe" not found. Can't scan for connected Android emulator devices.
2024-03-09 15:31:40,912 WARN  [AWT-EventQueue-0] stencyl.sw.core.platform.DeviceManager: Device scanner "adb" not found. Can't scan for connected Android devices.
2024-03-09 15:31:40,915 DEBUG [AWT-EventQueue-0] stencyl.core.api.fs.Locations: Deleting: C:\Users\p\AppData\Local\Temp\stencyl14358642602348705103
2024-03-09 15:31:40,932 INFO  [AWT-EventQueue-0] stencyl.sw.core.platform.DeviceManager: Found device scanner "libimobiledevice". Scanning for connected iOS devices.
2024-03-09 15:31:46,041 DEBUG [AWT-EventQueue-0] stencyl.sw.app.main.SW: Maximized frame.
2024-03-09 15:31:46,115 DEBUG [AWT-EventQueue-0] stencyl.sw.app.doc.Workspace: Activated: Welcome Center
2024-03-09 15:31:46,118 DEBUG [AWT-EventQueue-0] stencyl.sw.app.main.SWApp: Non-silent Authentication.
2024-03-09 15:31:46,136 DEBUG [AWT-EventQueue-0] stencyl.core.ext.ExtensionManager: Matching (non-hidden) files within C:\Users\p\AppData\Roaming\Stencyl\stencylworks\extensions: []
2024-03-09 15:31:46,138 INFO  [Loading Extensions] stencyl.core.ext.ExtensionManager: Toolset Extensions: []
2024-03-09 15:31:46,139 INFO  [Loading Extensions] stencyl.core.api.tasks.Task: Finished: Loading Extensions.
2024-03-09 15:31:46,194 DEBUG [AWT-EventQueue-0] stencyl.sw.app.main.Splash: Dispose Splash
2024-03-09 15:31:47,202 DEBUG [Authenticating] stencyl.sw.core.tasks.AuthenticateTask: Response: guest
2024-03-09 15:31:47,202 INFO  [Authenticating] stencyl.sw.core.tasks.AuthenticateTask: Could not log in. Check your login credentials.
2024-03-09 15:31:47,204 INFO  [Authenticating] stencyl.core.api.tasks.Task: Finished: Authenticating.
2024-03-09 15:31:49,901 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Failed to list contents of C:\Users\p\AppData\Roaming\Stencyl\stencylworks\lang. It does not exist or is not a directory.
2024-03-09 15:31:49,902 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Directories within C:\Dev\Stencyl-b12161\lang: [C:\Dev\Stencyl-b12161\lang\de, C:\Dev\Stencyl-b12161\lang\el, C:\Dev\Stencyl-b12161\lang\en, C:\Dev\Stencyl-b12161\lang\es, C:\Dev\Stencyl-b12161\lang\fi, C:\Dev\Stencyl-b12161\lang\fr, C:\Dev\Stencyl-b12161\lang\it, C:\Dev\Stencyl-b12161\lang\nl, C:\Dev\Stencyl-b12161\lang\pl, C:\Dev\Stencyl-b12161\lang\pt, C:\Dev\Stencyl-b12161\lang\ru, C:\Dev\Stencyl-b12161\lang\zh, C:\Dev\Stencyl-b12161\lang\zh_CN]
2024-03-09 15:31:49,909 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found niemiecki in C:\Dev\Stencyl-b12161\lang\de
2024-03-09 15:31:49,910 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found grecki in C:\Dev\Stencyl-b12161\lang\el
2024-03-09 15:31:49,910 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found angielski in C:\Dev\Stencyl-b12161\lang\en
2024-03-09 15:31:49,910 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found hiszpański in C:\Dev\Stencyl-b12161\lang\es
2024-03-09 15:31:49,911 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found fiński in C:\Dev\Stencyl-b12161\lang\fi
2024-03-09 15:31:49,911 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found francuski in C:\Dev\Stencyl-b12161\lang\fr
2024-03-09 15:31:49,911 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found włoski in C:\Dev\Stencyl-b12161\lang\it
2024-03-09 15:31:49,912 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found niderlandzki in C:\Dev\Stencyl-b12161\lang\nl
2024-03-09 15:31:49,912 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found polski in C:\Dev\Stencyl-b12161\lang\pl
2024-03-09 15:31:49,912 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found portugalski in C:\Dev\Stencyl-b12161\lang\pt
2024-03-09 15:31:49,912 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found rosyjski in C:\Dev\Stencyl-b12161\lang\ru
2024-03-09 15:31:49,912 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found chiński in C:\Dev\Stencyl-b12161\lang\zh
2024-03-09 15:31:49,913 DEBUG [AWT-EventQueue-0] stencyl.sw.app.prefs.LanguagePage: Found chiński (Chiny) in C:\Dev\Stencyl-b12161\lang\zh_CN
2024-03-09 15:31:49,941 ERROR [AWT-EventQueue-0] root: Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
at java.base/java.io.File.<init>(Unknown Source)
at stencyl.sw.app.prefs.GeneralPage.refreshWorkspaceChooser(GeneralPage.java:205)
at stencyl.sw.app.prefs.GeneralPage.createPage(GeneralPage.java:116)
at stencyl.sw.app.prefs.GeneralPage.initComponents(GeneralPage.java:77)
at stencyl.sw.app.prefs.BaseOptionPage.lazyInitialize(BaseOptionPage.java:32)
at com.jidesoft.dialog.AbstractPage.initialize(AbstractPage.java:204)
at stencyl.sw.app.prefs.PreferencesDialog.createContentPanel(PreferencesDialog.java:167)
at stencyl.sw.app.prefs.PreferencesDialog.<init>(PreferencesDialog.java:65)
at stencyl.sw.app.prefs.PreferencesDialog.<init>(PreferencesDialog.java:58)
at stencyl.sw.app.main.SWApp.getPreferencesDialog(SWApp.java:148)
at stencyl.sw.app.main.SWApp.showPrefs(SWApp.java:1542)
at stencyl.sw.app.main.SWApp.lambda$loadActions$10(SWApp.java:389)
at stencyl.app.actions.SAction.actionPerformed(SAction.java:125)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(VsnetMenuItemUI.java:1395)
at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(VsnetMenuItemUI.java:1190)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
2024-03-09 15:31:51,856 INFO  [AWT-EventQueue-0] stencyl.sw.app.main.SWApp: Attempting to quit out of Stencyl.
2024-03-09 15:31:51,857 DEBUG [AWT-EventQueue-0] stencyl.sw.app.main.SWApp: Destroying extensions.
2024-03-09 15:31:51,867 DEBUG [AWT-EventQueue-0] stencyl.sw.app.main.SWApp: Performing final close.
2024-03-09 15:31:51,868 INFO  [AWT-EventQueue-0] stencyl.sw.app.main.SWApp: Exiting...
2024-03-09 15:31:51,868 DEBUG [AWT-EventQueue-0] stencyl.app.main.App: Destroying Temporary Sandbox.
2024-03-09 15:31:51,868 DEBUG [AWT-EventQueue-0] stencyl.app.main.App: Deleting: C:\Users\p\AppData\Local\Temp\stencyl14358642602348705103

« Last Edit: March 09, 2024, 06:29:47 am by itowerinyou »


Issue updated by itowerinyou - March 09, 2024, 06:29:47 am
  • Category changed from (none) to UI / Workflow


Justin

  • Master Stencyler
  • *
March 11, 2024, 12:13:37 pm
Fixed in b12178. I'll make a new public release with the fix sometime this month.

To work around this, you can create a file at "%AppData%\Stencyl\StencylWorks.prefs" with the following content (but replace %AppData% below with the actual path:
Code: [Select]
global.workdir.style=true
global.workdir=%AppData%\Stencyl\
  • Status changed from New to Resolved


Pages: 1

Details

  • Reported
    March 09, 2024, 06:28:51 am
  • Updated
    October 30, 2024, 06:16:41 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    UI / Workflow

Tags