sahwar / microemu

Automatically exported from code.google.com/p/microemu
0 stars 0 forks source link

MicroEmulator Webstart issue - JNLP with errors #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
>> What steps will reproduce the problem?
I was testing with a JAD/JAR of mine, but the same error happens with an 
example application. Use this Microemulator webstart url: 
   http://microemu.org/microemu-webstart/open/mail.google.com/app/gmail.jnlp?make=Generic&model=Advanced%20MIDP2&ver=v1.5.0.1191

>> What is the expected output? What do you see instead?
There's a text at the beginning of the JNLP file that was generated. 
<br />
<b>Deprecated</b>:  Function ereg_replace() is deprecated in 
<b>/home/content/b/a/r/barteo/html/webstart/jnlp-opener.php</b> on line 
<b>39</b><br />
<?xml version="1.0" encoding="utf-8"?>
<jnlp
  spec="1.0+"
  codebase="http://www.microemu.org/microemu-webstart"
  href="../webstart/download.umov.me/Outros/uMov.jnlp">
  <information>
    <title>MicroEmulator</title>

>> What version of the product are you using? On what operating system?
I'm calling the JNLP file. Updating the JNLP taking out that HTML code, the 
version is 2.0.4.62.

>> Please provide any additional information below.
The exception is: 
MissingFieldException[ The following required field is missing from the launch 
file: <jnlp>]
    at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:107)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:84)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:102)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:147)
    at com.sun.javaws.Main.launchApp(Main.java:412)
    at com.sun.javaws.Main.continueInSecureThread(Main.java:283)
    at com.sun.javaws.Main$1.run(Main.java:116)
    at java.lang.Thread.run(Thread.java:680)

Original issue reported on code.google.com by dwi...@trevisantecnologia.com.br on 13 Sep 2012 at 7:22