#13096 closed defect (fixed)
Mapillary import images causes 'Exception error'
Reported by: | Owned by: | nokutu | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapillary | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Start JOSM with Mapillary plug-in activated
- Download some data from OSM
- Select "Afbeeldingen importeren" from menu "Bestand" (Translation: Import images, File)
- Double click a folder to change to it.
What is the expected result?
The "select images"-window shows the contents of the folder.
What happens instead?
A exception error occurs, but the window which should inform you of this hides behind the "select images"-window.
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-06-04 17:28:58 +0200 (Sat, 04 Jun 2016) Build-Date:2016-06-04 15:31:27 Revision:10327 Relative:URL: ^/trunk Identification: JOSM/1.5 (10327 nl) Windows XP 32-Bit Memory Usage: 204 MB / 245 MB (28 MB allocated, but free) Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Local Settings\Application Data\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-54f745d3, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=3022, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=] Dataset consistency test: No problems found Plugins: - Mapillary (32158) - apache-commons (32309) - apache-http (32309) - turnrestrictions (32158) - undelete (32309) - utilsplugin2 (32158) Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://www.dropbox.com/s/qo3ai47fpv241jf/Styles_Fixme_and_Notes.zip?raw=1 Last errors/warnings: - E: java.lang.NegativeArraySizeException java.lang.NegativeArraySizeException at java.util.Arrays.copyOf(Unknown Source) at org.openstreetmap.josm.plugins.mapillary.utils.ImageUtil$ImageFileFilter.accept(ImageUtil.java:150) at javax.swing.JFileChooser.accept(Unknown Source) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(Unknown Source) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source)
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | mapillary error screenshot.JPG added |
---|
follow-up: 3 comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thank you for reporting this issue.
Probably you have a file in that folder, that is empty (i.e. it has a size of 0 bytes), right?
I fixed that issue now, but it might take a while until you can update the plugin through JOSM to that new version.
If you want to try it out before the fixed version gets distributed via JOSM's plugin update mechanism, you can download the Mapillary.jar
from https://github.com/floscher/josm-mapillary-plugin/releases/tag/v1.2.1-beta.1 and place it in your ~/.josm/plugins/
directory.
comment:3 by , 9 years ago
Replying to floscher:
Probably you have a file in that folder, that is empty (i.e. it has a size of 0 bytes), right?
I did have a empty file there. I opted to remove it and now the mapillary plug-in works fine. (JOSM happened to be updated too, but I guess that didn't change the situation.)
Thank you for your time and efforts.
screenshot, having moved selection window to show hiding error message