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

DataApp: client doesn't open browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7u40
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      win7, jdk7u40 b26 32bit, fx2.2.40 b26 32 bit

      Backports

        Description

        When I try to open http://localhost:8080/DataAppServer in browser I got error message

        JavaFX application could not launch due to system configuration (show error details). See java.com/javafx for troubleshooting information.

        And following exception in java console

        CacheEntry[http://localhost:8080/DataAppServer/DataAppClient.jar]: updateAvailable=true,lastModified=Thu Jun 20 15:16:58 MSK 2013,length=2375558
        CacheEntry[http://localhost:8080/DataAppServer/DataAppPreloader.jar]: updateAvailable=true,lastModified=Thu Jun 20 15:16:58 MSK 2013,length=137844
        access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
        http://localhost:8080/DataAppServer/DataAppClient.jar!/com/javafx/experiments/dataapp/client/livetab/live-tab.fxml:47
        http://localhost:8080/DataAppServer/DataAppClient.jar!/com/javafx/experiments/dataapp/client/dataapp.fxml:49
          at java.security.AccessControlContext.checkPermission(Unknown Source)
          at java.security.AccessController.checkPermission(Unknown Source)
          at java.lang.SecurityManager.checkPermission(Unknown Source)
          at sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source)
          at java.lang.SecurityManager.checkMemberAccess(Unknown Source)
          at java.lang.Class.checkMemberAccess(Unknown Source)
          at java.lang.Class.getDeclaredFields(Unknown Source)
          at sun.reflect.misc.FieldUtil.getDeclaredFields(Unknown Source)
          at javafx.fxml.FXMLLoader.getControllerFields(Unknown Source)
          at javafx.fxml.FXMLLoader.access$1400(Unknown Source)
          at javafx.fxml.FXMLLoader$ValueElement.processValue(Unknown Source)
          at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader$IncludeElement.constructValue(Unknown Source)
          at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at com.javafx.experiments.dataapp.client.DataApplication.init(DataApplication.java:101)
          at com.sun.javafx.applet.FXApplet2.init(Unknown Source)
          at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(Unknown Source)
          at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)

        access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
        http://localhost:8080/DataAppServer/DataAppClient.jar!/com/javafx/experiments/dataapp/client/livetab/live-tab.fxml:47
        http://localhost:8080/DataAppServer/DataAppClient.jar!/com/javafx/experiments/dataapp/client/dataapp.fxml:49
          at java.security.AccessControlContext.checkPermission(Unknown Source)
          at java.security.AccessController.checkPermission(Unknown Source)
          at java.lang.SecurityManager.checkPermission(Unknown Source)
          at sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source)
          at java.lang.SecurityManager.checkMemberAccess(Unknown Source)
          at java.lang.Class.checkMemberAccess(Unknown Source)
          at java.lang.Class.getDeclaredFields(Unknown Source)
          at sun.reflect.misc.FieldUtil.getDeclaredFields(Unknown Source)
          at javafx.fxml.FXMLLoader.getControllerFields(Unknown Source)
          at javafx.fxml.FXMLLoader.access$1400(Unknown Source)
          at javafx.fxml.FXMLLoader$ValueElement.processValue(Unknown Source)
          at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader$IncludeElement.constructValue(Unknown Source)
          at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at javafx.fxml.FXMLLoader.load(Unknown Source)
          at com.javafx.experiments.dataapp.client.DataApplication.init(DataApplication.java:101)
          at com.sun.javafx.applet.FXApplet2.init(Unknown Source)
          at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(Unknown Source)
          at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)

        java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
        at java.security.AccessControlContext.checkPermission(Unknown Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkMemberAccess(Unknown Source)
        at java.lang.Class.checkMemberAccess(Unknown Source)
        at java.lang.Class.getDeclaredFields(Unknown Source)
        at sun.reflect.misc.FieldUtil.getDeclaredFields(Unknown Source)
        at javafx.fxml.FXMLLoader.getControllerFields(Unknown Source)
        at javafx.fxml.FXMLLoader.access$1400(Unknown Source)
        at javafx.fxml.FXMLLoader$ValueElement.processValue(Unknown Source)
        at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
        at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader$IncludeElement.constructValue(Unknown Source)
        at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
        at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
        at com.javafx.experiments.dataapp.client.DataApplication.init(DataApplication.java:101)
        at com.sun.javafx.applet.FXApplet2.init(Unknown Source)
        at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dmasada Debra Masada (Inactive)
                Reporter:
                asakharu Aleksandr Sakharuk (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: