java.lang.NoClassDefFoundError: Could not initialize class javax.swing.UIManager

Oracle Community | 843851 | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Can't use JavaFX SDK with command line

    Oracle Community | 7 years ago | 843851
    java.lang.NoClassDefFoundError: Could not initialize class javax.swing.UIManager

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class javax.swing.UIManager

      at com.sun.embeddedswing.SwingGlueLayer.getSwingGlueLayer()
    2. com.sun.embeddedswing
      SwingGlueLayer.getContextMap
      1. com.sun.embeddedswing.SwingGlueLayer.getSwingGlueLayer(SwingGlueLayer.java:75)
      2. com.sun.embeddedswing.SwingGlueLayer.getContextMap(SwingGlueLayer.java:88)
      2 frames
    3. com.sun.javafx
      Toolkit$1com$ObjLit$5.getContextMapImpl
      1. com.sun.javafx.tk.swing.SwingToolkit.getContextMap(SwingToolkit.fx:277)
      2. com.sun.javafx.tk.Toolkit$1com$ObjLit$5.getContextMapImpl(Toolkit.fx:300)
      2 frames
    4. Java Swing/2D Scene Graph
      FrameJob.wakeUp
      1. com.sun.scenario.ToolkitAccessor.getContextMap(ToolkitAccessor.java:51)
      2. com.sun.scenario.Settings.getInstance(Settings.java:61)
      3. com.sun.scenario.Settings.getBoolean(Settings.java:132)
      4. com.sun.scenario.animation.AbstractMasterTimer.<clinit>(AbstractMasterTimer.java:71)
      5. com.sun.scenario.animation.FrameJob.wakeUp(FrameJob.java:34)
      5 frames
    5. com.sun.javafx
      Toolkit.triggerNextPulse
      1. com.sun.javafx.tk.Toolkit.triggerNextPulse(Toolkit.fx:169)
      1 frame
    6. javafx.scene
      Scene.applyDefaults$
      1. javafx.scene.Scene.addToDirtyCSSList(Scene.fx:274)
      2. javafx.scene.Node.impl_reapplyCSS(Node.fx:3085)
      3. javafx.scene.Node.onReplace$scene(Node.fx:479)
      4. javafx.scene.Parent.onReplace$scene(Parent.fx:129)
      5. javafx.scene.Node.set$scene(Node.fx:283)
      6. javafx.scene.Scene.applyDefaults$(Scene.fx:514)
      6 frames
    7. Unknown
      Main.javafx$run$
      1. Main.javafx$run$(Main.fx:10)
      1 frame