Exception while reflectively finding URLPermission - host is probably not running Java 8+

Bug #1544603 reported by Angel Guzman Maeso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icedtea-web (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi, I am trying to use the NetDania NetStation App for trading, that it is a JNLP file.

It can be download here from http://www.netdaniamarkets.com/Supported-Brokers.aspx

After execute NetStation-4_0.njlp, I get the following IcedTea stacktrace:

line: 50 </jnlp>

line: 49 </application-desc>
line: 48     <argument>http://www.netdaniamarkets.com/NetStation/ws-config.zip</argument>
line: 47     <argument>ws-config</argument>
line: 46 <application-desc main-class="com.netdania.netstation.NetStationApplet">
line: 45 </resources>
line: 44     <property name="jnlp.packEnabled" value="true"/>
line: 43     <jar href="http://showroom-balancer.netdania.com/Website/Streaming/fxcm-report-api.jar" download="lazy"/>
line: 42     <jar href="http://showroom-balancer.netdania.com/Website/Streaming/fxmsg.jar" download="lazy"/>
line: 41     <jar href="http://showroom-balancer.netdania.com/Website/Streaming/NetStation-4_0.zip"/>
line: 40     <j2se version="1.5+" initial-heap-size="128m" max-heap-size="1024m" java-vm-args="-Djava.net.preferIPv4Stack=true -Dsun.java2d.d3d=false -Dsun.java2d.noddraw=true"/>
line: 39 <resources>
line: 38 </security>
line: 37     <all-permissions/>
line: 36 <security>
line: 35 <update check="background" policy="always"/>
line: 34 </information>
line: 33    </shortcut>
line: 32         <menu submenu="NetDaniaMarkets NetStation"/>
line: 31         <desktop/>
line: 30     <shortcut online="true">
line: 29     <offline-allowed/>
line: 28     <icon kind="splash" href="NS-animation-black.gif"/>
line: 27     <icon href="img/icon64.icns" width="64" height="64"/>
line: 26     <description kind="tooltip">NetDaniaMarkets NetStation</description>
line: 25     <description kind="short">NetStation</description>
line: 24     <description>NetDaniaMarkets NetStation</description>
net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file. You can try to download this file manually and send it as bug report to IcedTea-Web team.     at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:490)     at net.sourceforge.jnlp.Launcher.launch(Launcher.java:286)     at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:245)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)     at java.security.AccessController.doPrivileged(Native Method)     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:195) Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax.     at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:118)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:606)     at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1331)     at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:781)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:231)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:213)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:198)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:184)     at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:454)     ... 6 more Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of the XML definition at line 1: Expected: '<' but got: ''     at net.sourceforge.nanoxml.XMLElement.expectedInput(XMLElement.java:1172)     at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:500)     at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:461)     at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:114)     ... 17 more
netx: Read Error: Could not read or parse the JNLP file. (Invalid XML document syntax. (XML Parse Exception during parsing of the XML definition at line 1: Expected: '<' but got: ''))
line: 23     <homepage href="http://www.netdaniamarkets.com"/>
line: 22     <vendor>NetDaniaMarkets</vendor>
line: 21     <title>NetStation Live</title>
line: 20 <information os="Mac">
line: 19 </information>
line: 18    </shortcut>
line: 17         <menu submenu="NetDaniaMarkets NetStation"/>
line: 16         <desktop/>
line: 15     <shortcut online="true">
line: 14     <offline-allowed/>
line: 13     <icon kind="splash" href="NS-animation-black.gif"/>
line: 12     <icon kind="shortcut" href="img/NS-32x32.png" width="32" height="32"/>
line: 11     <icon kind="shortcut" href="img/NS-48x48.png" width="48" height="48"/>
line: 10     <icon kind="shortcut" href="img/icon64.png" width="64" height="64"/>
line: 9     <description kind="tooltip">NetDaniaMarkets NetStation</description>
line: 8     <description kind="short">NetStation</description>
line: 7     <description>NetDaniaMarkets NetStation</description>
line: 6     <homepage href="http://www.netdaniamarkets.com"/>
line: 5     <vendor>NetDaniaMarkets</vendor>
line: 4     <title>NetStation Live</title>
line: 3 <information>
line: 2 <jnlp spec="1.0+" codebase="http://www.netdaniamarkets.com/NetStation/" href="NetStation-4_0.jnlp">
<?xml version="1.0" encoding="UTF-8"?>
java.lang.ClassNotFoundException: java/net/URLPermission     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:195)     at net.sourceforge.jnlp.SecurityDesc.<clinit>(SecurityDesc.java:159)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:137)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:213)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:198)     at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:184)     at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:454)     at net.sourceforge.jnlp.Launcher.launch(Launcher.java:286)     at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:245)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)     at java.security.AccessController.doPrivileged(Native Method)     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:195)
Exception while reflectively finding URLPermission - host is probably not running Java 8+
JNLP file location: /home/shakaran/Escritorio/NetStation-4_0.jnlp
Proceeding with jnlp
Read 568 entries from Firefox's preferences
Found preferences file: /home/shakaran/.mozilla/firefox/jjgeax7o.default/prefs.js
Using firefox's profiles file: /home/shakaran/.mozilla/firefox/profiles.ini
Starting security dialog thread
    at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:245)
    at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:58)
    at net.sourceforge.jnlp.runtime.Boot.init(Boot.java:326)
    at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:217)
    at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:608)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:895)
    at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:806)
    at java.lang.Class.newInstance(Class.java:383)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at org.GNOME.Accessibility.AtkWrapper.<clinit>(AtkWrapper.java:34)
    at java.lang.Runtime.exec(Runtime.java:347)
    at java.lang.Runtime.exec(Runtime.java:450)
    at java.lang.Runtime.exec(Runtime.java:617)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1016)
    at java.lang.SecurityManager.checkExec(SecurityManager.java:796)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
    at java.security.AccessController.checkPermission(AccessController.java:685)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:474)
java.security.AccessControlException: access denied ("java.io.FilePermission" "/usr/bin/xprop" "execute")
Forcing of offline set to: false
WARNING: key deployment.system.cachedir has no value, setting to default value
java.io.FileNotFoundException: /home/shakaran/.config/icedtea-web/deployment.properties (No existe el archivo o el directorio)     at java.io.FileInputStream.open(Native Method)     at java.io.FileInputStream.<init>(FileInputStream.java:146)     at java.io.FileReader.<init>(FileReader.java:72)     at net.sourceforge.jnlp.config.DeploymentConfiguration.loadComments(DeploymentConfiguration.java:875)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:334)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:296)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:277)     at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.initConfiguration(JNLPRuntime.java:456)     at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.<clinit>(JNLPRuntime.java:451)     at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:486)     at net.sourceforge.jnlp.config.DirectoryValidator.<init>(DirectoryValidator.java:226)     at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:834)     at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15StructureCatched(DeploymentConfiguration.java:734)     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:112)
No User level deployment.properties found.
java.io.FileNotFoundException: /home/shakaran/.config/icedtea-web/deployment.properties (No existe el archivo o el directorio)     at java.io.FileInputStream.open(Native Method)     at java.io.FileInputStream.<init>(FileInputStream.java:146)     at java.io.FileReader.<init>(FileReader.java:72)     at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:659)     at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:482)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:294)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:277)     at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.initConfiguration(JNLPRuntime.java:456)     at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.<clinit>(JNLPRuntime.java:451)     at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:486)     at net.sourceforge.jnlp.config.DirectoryValidator.<init>(DirectoryValidator.java:226)     at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:834)     at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15StructureCatched(DeploymentConfiguration.java:734)     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:112)
cache: /home/shakaran/.cache/icedtea-web file exists:true
config: /home/shakaran/.config/icedtea-web file exists: true
System is already following XDG .cache and .config specifications

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: icedtea-plugin 1.6.1-3ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-1.15-generic 4.4.0
Uname: Linux 4.4.0-1-generic x86_64
ApportVersion: 2.19.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Feb 11 16:05:05 2016
InstallationDate: Installed on 2014-05-08 (644 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: icedtea-web
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.