Keefep Posted September 15, 2015 Report Share Posted September 15, 2015 (edited) I'm new. I downloaded, and installed DesignLab 1.0.7 and the application will not start, only producing a splash screen Named: Launch4j, with text: "An error occurred while starting the application". I'm loss....Does a resolution exist? Loss in Michigan Edited September 15, 2015 by Keefep Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 15, 2015 Report Share Posted September 15, 2015 Can you run the ArduinoDebug.exe file in the DesignLab directory and paste the output here? Jack. Quote Link to comment Share on other sites More sharing options...
Brad Posted September 16, 2015 Report Share Posted September 16, 2015 Have a look at my post near the same date as your thread. Use windows search to find "jnidispatch.dll" and see how many instances you have. Now use task manager and see is "javaw,exe" is running.... Try to isolate what app is using java.... I think the IDE will grab a handle on the in memory jnidispatch.dll library if its in memory from another app.... Try to stop the suspect app and the corersponding "javaw.dll". Then delete the "jnidispatch.dll" if its not a critical app for you. Reboot.... Make sure you have no "javaw.exe" task running. Now try and launch the ide again. No promises, I had to fuss around a bit. Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 21, 2015 Author Report Share Posted September 21, 2015 Running Arduino_debug results:Window opens and two instances of the text string are printed:"Could not find boards.txt in C:\DesignLab-1.0.7\hardware\zpuino\zpu. Is it pre-1.5?" Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 21, 2015 Author Report Share Posted September 21, 2015 Search did not find any instances of jnidispatch.dll. There were three instances of javan.exe running. I stopped them all. Search did not turn up an instance of javan.dll. I restarted DesignLab. DesignLab splash screen comes up, after a time the design lab splash scree disappears then a moment later the Launch4j screen appears with text "An error occurred while starting application." Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 21, 2015 Report Share Posted September 21, 2015 You might be having a different problem, can you run the ArduinoDebug.exe and paste the output here? That should tell us what is happening... Jack. Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 21, 2015 Author Report Share Posted September 21, 2015 Running Arduino_debug results:Window opens and two instances of the text string are printed:"Could not find boards.txt in C:\DesignLab-1.0.7\hardware\zpuino\zpu. Is it pre-1.5?" Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 22, 2015 Report Share Posted September 22, 2015 That is a normal popup message I think, what we need is the Java output that is spit out in the black command line window. Please disregard the pop up messages and paste the output from the black window, that should tell us where in the code it is choking. Then I can look at the source code and see at what line numbers it was running and determine where the problem is. Jack. Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 23, 2015 Author Report Share Posted September 23, 2015 I waited longer and received the additional strings (***):"at processing.app.Base.addSketchesSubmenu(Base.java:1874)at processing.app.Base.addSketches(Base.java:1794)" for many lines... *** Window opens and two instances of the text string are printed:"Could not find boards.txt in C:\DesignLab-1.0.7\hardware\zpuino\zpu. Is it pre-1.5?" Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 23, 2015 Report Share Posted September 23, 2015 Ok, we need to get all of the lines that it dumps because that gives us a trace of all the functions that have been called up to the point that it crashes. I looked at the two lines you pasted here and it is opening sketches but I don't see anything crazy. The only thing I can think of with that information is that maybe your preferences file is messed up? Can you go to C:\Users\<Your Username>\AppData\Roaming\DesignLab and either delete the preferences.txt file or delete the whole DesignLab directory? If that does not work then please paste all the lines that it prints out. Thanks,Jack. Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 24, 2015 Author Report Share Posted September 24, 2015 The window which opens does not allow me to copy lines of text, and the beginning lines are loss because they scroll so quickly that the windor buffer is over run. I cannot completely delete the DesignLan directory because the Java directory has protection set which I have not figured out how to overcome. I deleted the preferences.txt and ran debud with following result:Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrary.copyOf(Unknown Source) at java.lang.String.<init><Unknown Source) at java.io.Win32FileSystem.resolve(Unknown Source) at java.io.File.<init>(Unknown Source) at java.io.File.listFiles(Unknown Source) Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 24, 2015 Report Share Posted September 24, 2015 Is it possible that you are out of space on the hard drive? Can you try to run as administrator? Jack. Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 24, 2015 Author Report Share Posted September 24, 2015 (cont'd) at processing.app.Base.addSketches(Base.java:1773) at processing.app.Base.addSketchesSubmenu(Base.java:1874) at processing.app.Base.addSketches(Base.java:1794) ...The last two lines repeat.. Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 24, 2015 Author Report Share Posted September 24, 2015 893 GB free Quote Link to comment Share on other sites More sharing options...
Keefep Posted September 24, 2015 Author Report Share Posted September 24, 2015 im logged in as Admin Quote Link to comment Share on other sites More sharing options...
Keefep Posted October 2, 2015 Author Report Share Posted October 2, 2015 The DesignLab1.07 directory I could not delete. I renamed it and installed DesignLab again...the application opened. Progress. It appears either the file names are too long, or somehow the security settings are so restrictive I could not delete the DesignLab directory. Quote Link to comment Share on other sites More sharing options...
Keefep Posted December 10, 2016 Author Report Share Posted December 10, 2016 I removed Windows from my machine and loaded Ubuntu and (re)loaded DesighLab working now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.