JavaWebStart : hostname can't be null

649 views
Skip to first unread message

Frédéric Sapet

unread,
May 13, 2014, 12:17:18 PM5/13/14
to igv-...@googlegroups.com
Hello

I'm trying to set up a web page in order to launch our own IGV (our genome and data server) from the JNLP files.

It works fine for me and one of my collegue.

But using another computer, we are facing this error :

java.lang.IllegalArgumentException: hostname can't be null

                at java.net.InetSocketAddress.checkHost(Unknown Source)

                at java.net.InetSocketAddress.<init>(Unknown Source)

                at org.broad.igv.util.HttpUtils.openConnection(HttpUtils.java:650)

                at org.broad.igv.util.HttpUtils.openConnection(HttpUtils.java:607)

                at org.broad.igv.util.HttpUtils.openConnectionHeadOrGet(HttpUtils.java:270)

                at org.broad.igv.util.HttpUtils.resourceAvailable(HttpUtils.java:246)

                at org.broad.igv.util.ParsingUtils.pathExists(ParsingUtils.java:503)

                at org.broad.igv.ui.IGV.loadGenomeById(IGV.java:641)

                at org.broad.igv.ui.IGV$StartupRunnable.run(IGV.java:2435)

                at org.broad.igv.util.LongRunningTask.submit(LongRunningTask.java:42)

                at org.broad.igv.ui.IGV.startUp(IGV.java:2389)

                at org.broad.igv.ui.Main.open(Main.java:224)

                at org.broad.igv.ui.Main.main(Main.java:71)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at com.sun.javaws.Launcher.executeApplication(Unknown Source)

                at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

                at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)

                at com.sun.javaws.Launcher.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

It seems to be related to a configuration error (as it works on two other computers) but I'm unable to find a solution.

Could somebody help me ?

JAVA version is the latest one and we have tried to clear both Java and Browser cache (https://www.java.com/en/download/help/webcache.xml / http://support.blackboardcollaborate.com/ics/support/default.asp?deptID=8336&task=knowledge&questionID=2392) without any results.

IGV is the latest too : 2.3.32

thank you.

Fred

James Robinson

unread,
May 13, 2014, 12:46:27 PM5/13/14
to igv-help
Can you set a breakpoint at at org.broad.igv.util.HttpUtils.openConnection(HttpUtils.java:650)  and see what the URL is its trying to load?   

Jim



--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/c8c7aa36-73db-4335-9447-4a7500fbd685%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Frédéric Sapet

unread,
May 14, 2014, 12:10:22 PM5/14/14
to igv-...@googlegroups.com
Hello Jim

I'm not sure that I have enough Java skills in order to do that.

I was able to modify the jnlp file in order to add --genome, --dataserverURL and --genomeServerURL arguments.

Do I need to start from the sources and build the war ?

Fred

Frédéric Sapet

unread,
May 14, 2014, 12:17:57 PM5/14/14
to igv-...@googlegroups.com
Hello Jim

I have tried to build my own jar (ant -Dinclude.libs=true).

I did not set a breakpoint yet, but with my own jar I find this error :

com.sun.deploy.net.JARSigningException: Détection d'une entrée non signée dans la ressource : http://webbib2d.biogemma.fr:82/tools/evaluation_tools/IGV/igv.jar
    at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
    at com.sun.javaws.security.SigningInfo.check(Unknown Source)
    at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
    at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareResources(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.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Fred

James Robinson

unread,
May 14, 2014, 12:24:16 PM5/14/14
to igv-help
Hi Fred,  sorry I thought you were building from source.   If not I can add some diagnostic print statements and send you a link to use.   It doesn't like something about the genomeServerURL,  but without more information its hard to say what precisely is wrong.

I'll send you a link to use later.



Reply all
Reply to author
Forward
0 new messages