Forum Discussion

joshjryan's avatar
joshjryan
Occasional Contributor
14 years ago

loadUI won't launch OSX 10.6

I just installed the Nightly from 14-Apr-2011 and when I double-click on loadUI.command (or the alias on my desktop) I get the following in my terminal:

Last login: Thu Apr 14 09:10:32 on ttys001
/Applications/loadUI/loadUI.command ; exit;
josh-ryan:~ joshjryan$ /Applications/loadUI/loadUI.command ; exit;
logout

[Process completed]


But the program doesn't launch. I see the java icon in my dock for a couple seconds, but never even see the loadUI splash screen.

I have uninstalled and installed a few times, each with the same result.

Java info:

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)


Let me know if there is any more info that I can provide to help trouble-shoot this.

Thanks,
Josh

10 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Josh!

    Sorry that we forgot to answer your post earlier.

    It's really hard to tell what's going on without any error messages. Do you see the Java Web Start splash? Also, would it be possible for you to enable the Java Console before starting loadUI and see if that spits out anything useful?

    Regards!

    /Henrik
    eviware.com
  • joshjryan's avatar
    joshjryan
    Occasional Contributor
    The java icon (see attached) shows in the dock for a few seconds. Also the java console only shows for a few seconds before they both disappear.
    I was able to quickly copy the log from the Java Console, before it quit.

    Let me know if I can provide any more info (I'm sure there's gotta be something more helpful ).

    Thanks,
    Josh
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Thanks!

    The log tells us that java is definately starting and our Main class is being loaded. There is one point in it where it may exit, and that is if it fails to load the config.properties file in the conf directory of the loadUI installation. Can you check so make sure that you have this file? And maybe attach it here so we can see if there is anything wrong with it?

    Regards,
    Dain
    eviware.com
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    I don't see anything wrong with your configuration file... I've made some tweaks to the launcher in the latest nightly build here. Can you try installing it and see if your outcome is any different? You will need to uninstall your existing copy first. Thanks!

    Regards,
    Dain
    eviware.com
  • joshjryan's avatar
    joshjryan
    Occasional Contributor
    Thanks for the help. This looks a little better (at least I'm getting more info from the Java Console now):

    Launching loadUI Build: loadUI-2011-04-21-[3] 2011/04/21 14:28
    java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:883)
    at com.eviware.loadui.launcher.LoadUILauncher.init(LoadUILauncher.java:131)
    at com.eviware.loadui.launcher.LoadUILauncher.main(LoadUILauncher.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.javaws.Launcher.executeApplication(Launcher.java:1909)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
    at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
    at com.sun.javaws.Launcher.run(Launcher.java:138)
    at java.lang.Thread.run(Thread.java:680)
    Exiting...
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Great, this helps us narrow down the problem quite a bit. It seems there is a permissions issue causing a problem creating a file. The file in question should be placed in: ~/.loadui/controller-cache/
    which seems odd, since that directory is in the users home directory, and should be writable. You can try the following in a terminal:


    touch ~/.loadui/controller-cache/loadui.lock


    And see if that works, and if it fixed the problem.

    Regards,
    Dain
    eviware.com
  • joshjryan's avatar
    joshjryan
    Occasional Contributor
    Thanks for the help. I wasn't able to touch that file, but I changed the permissions of controller-cache to 775 and then it all started working.
    Any reason I shouldn't leave the permissions at that level?

    Thanks again,
    Josh
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Glad you got it working! You should be fine leaving it at 775. Did you by any chance take note of what it was set to before you changed it? I'm trying to figure out what may have caused the problem in the first place.

    Regards,
    Dain
    eviware.com
  • joshjryan's avatar
    joshjryan
    Occasional Contributor
    I'm not positive, but I want to say it was 755 before I changed it.