java.lang.reflect.InvocationTargetException

JDK Bug System | Webbug Group | 12 months ago
  1. 0

    Unable to start application with jdk 8u66 on Windows XP

    GitHub | 12 months ago | Rizen59
    java.lang.reflect.InvocationTargetException
  2. 0

    FULL PRODUCT VERSION : java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b18) Java HotSpot(TM) Client VM (build 25.66-b18, mixed mode, sharing) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP SP2 version 5.1.2600] A DESCRIPTION OF THE PROBLEM : Since upgrading to JDK 8u66 from 8u51basics JavaFX application cannot be packaged and launched on Windows XP anymore (tested on 2 differents PC). So for reproduce simply create and show a basic/minimalist JavaFX application. If the application is packaged to a native application with a .exe file the message is that the app : "is not a valid win32 application". If the application is packaged as simple jar and launched with jdk 8u66 I get the exception given in the crash section. I tested with both Ant target and the javafx-maven-plugin. Everything's fine on 8u51 but not in 8u66. I read from other issues that some changes happened in the packager since 8u60. This could be the cause of the problem. REGRESSION. Last worked in version 8u51 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Create a minimalist JavaFX app 2. Package it as self-contained application (with .exe file) with ant task and simply with the javafx-maven-plugin 3. Try to run it on Windows XP ACTUAL - An error popup when launching the executable : the application is not a valid win32 application. ERROR MESSAGES/STACK TRACES THAT OCCUR : Graphics Device initialization failed for : d3d, sw Error initializing QuantumRenderer: no suitable pipeline found java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280) at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:221) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:205) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124) at java.lang.Thread.run(Thread.java:745) Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.RuntimeException: No toolkit found at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:217) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) ... 5 more REPRODUCIBILITY : This bug can be reproduced always.

    JDK Bug System | 12 months ago | Webbug Group
    java.lang.reflect.InvocationTargetException
  3. 0

    Unable to run client on fresh ubuntu VM

    GitHub | 2 years ago | patcon
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running JavaFX Application using framebuffer error Cubieboard A10

    Stack Overflow | 2 years ago | Shantanu Banerjee
    java.lang.reflect.InvocationTargetException
  6. 0

    ODROID Forum • View topic - Running JavaFX 8 on U3

    odroid.com | 1 year ago
    java.lang.reflect.InvocationTargetException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      No toolkit found

      at com.sun.javafx.tk.Toolkit.getToolkit()
    2. com.sun.javafx
      LauncherImpl.launchApplication
      1. com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:217)
      2. com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
      3. com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
      4. com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
      5. com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
      5 frames
    3. Java RT
      LauncherHelper$FXHelper.main
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      5. sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
      5 frames