Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8109478

Some applets and JNLP applications can't be loaded and exception got thrown.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1
    • fx1.3
    • fx1.3
    • deploy
    • Javafx _SoMa b22
      Mac10.5, WinXP, Win_Vista

    Description

      #environment:
      Javafx _SoMa b22 : http://jre.sfbay.sun.com/java/re/javafx/1.3/promoted/fcs/b22/bundles
      Mac10.5, WinXP, Win_Vista

      #steps to reproduce:
      1) Build the tests using this runtime *http://dl.javafx.com/1.3/*. It would generate "FXAppDeployTests" in FXManual folder.
      2) Copy "FXAppDeployTests" to the web server we sued, for example <http://localserver/deployment/soma_b22>
      3)Open the test page using the right url, for example, < <http://localserver/deployment/soma_b22/FXAppDeployTests>
      4)Run the test case, for example, Applet(signed) and JNLP Application(signed) under SystemProjecties Test.
      #expected result:
      The applet and JNLP applictation loaded successfully.
      # actual result:
      Unable to load the applet and JNLP applictation, and exception got thown in Java Console.

      The exceptions for applet as below:
      Exception in thread "AWT-EventQueue-9" java.lang.Error: Couldn't launch FX Stage test.sqe.appdeploy.SystemPropertiesTest
      at com.sun.javafx.runtime.adapter.AppletStartupRoutine.run(Unknown Source)
      at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
      at jep.MySimpleEventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      Caused by: java.lang.NullPointerException
      at com.sun.javafx.geom.Bounds2D.setBounds(Unknown Source)
      at javafx.scene.Node.getTransformedBounds(Unknown Source)
      at javafx.scene.Parent.recomputeBounds(Unknown Source)
      at javafx.scene.Parent.impl_computeGeomBounds(Unknown Source)
      at javafx.scene.Node.updateGeomBounds(Unknown Source)
      at javafx.scene.Node.getGeomBounds(Unknown Source)
      at javafx.scene.Node.getLocalBounds(Unknown Source)
      at javafx.scene.Node.updateTxBounds(Unknown Source)
      at javafx.scene.Node.getTransformedBounds(Unknown Source)
      at javafx.scene.Scene.userInit$(Unknown Source)
      at com.sun.javafx.runtime.FXBase.complete$(Unknown Source)
      at test.sqe.appdeploy.SystemPropertiesTest$SystemPropertiesTest$Script.applyDefaults$(SystemPropertiesTest.fx:503)
      at test.sqe.appdeploy.SystemPropertiesTest.javafx$run$(SystemPropertiesTest.fx:501)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      ... 10 more

      The exception for JNLP as below:
      java.lang.NullPointerException
      at com.sun.javafx.geom.Bounds2D.setBounds(Unknown Source)
      at javafx.scene.Node.getTransformedBounds(Unknown Source)
      at javafx.scene.Parent.recomputeBounds(Unknown Source)
      at javafx.scene.Parent.impl_computeGeomBounds(Unknown Source)
      at javafx.scene.Node.updateGeomBounds(Unknown Source)
      at javafx.scene.Node.getGeomBounds(Unknown Source)
      at javafx.scene.Node.getLocalBounds(Unknown Source)
      at javafx.scene.Node.updateTxBounds(Unknown Source)
      at javafx.scene.Node.getTransformedBounds(Unknown Source)
      at javafx.scene.Scene.userInit$(Unknown Source)
      at com.sun.javafx.runtime.FXBase.complete$(Unknown Source)
      at test.sqe.appdeploy.SystemPropertiesTest$SystemPropertiesTest$Script.applyDefaults$(SystemPropertiesTest.fx:503)
      at test.sqe.appdeploy.SystemPropertiesTest.javafx$run$(SystemPropertiesTest.fx:501)


      Attachments

        Activity

          People

            ngthomas Thomas Ng (Inactive)
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: