#19757 closed defect (fixed)
mapillary plugin does not load
Reported by: | Owned by: | taylor.smock | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapillary | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open JOSM
- enable Mapillary
What is the expected result?
to enable Mapillary
What happens instead?
chash
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: 2020-07-30 12:44:04 +0200 (Thu, 30 Jul 2020) Build-Date:2020-07-31 01:30:49 Revision:16812 Relative:URL: ^/trunk Identification: JOSM/1.5 (16812 en) Windows 7 64-Bit OS Build number: Windows 7 Professional (7601) Memory Usage: 814 MB / 1781 MB (645 MB allocated, but free) Java version: 1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1080 (scaling 1.0x1.0) Maximum Screen Size: 1920x1080 Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32 Dataset consistency test: No problems found Plugins: + Mapillary (1.5.24) + RoadSigns (35510) + apache-commons (35524) + apache-http (35092) + buildings_tools (35500) + ejml (35313) + geotools (35169) + javafx-windows (35458) + jaxb (35092) + jna (35092) + jts (35122) + measurement (35405) + opendata (35513) + terracer (35499) + todo (30306) + utilsplugin2 (35487) + wikipedia (1.1.4) Last errors/warnings: - W: Could not load Mapillary brand image! - W: Could not load Mapillary brand image! - W: Could not load Mapillary brand image! - E: Thread main-worker-0 raised java.lang.NullPointerException - E: Thread main-worker-1 raised java.lang.NullPointerException - E: Handled by bug report queue: java.lang.NullPointerException - E: Handled by bug report queue: java.lang.NullPointerException - W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>apache-commons</li><li>geotools</li><li>opendata</li><li>RoadSigns</li><li>jts</li><li>Mapillary</li><li>javafx-windows</li><li>ejml</li><li>measurement</li><li>jaxb</li><li>todo</li><li>utilsplugin2</li><li>buildings_tools</li><li>terracer</li><li>wikipedia</li><li>jna</li><li>apache-http</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: main-worker-0 (55) java.lang.NullPointerException at java.io.FilterInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at org.apache.commons.io.IOUtils.readLines(IOUtils.java:1459) at org.apache.commons.io.IOUtils.readLines(IOUtils.java:1416) at org.apache.commons.io.IOUtils.readLines(IOUtils.java:1440) at org.openstreetmap.josm.plugins.mapillary.gui.dialog.TrafficSignFilter.getIcons(TrafficSignFilter.java:280) at org.openstreetmap.josm.plugins.mapillary.gui.dialog.TrafficSignFilter.lambda$getIcons$23(TrafficSignFilter.java:275) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Attachments (0)
Change History (8)
comment:1 by , 5 years ago
Component: | Core → Plugin mapillary |
---|---|
Owner: | changed from | to
comment:3 by , 5 years ago
Summary: | mapillary plugind does not load → mapillary plugin does not load |
---|
follow-up: 5 comment:4 by , 5 years ago
Well, I need if for some other application that works only on that one.
comment:5 by , 5 years ago
Replying to Peter:
Well, I need if for some other application that works only on that one.
You are kidding, are you? Otherwise it is probably time to say goodbye to these other applications.
comment:6 by , 5 years ago
List<String> files = IOUtils.readLines(ResourceProvider.getResourceAsStream("/images/" + directory, Charsets.UTF_8.name())
is the offending line in the plugin.
The returned stream
from getResourceAsStream
may be null, so I'll move that into its own declaration, but I haven't seen it on any of my machines, and one of those is running Java 1.8.0_191 (for reference, java 1.8.0_265 is the latest version of Java 8 on my machines).
Please update Java (you can stay on the Java 8 release, just update to a newer version). I would be very surprised if there is an application that only works on a very specific java release. The Java team is pretty good about backwards compatibility in general.
Beyond that, there were a few issues with the v1.5.24 release (mostly from the download window code provided by the GSoC student that I didn't see when I was testing), so I downgraded the release to v1.5.23 yesterday.
comment:7 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've fixed the issue in f0a9bc7f8384653037c0379f9437c62aa1b060d4. I don't know when the next release will be (I'm partially blocked by the CI cycle right now).
By the way, how about updating your java version, it is quite old.