Modify

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#13246 closed defect (fixed)

NegativeArraySizeException when trying to import photos

Reported by: anonymous Owned by: nokutu
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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-07-29 22:15:28 +0200 (Fri, 29 Jul 2016)
Build-Date:2016-07-30 01:49:10
Revision:10674
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10674 fr) Linux Ubuntu 14.04.4 LTS
Memory Usage: 730 MB / 2670 MB (325 MB allocated, but free)
Java version: 1.8.0_101-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- ColorPlugin (1414145445)
- HouseNumberTaggingTool (32584)
- Mapillary (32639)
- OpeningHoursEditor (32583)
- RoadSigns (32584)
- apache-commons (32584)
- apache-http (32584)
- buildings_tools (32728)
- cadastre-fr (32584)
- ejml (32639)
- geotools (32584)
- importvec (32490)
- jogl (1.0.46)
- jts (32539)
- kendzi3d-resources (0.0.1)
- lakewalker (32492)
- log4j (32309)
- measurement (32732)
- opendata (32584)
- osmarender (32501)
- print (32502)
- public_transport (32639)
- routes (32456)
- tageditor (32508)
- tagging-preset-tester (32584)
- utilsplugin2 (32725)
- waydownloader (32584)

Last errors/warnings:
- W: Mettre à jour - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- W: Invalid jar file ''<josm.pref>/plugins/buildings_tools.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/utilsplugin2.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/measurement.jar.new'' (exists: false, canRead: false)
- E: <josm.pref>/plugins/opendata/resources/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/agriculture/RegistreParcellaire.mapcss (Aucun fichier ou dossier de ce type)
- W: Cannot lock cache directory. Will not use disk cache
- E: java.lang.NegativeArraySizeException


=== REPORTED CRASH DATA ===
BugReportExceptionHandler$BugReporterThread#askForBugReport:
No data collected.

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
java.lang.NegativeArraySizeException
	at java.util.Arrays.copyOf(Arrays.java:3236)
	at org.openstreetmap.josm.plugins.mapillary.utils.ImageUtil$ImageFileFilter.accept(ImageUtil.java:148)
	at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
	at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:252)
	at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:228)

Attachments (0)

Change History (4)

comment:1 by Don-vip, 8 years ago

Component: CorePlugin mapillary
Owner: changed from team to nokutu

comment:2 by Don-vip, 8 years ago

Summary: [mapillary] try to import photosNegativeArraySizeException when trying to import photos

comment:3 by floscher, 8 years ago

Resolution: fixed
Status: newclosed

Thanks for reporting this. This has been fixed with commit 2610546 and is included in the releases v1.2.2 or later.

comment:4 by Don-vip, 7 years ago

Ticket #12893 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain nokutu.
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.