Fatal: Launch Error: Could Not Launch JNLP File.

Asked by Paul Coker

Please forgive my ignorance here I am a noob and would appreciate any help that you can give me. I am getting this problem:

Fatal: Launch Error: Could Not Launch JNLP.

net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:596)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:887)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:590)
 ... 1 more
Caused by: java.lang.ExceptionInInitializerError
 at General.StartApplet.init(Unknown Source)
 at General.StartApplet.startAppli(Unknown Source)
 at IGIndex.IGStarter.init(Unknown Source)
 at IGIndex.IGStarter.main(Unknown Source)
 ... 6 more
Caused by: java.lang.NullPointerException
 at obs.VV.Rh(Unknown Source)
 at obs.VV.<init>(Unknown Source)
 at obs.VV.<clinit>(Unknown Source)
 ... 10 more
Caused by:
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:590)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:887)
Caused by: java.lang.ExceptionInInitializerError
 at General.StartApplet.init(Unknown Source)
 at General.StartApplet.startAppli(Unknown Source)
 at IGIndex.IGStarter.init(Unknown Source)
 at IGIndex.IGStarter.main(Unknown Source)
 ... 6 more
Caused by: java.lang.NullPointerException
 at obs.VV.Rh(Unknown Source)
 at obs.VV.<init>(Unknown Source)
 at obs.VV.<clinit>(Unknown Source)
 ... 10 more

I have tried searching the net for information and tried a couple of solutions - none of which appeared to work for me, however I am prepared to admit that the reason these did not work is purely my lack of knowledge in Linux.

I am running Ubuntu 11.04 ootb with restricted extras installed. I have java- icedtea6 and flash plugins installed. Please help me before I revert back to Windows (UUURGGGH) - given that I am a novice user please keep it very simple. Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

What are you doing that triggers this problem? Is there some task you are performing, website you are visiting, program you are using, or command you are running in the Terminal?

Revision history for this message
Paul Coker (paulcoker98) said :
#2

Thanks for coming back to me.

I am running Mozilla and attempting to run some rapidly updating charts which I use to trade stocks and shares. The data is real time and rapidly changing the site is through igindex.co.uk but it seems that this is a portal to the charts which are coming from it-finance.com. The chart starts to download and a file is downloaded to the PC "itcharts.jnlp" but when the system tries to go to the next stage which would be to open the charts in other window(s) I get the error code and no charts load. Incidentally the IGIndex site remains open and functional. All pages are https:

Hope this helps...

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

This is probably a bug in the website, but if it doesn't get triggered when you access the site from Windows, then perhaps you can use a different Java implementation and avoid triggering it on Ubuntu as well. You are currently using the official free open source software implementation of Java (OpenJDK and IcedTea). On Windows, you were probably using the official proprietary implementation of Java. If you are willing to try using (the GNU/Linux version of) that on Ubuntu, it's possible you might get relief from this problem.

If you want to do that, make sure to remove all openjdk-6 and icedtea packages. This command (run in the Terminal, which you can open with Ctrl+Alt+T) will perform both actions:

sudo apt-get --purge remove icedtea-\* openjdk-\* sun-java6-jre+ sun-java6-plugin+

In order for that command to succeed, you must *first* enable either the partner repository (https://help.ubuntu.com/community/Repositories/Ubuntu#Adding%20Canonical%20Partner%20Repositories) or the unofficial ferramroberto PPA (http://compixels.com/6805/how-to-install-java-in-ubuntu-11-04-natty-narwhal-via-ppa).

If that command is split into two lines in your email, then you can come to https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/168397 to copy it to the clipboard (rather than having to retype it manually).

If you successfully install the proprietary implementation of Java and the same problem occurs, then you may want to try installing Java 7 (either OpenJDK/IcedTea 7 or the proprietary Java 7).

Can you help with this problem?

Provide an answer of your own, or ask Paul Coker for more information if necessary.

To post a message you must log in.