java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

GitHub | m133225 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    FileChooser causing problems in Mac headless mode testing

    GitHub | 8 months ago | m133225
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at com.sun.glass.ui.monocle.MonocleApplication.staticCommonDialogs_showFileChooser()
    2. openjfx-monocle
      MonocleApplication.staticCommonDialogs_showFileChooser
      1. com.sun.glass.ui.monocle.MonocleApplication.staticCommonDialogs_showFileChooser(MonocleApplication.java:297)
      1 frame
    3. com.sun.glass
      CommonDialogs.showFileChooser
      1. com.sun.glass.ui.CommonDialogs.showFileChooser(CommonDialogs.java:212)
      1 frame
    4. com.sun.javafx
      QuantumToolkit.showFileChooser
      1. com.sun.javafx.tk.quantum.QuantumToolkit.showFileChooser(QuantumToolkit.java:1496)
      1 frame
    5. javafx.stage
      FileChooser.showSaveDialog
      1. javafx.stage.FileChooser.showDialog(FileChooser.java:416)
      2. javafx.stage.FileChooser.showSaveDialog(FileChooser.java:392)
      2 frames
    6. address.controller
      RootLayoutController.handleSaveAs
      1. address.controller.RootLayoutController.handleSaveAs(RootLayoutController.java:112)
      1 frame
    7. Java RT
      MethodUtil.invoke
      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:498)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
      6. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      8. java.lang.reflect.Method.invoke(Method.java:498)
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
      9 frames
    8. javafx.fxml
      FXMLLoader$ControllerMethodEventHandler.handle
      1. javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771)
      2. javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
      2 frames
    9. com.sun.javafx
      EventUtil.fireEvent
      1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      4. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      5. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      6. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      7. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
      7 frames
    10. javafx.event
      Event.fireEvent
      1. javafx.event.Event.fireEvent(Event.java:198)
      1 frame
    11. FXSampler
      ContextMenuContent$MenuItemContainer.lambda$createChildren$343
      1. javafx.scene.control.MenuItem.fire(MenuItem.java:462)
      2. com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405)
      3. com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$343(ContextMenuContent.java:1358)
      3 frames
    12. com.sun.javafx
      EventUtil.fireEvent
      1. com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      2. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      4. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      5. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      6. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      7. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      8. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      9. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      10. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      11. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      12. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      13. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      14. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      15. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      15 frames
    13. javafx.event
      Event.fireEvent
      1. javafx.event.Event.fireEvent(Event.java:198)
      1 frame
    14. javafx.scene
      Scene$ScenePeerListener.mouseEvent
      1. javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
      2. javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
      3. javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
      4. javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
      4 frames
    15. com.sun.javafx
      GlassViewEventHandler$MouseEventNotification.run
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380)
      2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)
      2 frames
    16. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    17. com.sun.javafx
      GlassViewEventHandler.handleMouseEvent
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416)
      2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
      3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)
      3 frames
    18. com.sun.glass
      View.notifyMouse
      1. com.sun.glass.ui.View.handleMouseEvent(View.java:555)
      2. com.sun.glass.ui.View.notifyMouse(View.java:937)
      2 frames
    19. openjfx-monocle
      RunnableProcessor.run
      1. com.sun.glass.ui.monocle.MonocleView.notifyMouse(MonocleView.java:118)
      2. com.sun.glass.ui.monocle.input.MouseInput.notifyMouse(MouseInput.java:309)
      3. com.sun.glass.ui.monocle.input.MouseInput.lambda$postMouseEvent$22(MouseInput.java:222)
      4. com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:77)
      5. com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:47)
      5 frames
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame