Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#20538 closed defect (duplicate)

Problems with matsim plugin - "failed to locate image 'images/dialogs/logo.png"

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Plugin matsim Version: tested
Keywords: template_report Cc: Revision, 17428

Description

What steps will reproduce the problem?

  1. Manually install the newest version of the matsim plugin
  2. Launch JOSM from command line using OpenJDK Java 11 (I do not know how to use the .ini files...please consider giving an example file with explinations on which lines need to be included and what they mean for us non-Windows-comp-sci people - I had to work with a friend to figure out how to tell JOSM to use the correct java version)
  3. Try to import a matsim network

What is the expected result?

That I can see and edit my matsim network

What happens instead?

The program says I need to update the plugin. But the plugin is up to date. Either way, no matter if I click on "update plugin" or "keep plugin" the following information is spit out by JOSM and JOSM also does not update the plugin (if that is what is clicked on). It just goes to this "report" bug pop-up window.

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-12-28 22:03:23 +0100 (Mon, 28 Dec 2020)
Revision:17428
Build-Date:2020-12-29 02:30:53
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17428 en) Windows 10 64-Bit
OS Build number: Windows 10 Education 1803 (17134)
Memory Usage: 485 MB / 5082 MB (298 MB allocated, but free)
Java version: 11.0.9.1+1, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1600×900 (scaling 1.00×1.00) \Display1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32

Plugins:
+ apache-commons (35524)
+ ejml (35458)
+ geotools (35458)
+ javafx-windows (35655)
+ jts (35458)
+ matsim (1.0.5-5-g16bbb45-dirty)

Last errors/warnings:
- 00019.783 E: Failed to locate image 'images/dialogs/logo.png'
- 00019.784 W:  Link: Could not get presets icon images/dialogs/logo.png
- 00080.506 E: Thread main-worker-0 raised java.lang.ExceptionInInitializerError
- 00080.525 E: Handled by bug report queue: java.lang.ExceptionInInitializerError. Cause: javax.validation.NoProviderFoundException: Unable to create a Configuration, because no Jakarta Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.
- 00142.522 E: Thread main-worker-1 raised java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker
- 00142.529 E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker
- 00549.960 E: Thread main-worker-2 raised java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker
- 00549.966 E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker
- 00615.727 E: Thread main-worker-3 raised java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker
- 00615.731 E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-3 (88)
java.lang.NoClassDefFoundError: Could not initialize class org.matsim.core.config.consistency.BeanValidationConfigConsistencyChecker
	at org.matsim.core.config.Config.addCoreModules(Config.java:218)
	at org.matsim.core.config.ConfigUtils.createConfig(ConfigUtils.java:60)
	at org.matsim.contrib.josm.model.Importer.readScenario(Importer.java:74)
	at org.matsim.contrib.josm.model.Importer.createMatsimLayer(Importer.java:52)
	at org.matsim.contrib.josm.actions.ImportAction$1.realRun(ImportAction.java:78)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

=== RUNNING THREADS ===
Thread: QuantumRenderer-0 (42) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: JCS-ElementEventQueue-Thread-1 (39) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: Signal Dispatcher (4) of system

Thread: Timer-0 (53) of main
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.util.TimerThread.mainLoop(Timer.java:553)
java.base@11.0.9.1/java.util.TimerThread.run(Timer.java:506)

Thread: AWT-EventQueue-0 (20) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.desktop@11.0.9.1/java.awt.EventQueue.getNextEvent(EventQueue.java:566)
java.desktop@11.0.9.1/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:190)
java.desktop@11.0.9.1/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
java.desktop@11.0.9.1/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
java.desktop@11.0.9.1/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
java.desktop@11.0.9.1/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.desktop@11.0.9.1/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Thread: Swing-Shell (56) of system
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.desktop@11.0.9.1/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: bug-report-display (65) of main
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.Object.wait(Object.java:328)
app//org.openstreetmap.josm.tools.bugreport.BugReportQueue.getNext(BugReportQueue.java:123)
app//org.openstreetmap.josm.tools.bugreport.BugReportQueue.access$100(BugReportQueue.java:17)
app//org.openstreetmap.josm.tools.bugreport.BugReportQueue$BugReportDisplayRunnable.run(BugReportQueue.java:99)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: JavaFX Application Thread (45) of main
com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
com.sun.glass.ui.win.WinApplication$$Lambda$750/0x00000008007bc040.run(Unknown Source)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: FileSystemWatchService (24) of main
java.base@11.0.9.1/sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
java.base@11.0.9.1/sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1036)
java.base@11.0.9.1/sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:587)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: main-worker-4 (97) of main

Thread: changeset-updater-0 (48) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.9.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@11.0.9.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: AWT-Windows (17) of system
java.desktop@11.0.9.1/sun.awt.windows.WToolkit.eventLoop(Native Method)
java.desktop@11.0.9.1/sun.awt.windows.WToolkit.run(WToolkit.java:305)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: main-worker-3 (88)
Stacktrace see above.

Thread: Weak reference cleaner (26) of main
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
app//org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60)
app//org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$424/0x00000008004bf040.run(Unknown Source)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: Thread-4 (46) of main

Thread: DestroyJavaVM (49) of main

Thread: WeakCollectionCleaner (41) of main
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:65)

Thread: GT authority factory disposer (40) of main
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.util.TimerThread.mainLoop(Timer.java:553)
java.base@11.0.9.1/java.util.TimerThread.run(Timer.java:506)

Thread: ForkJoinPool.commonPool-worker-3 (29) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
java.base@11.0.9.1/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: Java2D Disposer (14) of system
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
java.desktop@11.0.9.1/sun.java2d.Disposer.run(Disposer.java:144)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: Finalizer (3) of system
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
java.base@11.0.9.1/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)

Thread: AWT-Shutdown (21) of system
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.Object.wait(Object.java:328)
java.desktop@11.0.9.1/sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: TimerQueue (22) of system
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9.1/java.util.concurrent.DelayQueue.take(DelayQueue.java:217)
java.desktop@11.0.9.1/javax.swing.TimerQueue.run(TimerQueue.java:171)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Thread: Attach Listener (5) of system

Thread: Reference Handler (2) of system
java.base@11.0.9.1/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@11.0.9.1/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
java.base@11.0.9.1/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)

Thread: InvokeLaterDispatcher (44) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9.1/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
com.sun.glass.ui.InvokeLaterDispatcher.run(InvokeLaterDispatcher.java:109)

Thread: Common-Cleaner (11) of InnocuousThreadGroup
java.base@11.0.9.1/java.lang.Object.wait(Native Method)
java.base@11.0.9.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9.1/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)
java.base@11.0.9.1/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

Thread: File Watcher (25) of main
java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9.1/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
java.base@11.0.9.1/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:671)
java.base@11.0.9.1/sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
app//org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120)
app//org.openstreetmap.josm.io.FileWatcher$$Lambda$371/0x0000000800457440.run(Unknown Source)
java.base@11.0.9.1/java.lang.Thread.run(Thread.java:834)

Attachments (0)

Change History (2)

comment:1 by skyper, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #20231.

comment:2 by skyper, 4 years ago

Component: CorePlugin matsim

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.