Bug: Parameter 'directory' is not a directory

Zeldhoron

  • Posts: 2
Hello

I just installed Stencyl and when i ran it for the first time i got this error.
When i click the ok button from the message box the program keeps loading with almost no cpu activity (0 - 0.2%) and stays that way.

Unexpected problem on thread AWT-EventQueue-0: Parameter 'directory' is not a directory
java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
   at org.apache.commons.io.FileUtils.validateListFilesParameters(FileUtils.java:545)
   at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:521)
   at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:691)
   at stencyl.sw.app.ExtensionManager.get(ExtensionManager.java:35)
   at stencyl.sw.app.Menu.refreshExtensionsMenu(Menu.java:511)
   at stencyl.sw.app.Menu.<init>(Menu.java:126)
   at stencyl.sw.SW.initMenu(SW.java:449)
   at stencyl.sw.SW.showWindow(SW.java:632)
   at stencyl.sw.SW.get(SW.java:194)
   at stencyl.sw.SW$1.run(SW.java:183)
   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)

captaincomic

  • *
  • Posts: 6108
Try running as administrator.

The bug has been fixed in the latest build. See: http://community.stencyl.com/index.php/topic,37370.0.html


Zeldhoron

  • Posts: 2
Running Stencyl as admin fixes this.

mdotedot

  • Posts: 1654
Hello Captain,

Zeldhoron and myself worked it out in chat. And that post was indeed helpful!

Thanks!

Best regards from
M.E.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.