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

FXML Loaders fails with javafx 2.2.45 (jre 7u45)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u45
    • javafx
    • windows, linux


      First question why 2.2.45 is not a released version and it is inside jre7u45 (in the release note) ?

      Our application load a FXML andd a new stage on a user action, worked well with older javafx version, now we get this NullPointerException :

      java.lang.NullPointerException
      at myapp.TablePresenter$9.run(Unknown Source)
      at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
      at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
      at com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method)
      at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(Unknown Source)
      at com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source)
      at com.sun.glass.ui.EventLoop.enter(Unknown Source)
      at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$FxWaiter.wait(Unknown Source)
      at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
      at sun.plugin2.message.Pipe.receive(Unknown Source)
      at sun.plugin2.main.client.MessagePassingExecutionContext.doCookieOp(Unknown Source)
      at sun.plugin2.main.client.MessagePassingExecutionContext.getCookie(Unknown Source)
      at sun.plugin2.main.client.PluginCookieSelector.getCookieFromBrowser(Unknown Source)
      at com.sun.deploy.net.cookie.DeployCookieSelector.getCookieInfo(Unknown Source)
      at com.sun.deploy.net.cookie.DeployCookieSelector.get(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.setCookieHeader(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$UrlLoader.getResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.getResourceAsResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.getResourceAsStream(Unknown Source)
      at javax.xml.stream.SecuritySupport$4.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.xml.stream.SecuritySupport.getResourceAsStream(Unknown Source)
      at javax.xml.stream.FactoryFinder.findJarServiceProvider(Unknown Source)
      at javax.xml.stream.FactoryFinder.find(Unknown Source)
      at javax.xml.stream.FactoryFinder.find(Unknown Source)
      at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
      at javafx.fxml.FXMLLoader.load(Unknown Source)
      at myapp.presenters.PresenterFactory.loadFXML(Unknown Source)
      at myapp.presenters.PresenterFactory.getTablePanePresenter(Unknown Source)
      at myapp.presenters.TablePresenter$1.run(Unknown Source)
      at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
      at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
      at com.sun.glass.ui.win.WinApplication$3$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      What could be the reason (security change during fmxl load?) it doesn't work with 2.2.45 ?

      Thank you

            msladecek Martin Sládeček
            valjfx val (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: