PDA

View Full Version : Application Error


Thortok2000
01-02-2008, 06:32 AM
Occurs when I try to upload.

Error: The following required field is missing from the launch file: <jnlp>

There's two tabs. The first one is called "Launch File".

<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given</p>
<p>Filename: mysql/mysql_driver.php</p>
<p>Line Number: 232</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given</p>
<p>Filename: mysql/mysql_driver.php</p>
<p>Line Number: 232</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given</p>
<p>Filename: mysql/mysql_driver.php</p>
<p>Line Number: 232</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: Cannot modify header information - headers already sent by (output started at /var/home/digger/wowdigger/trunk/www/system/libraries/Exceptions.php:164)</p>
<p>Filename: libraries/Db_session.php</p>
<p>Line Number: 248</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: Cannot modify header information - headers already sent by (output started at /var/home/digger/wowdigger/trunk/www/system/libraries/Exceptions.php:164)</p>
<p>Filename: controllers/uploader.php</p>
<p>Line Number: 49</p>

</div><?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"
codebase="http://wowdigger.com/java/"
href="http://wowdigger.com/uploader/jnlp">
<information>
<title>WoWDigger Uploader**********
<vendor>IncGamers</vendor>
<description>WoWDigger Uploader</description>
<homepage href="http://wowdigger.com/"/>
<description kind="short">WoWDigger Uploader</description>
<icon href="http://wowdigger.com/java/icon.gif"/>
<icon kind="splash" href="http://wowdigger.com/java/splash.gif"/>
<offline-allowed/>
<shortcut online="true">
<desktop/>
</shortcut>
</information>
<resources>
<jar href="UploaderSigned.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<resources>
<jar href="xmlrpc-client-3.1-signed.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<resources>
<jar href="xmlrpc-common-3.1-signed.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<resources>
<jar href="ws-commons-util-1.0.2-signed.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<resources>
<jar href="swing-layout-1.0-signed.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<resources>
<jar href="swing-worker-1.1-signed.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<resources>
<jar href="javaws-signed.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<application-desc main-class="com.wowdigger.Uploader"/>
<security>
<all-permissions/>
</security>
</jnlp>

The second is called "Exception"
MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)

chriskl
02-02-2008, 07:38 AM
This might have been a temporary issue while the site was having some problems? Is it still occurring?

Chris

Thortok2000
02-02-2008, 07:46 AM
Still occurring.

Haven't been able to upload in awhile. Occurs every single time without fail. The application doesn't even start running or anything.

TPMdm
02-02-2008, 07:11 PM
I'm getting something strange aswell, but I fear it has something to do with my java? I'm not sure and my thread about it has gotten no response.
I get:
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Documents and Settings\xxx\Application Data\Sun\Java\Deployment\cache\6.0\45\77a329ed-4abdfcf5]
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)


and

java.io.FileNotFoundException: C:\Documents and Settings\xxx\Application Data\Sun\Java\Deployment\cache\6.0\45\77a329ed-4abdfcf5 (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)

Whenever I try to use the uploader.

Thortok2000
03-02-2008, 06:50 PM
Would really like to see this issue fixed. I cannot upload any data at all.

chriskl
04-02-2008, 01:32 AM
It does seem to be some sort of Java issue.

How about trying two things:

1. Get the latest version of Java here:

http://www.java.com/getjava/

2. Try re-downloading the uploader here:

http://wowdigger.com/uploader

(Click the link)

Let us know if that helps,

Chris

Would really like to see this issue fixed. I cannot upload any data at all.

TPMdm
05-02-2008, 01:13 AM
I did a little digging and it appears my particular error is an old known issue with webstart 1.0 - 1.2 (if that makes any sense to you java guys). There were listed some workarounds to try, but non of them worked for me (clearing the browser cash, reinstall, etc.)

Thortok2000
05-02-2008, 05:46 AM
Didn't help. =( One of the first things I tried actually, but I tried again in case you had done something. Error still occurs 100% of the time.

It does seem to be some sort of Java issue.

How about trying two things:

1. Get the latest version of Java here:

http://www.java.com/getjava/

2. Try re-downloading the uploader here:

http://wowdigger.com/uploader

(Click the link)

Let us know if that helps,

Chris

Thortok2000
08-02-2008, 07:16 PM
Error still occurring.

Thortok2000
09-02-2008, 10:51 PM
The feature I've been waiting for...showing what you have yet to learn...is now finally out, and I can't upload my characters anymore. -.-

Thortok2000
09-02-2008, 11:58 PM
I fixed it. I uninstalled Java completely, reinstalled, deleted the cache, and tried again, and this time it worked. I don't know which of those steps did it, though.

Rushster
10-02-2008, 01:01 AM
Probably the java reainstall Thortok. Sounds like it was b0rked on your machine.

Thortok2000
10-02-2008, 08:14 AM
Well, 'just' a reinstall didn't work previously. I think it was the cache deletion actually, but oh well, it's working again, yay!

TPMdm
10-02-2008, 04:47 PM
I fixed mine recently aswell. I deleted the wowuploader references that Rush mentioned in the sticky thread, then re-insalled digger. Works like a charm now.