Modify ↓
#16657 closed defect (invalid)
ClassNotFoundException: javafx.embed.swing.JFXPanel
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin streetside | Version: | |
Keywords: | template_report javafx linux mint | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Crash on new layer
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-08-18 16:16:51 +0200 (Sat, 18 Aug 2018) Build-Date:2018-08-18 16:30:21 Revision:14163 Relative:URL: ^/trunk Identification: JOSM/1.5 (14163 en) Linux LMDE 3 Cindy Memory Usage: 342 MB / 699 MB (96 MB allocated, but free) Java version: 1.8.0_171-8u171-b11-1~deb9u1-b11, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1024x768 Maximum Screen Size: 1024x768 Java package: openjdk-8-jre:amd64-8u171-b11-1~deb9u1 Dataset consistency test: No problems found Plugins: + CustomizePublicTransportStop (34501) + MicrosoftStreetside (34577) + PicLayer (34544) + ShapeTools (1230) + apache-commons (34506) + apache-http (34506) + dataimport (34575) + ejml (34389) + geojson (87) + geotools (34513) + gson (34389) + imagery_offset_db (34506) + jaxb (34506) + jna (34492) + jogl (1.2.1) + jts (34524) + log4j (34527) + opendata (34576) + photo_geotagging (34576) + photoadjust (34543) + reverter (34552) + undelete (34568) + utilsplugin2 (34506) Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - E: Handled by bug report queue: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin MicrosoftStreetside. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel. Cause: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel - W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>CustomizePublicTransportStop</li><li>imagery_offset_db</li><li>apache-commons</li><li>photoadjust</li><li>geotools</li><li>opendata</li><li>jts</li><li>dataimport</li><li>ejml</li><li>ShapeTools</li><li>reverter</li><li>geojson</li><li>jaxb</li><li>utilsplugin2</li><li>photo_geotagging</li><li>undelete</li><li>gson</li><li>jogl</li><li>jna</li><li>MicrosoftStreetside</li><li>PicLayer</li><li>apache-http</li><li>log4j</li></ul>The plugins are not going to be loaded.</html> === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-1 (17) of main org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin MicrosoftStreetside at org.openstreetmap.josm.plugins.PluginProxy.handlePluginException(PluginProxy.java:60) at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:71) at org.openstreetmap.josm.gui.MainPanel.updateContent(MainPanel.java:78) at org.openstreetmap.josm.gui.MainPanel$1.beforeFirstLayerAdded(MainPanel.java:155) at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:279) at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:217) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:237) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:217) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:206) at org.openstreetmap.josm.actions.NewAction.actionPerformed(NewAction.java:31) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2238) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2296) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4897) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4475) at java.awt.Container.dispatchEventImpl(Container.java:2282) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: 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:498) at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:66) ... 48 more Caused by: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:74) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.openstreetmap.josm.plugins.streetside.gui.StreetsideViewerDialog.<init>(StreetsideViewerDialog.java:35) at org.openstreetmap.josm.plugins.streetside.gui.StreetsideViewerDialog.getInstance(StreetsideViewerDialog.java:46) at org.openstreetmap.josm.plugins.streetside.StreetsidePlugin.mapFrameInitialized(StreetsidePlugin.java:82) ... 53 more Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:74) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 68 more === RUNNING THREADS === Thread: Nashorn AST Serializer (29) sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748) Thread: Signal Dispatcher (4) of system Thread: JCS-ElementEventQueue-Thread-6 (27) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748) Thread: Image Fetcher 1 (40) java.lang.Object.wait(Native Method) sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:147) sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:200) sun.awt.image.ImageFetcher.run(ImageFetcher.java:169) Thread: Timer-2 (38) of main java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) java.util.TimerThread.mainLoop(Timer.java:526) java.util.TimerThread.run(Timer.java:505) Thread: Image Fetcher 0 (39) java.lang.Object.wait(Native Method) sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:147) sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:200) sun.awt.image.ImageFetcher.run(ImageFetcher.java:169) Thread: Image Fetcher 2 (41) java.lang.Object.wait(Native Method) sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:147) sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:200) sun.awt.image.ImageFetcher.run(ImageFetcher.java:169) Thread: WeakCollectionCleaner (30) of main java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:66) Thread: File Watcher (10) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492) java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680) sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118) org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120) org.openstreetmap.josm.io.FileWatcher$$Lambda$6/1274370218.run(Unknown Source) java.lang.Thread.run(Thread.java:748) Thread: AWT-Shutdown (18) of system java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295) java.lang.Thread.run(Thread.java:748) Thread: Timer-1 (37) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Timer.java:552) java.util.TimerThread.run(Timer.java:505) Thread: Thread-1 (9) of main sun.nio.fs.LinuxWatchService.poll(Native Method) sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47) sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314) java.lang.Thread.run(Thread.java:748) Thread: Thread-3 (20) of main Thread: Java2D Disposer (13) of system java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) sun.java2d.Disposer.run(Disposer.java:148) java.lang.Thread.run(Thread.java:748) Thread: TimerQueue (19) of system sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.DelayQueue.take(DelayQueue.java:211) javax.swing.TimerQueue.run(TimerQueue.java:174) java.lang.Thread.run(Thread.java:748) Thread: DestroyJavaVM (36) of main Thread: GT authority factory disposer (28) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Timer.java:552) java.util.TimerThread.run(Timer.java:505) Thread: Reference Handler (2) of system java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) java.lang.ref.Reference.tryHandlePending(Reference.java:191) java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153) Thread: Weak reference cleaner (22) of main java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60) org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$109/136393487.run(Unknown Source) java.lang.Thread.run(Thread.java:748) Thread: AWT-XAWT (16) of system sun.awt.X11.XToolkit.waitForEvents(Native Method) sun.awt.X11.XToolkit.run(XToolkit.java:568) sun.awt.X11.XToolkit.run(XToolkit.java:532) java.lang.Thread.run(Thread.java:748) Thread: Timer-0 (31) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Timer.java:552) java.util.TimerThread.run(Timer.java:505) Thread: Finalizer (3) of system java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:212) Thread: AWT-EventQueue-1 (17) of main Stacktrace see above. Thread: Map Status Collector (42) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:434) java.lang.Thread.run(Thread.java:748)
Attachments (0)
Change History (2)
comment:1 by , 7 years ago
Component: | Core → Plugin streetside |
---|---|
Description: | modified (diff) |
Keywords: | javafx linux mint added |
Resolution: | → invalid |
Status: | new → closed |
Summary: | Crash on new layer → ClassNotFoundException: javafx.embed.swing.JFXPanel |
comment:2 by , 3 years ago
With Ubuntu 22.04 the installation of the package "openjfx" https://packages.ubuntu.com/jammy/openjfx was not enough, I also had to add the parameters "module-path" and "add-modules":
java --module-path /usr/share/openjfx/lib --add-modules javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -jar ~/josm-latest.jar
Note:
See TracTickets
for help on using tickets.
Please install JavaFX/openjfx if you want to use StreetSide plugin.