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

Exception thrown on launching SwingInterop app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx


      It is noticed on x86 Windows Vista, Win 7, launching JavaFX 8 SwingInterop.jar resulted with Exception in thread "main" java.lang.reflect.InvocationTargetException
      and the app failed to load. The issue appears since jre8-b73

      *** Steps to reproduce:
      0) Insdtall jre 8-b73
      1) Get the JavaFX sample from:
      http://jre.us.oracle.com/java/re/javafx/8.0.0/promoted/ea/b73/bundles/windows-i586/javafx_samples-8_0_0-ea-windows-i586.zip

      2) Launch the SwingInterop sample app from step#1 as:

      C:\\javafx-samples-8.0.0-ea>java -jar SwingInterop.jar
      Exception in thread "main" java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
      Caused by: java.lang.NullPointerException
              at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImp
      l.java:235)
              ... 5 more

      ------------------------------------------------------------------------------------------------------------------

      If the app failed to load with the above exception, the issue is reproducible

            kcr Kevin Rushforth
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: