[FIXED] Error with latest update to jUniUploader

Support and feedback for NetherPanel
AKA java UniUploader

[FIXED] Error with latest update to jUniUploader

Postby mfoley » Tue Oct 02, 2007 9:06 am

A member of my guild posted to our forums that they are getting an exception when clicking the link. As I suspected, it appears the app has been updated recently and now even I am unable to run the app. Here's the Exception:

Code: Select all
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://lhunath.lyndir.com/jUniUploader/" href="http://www.tyrannyofsouls.com/uniadmin/jUniUploader.jnlp">
  <information>
    <title>jUniUploader</title>
    <vendor>Lhunath</vendor>
    <homepage href="http://lhunath.lyndir.com/jUniUploader"/>
    <description>Upload World of Warcraft character data to online rosters and administer addons.</description>
    <description kind="short">UniUploader for Java.</description>
    <icon href="http://lhunath.lyndir.com/jUniUploader/wow.png" kind="default"/>
    <icon href="http://lhunath.lyndir.com/jUniUploader/splash.png" kind="splash"/>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java max-heap-size="536870912" href="http://java.sun.com/products/autodl/j2se" version="1.5+"/>
    <jar href="http://lhunath.lyndir.com/jUniUploader/jUniUploader.jar" download="eager" main="false"/>
    <jar href="http://lhunath.lyndir.com/jUniUploader/BaseSystem.jar" download="eager" main="false"/>
    <property name="uniadmin" value="http://tyrannyofsouls.com/uniadmin/interface.php"/>
  </resources>
  <application-desc/>
</jnlp> ]
   at com.sun.javaws.LaunchDownload.getMainClassName(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)


Here is my JNLP (Launch file tab):
Code: Select all
<?xml version="1.0" encoding="utf-8"?>

<!-- !!! IMPORTANT !!!
    You must modify the next line so that
        href="jUniUploader.jnlp"
    becomes
        href="http://www.tyrannyofsouls.com/uniadmin/jUniUploader.jnlp"
    This URL is the URL that you would type in your browser to open this JNLP file. -->
<jnlp spec="1.0+" codebase="http://lhunath.lyndir.com/jUniUploader" href="http://www.tyrannyofsouls.com/uniadmin/jUniUploader.jnlp">

    <information>
        <title>jUniUploader</title>
        <vendor>Lhunath</vendor>
        <description>Upload World of Warcraft character data to online rosters and administer addons.</description>
        <description    kind="short">UniUploader for Java.</description>
        <homepage       href="http://lhunath.lyndir.com/jUniUploader"   />
        <icon           href="wow.png"                                  />
        <icon           kind="splash"
                        href="splash.png"                               />
        <offline-allowed                                                />
    </information>

    <application-desc                                                   />

    <security>
        <all-permissions                                                />
    </security>

    <resources>
        <j2se href="http://java.sun.com/products/autodl/j2se"
              version="1.5+"
              max-heap-size="512m"                                      />
        <jar  href="jUniUploader.jar"                                   />
        <jar  href="BaseSystem.jar"                                     />
        <!--
            This part allows some OPTIONAL configuration.
            You may leave this alone if you aren't interested in what it has to offer.

            With the settings below, you can configure the default behaviour of jUniUploader when started with this JNLP file.

            REMEMBER:  Most default settings are taken from UniAdmin.
                       If you don't have UniAdmin installed yet,
                       you should probably do so now and use that to set
                       some defaults for jUniUploader.

            property name   |   property value's description
                        ====|====
                            |
            uniadmin        |   Put the URL of your UniAdmin installation here.
                            |   For Example:  http://androgynous-guild.com/roster/uniadmin/interface.php
                        ----|----
            theme           |   Put the name of a theme or the HTML Hex code of the base color of your custom theme.
                            |   Available theme names:   Fog, Dew, Candy, Aztek, Nature, Forest, Oak,
                            |                            Salt. Baby, Sunlit, Coral, Tech, Aurora, Blood.
                            |   Or a color, for example: #DD66CC, #336699, #99CC33, ...

            (Remove the !-- and -- at the beginning and end of the following lines if you want to use them.)
        -->
        <property name="uniadmin"
                     value="http://tyrannyofsouls.com/uniadmin/interface.php"     />
        <!--property name="theme"
                     value="THEME"                                                      /-->
    </resources>

</jnlp>
Last edited by mfoley on Tue Oct 02, 2007 6:41 pm, edited 2 times in total.
User avatar
mfoley
WR.net Apprentice
WR.net Apprentice
 
Posts: 55
Joined: Tue Aug 08, 2006 11:27 am

Error with latest update to jUniUploader

Postby aegnor » Tue Oct 02, 2007 6:11 pm

my guild is suffering from the same error. it sounds like an certificate problem.
User avatar
aegnor
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Fri Aug 18, 2006 8:48 am

Error with latest update to jUniUploader

Postby lhunath » Tue Oct 02, 2007 6:39 pm

This has been fixed yesterday.

I should have made a public notice to everybody using a customized JNLP file that they need to update it.

This is what has changed about the JNLP file:
Code: Select all
<application-desc                                                   />

Replace this with:
Code: Select all
<application-desc main-class="com.lyndir.lhunath.juniuploader.ui.Gui" />


The cause for this change is that signing a JAR overwrites its executable properties meaning now the JNLP file has to specify how to execute the JAR.

Don't hesitate to report any further feedback about this issue.
Last edited by lhunath on Tue Oct 02, 2007 6:40 pm, edited 1 time in total.
"OK, so ten out of ten for style, but minus several million for good thinking, yeah?"
-- Zaphod Beeblebrox


= NetherPanel: home - launch - tickets =
User avatar
lhunath
UA/UU Developer
UA/UU Developer
 
Posts: 201
Joined: Sat Jul 22, 2006 12:32 pm

[FIXED] Error with latest update to jUniUploader

Postby aegnor » Tue Oct 02, 2007 10:59 pm

thank you :)
User avatar
aegnor
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Fri Aug 18, 2006 8:48 am


Return to NetherPanel

Who is online

Users browsing this forum: No registered users and 0 guests

cron