Forum Discussion

Nessie's avatar
Nessie
Occasional Contributor
12 years ago

[Resolved] LoadUI not starting up

Hi Everyone,

I have had LoadUI working for the past couple of days without any problems (apart from the initial install but that's another story)

The Java exception file shows the following:

Launch file
========
<jnlp spec="1.0+" codebase="file:." href="loadUI.jnlp">
<information>
<title>loadUI</title>
<vendor>eviware</vendor>
<homepage href="http://www.loadui.org/"/>
<description>loadUI</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.7" java-vm-args="-Xms256m -Xmx768m -XX:MaxPermSize=128m -Dsun.java2d.noddraw=true"/>
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
<jar href="lib/loadui-launcher.jar" main="true"/>
<jar href="lib/org.apache.felix.main.jar"/>
<jar href="lib/commons-cli.jar"/>
<jar href="lib/bndlib.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.eviware.loadui.launcher.LoadUILauncher"/>
<update check="timeout" policy="always"/>
</jnlp>

Exception
=======

java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Any help to get this working again would be greatly appreciated.

Kind regards

Ken

4 Replies

  • Nessie's avatar
    Nessie
    Occasional Contributor
    Mark this as resolved:

    For those interested it was down to the way the proxy server authenticates user credentials, the workaround is to open the Java consol in C:\Program Files\SmartBear\loadUI-2.1.1\jre\bin and change the network settings to use the proxy server instead of using the browser settings.

    Hope this helps someone...
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Thanks for sharing!

    This is quite awfully handled by Java Web Start. Luckily, we're getting rid of Java Web Start for the next release.

    Henrik
    SmartBear Software
  • It's huge undertaking and we're looking at an early April release. In what's a purely a port from JavaFX 1 to JavaFX 2, we basically are rewriting the entire GUI. We're doing any major changes to how the GUI works, we just have to make sure it works after the EOL of JavaFX 1.

    /Niclas
    SmartBear Software