Menu

NullPointerException using Web Start

Help
jmromero
2007-11-13
2013-04-29
  • jmromero

    jmromero - 2007-11-13

    I'm using Multivalent with this features:

    -Windows 2000 SP4
    -java version 1.6.0_03
    -Multivalent20060102.jar
    -java Web Start 1.6.0_03

    I obtain a NullPointerException using Java Web Start, but the application functions well if i don´t use Java Web Start.

    My code is the following:

    (1) Multivalent multivalent = Multivalent.getInstance();
    (2) Browser browser = multivalent.getBrowser("_NEW", "Basic", false);

    I obtain the following NullPointerException in line (2)

    java.lang.NullPointerException
        at com.pt.io.InputUniURI.getLocal(Unknown Source)
        at com.pt.io.InputUniURI.getURI(Unknown Source)
        at multivalent.std.MediaLoader.load(Unknown Source)
        at multivalent.Browser.<init>(Unknown Source)
        at multivalent.Multivalent.getBrowser(Unknown Source)

    I test my application with Multivalent20040415.jar and it crash too:

    java.lang.NullPointerException
        at multivalent.Multivalent.findJARs(Multivalent.java:149)
        at multivalent.Multivalent.getInstance(Multivalent.java:99)

    ¿Anybody have run multivalent with web start?
    ¿Am i doing something wrong?

    Thanks.

     
    • jskolden

      jskolden - 2008-01-22

      Hi there,

      I'm having the same problem with MultiValent and WebStart. Looks like a (incorrect) permission-denied. I've signed my application so it should have access to the file... Sadly, the source-code of the com.pt.io.InputUniURI is not available (at least I cannot find it), so it's hard to say what's really going on.
      If someone has a workaround I would be glad to hear of it.

      Kind regards,
      JS Koldenhof, The Netherlands

      Btw, i'm using java 1.6, Multivalent20060102.jar, IE7.0, XP

       

Log in to post a comment.