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

NoClassDefFoundError at app exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • javafx
    • None

      While running simple app which throws an exception from the start() method, the following is printed:

      Exception in Application start method
      QuantumRenderer-0 uncaught: java.lang.NoClassDefFoundError
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(javafx.graphics/LauncherImpl.java:426)
      at com.sun.javafx.application.LauncherImpl.launchApplication(javafx.graphics/LauncherImpl.java:364)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at sun.launcher.LauncherHelper$FXHelper.main(java.base@9.0/LauncherHelper.java:873)
      Caused by: java.lang.RuntimeException: Exception in Application start method
      at com.sun.javafx.application.LauncherImpl.launchApplication1(javafx.graphics/LauncherImpl.java:962)
      at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(javafx.graphics/LauncherImpl.java:220)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)
      Caused by: java.lang.Exception
      at QuantumNoClassDefFound.start(QuantumNoClassDefFound.java:7)
      at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(javafx.graphics/LauncherImpl.java:908)
      at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$29(javafx.graphics/PlatformImpl.java:326)
      at com.sun.javafx.application.PlatformImpl.lambda$null$27(javafx.graphics/PlatformImpl.java:295)
      at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$28(javafx.graphics/PlatformImpl.java:294)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(javafx.graphics/InvokeLaterDispatcher.java:96)
      at com.sun.glass.ui.win.WinApplication._runLoop(javafx.graphics/Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$18(javafx.graphics/WinApplication.java:191)
      ... 1 more
      java.lang.NoClassDefFoundError: com/sun/prism/ResourceFactoryListener
      at com.sun.prism.impl.BaseResourceFactory.getFactoryListeners(javafx.graphics/BaseResourceFactory.java:98)
      at com.sun.prism.impl.BaseResourceFactory.notifyReleased(javafx.graphics/BaseResourceFactory.java:130)
      at com.sun.prism.d3d.D3DResourceFactory.notifyReleased(javafx.graphics/D3DResourceFactory.java:468)
      at com.sun.prism.d3d.D3DPipeline.notifyAllResourcesReleased(javafx.graphics/D3DPipeline.java:187)
      at com.sun.prism.d3d.D3DPipeline.dispose(javafx.graphics/D3DPipeline.java:163)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.cleanup(javafx.graphics/QuantumRenderer.java:118)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(javafx.graphics/QuantumRenderer.java:127)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)
      Caused by: java.lang.ClassNotFoundException: com.sun.prism.ResourceFactoryListener
      at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:390)
      at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
      ... 8 more
      Exception running application QuantumNoClassDefFound

            kcr Kevin Rushforth
            vadim Vadim Pakhnushev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: