Modify

Opened 17 years ago

Closed 16 years ago

#520 closed defect (worksforme)

Read a gpx track file. Then geotagged photographs. Immediate exception.

Reported by: law_ence.dev@… Owned by: framm
Priority: minor Milestone:
Component: Plugin Version: latest
Keywords: Geotagged images Cc:

Description

Responding to ticket request.

1) Start josm;
2) open track gpx file;

{properly displayed, no problem}

3) open geotagged images;

{Error window displayed with request for this ticket. No images displayed: just

existing tracks. Photographs tagged by gpscorrelate.}

Track file and a sample photograph on request.


Last Changed Author: framm
Last Changed Rev: 482
Last Changed Date: 2007-12-02 23:57:42 +0100 (Sun, 02 Dec 2007)

java.lang.NullPointerException

at java.util.Date.getMillisOf(Date.java:938)
at java.util.Date.compareTo(Date.java:958)
at geotaggedplugin.GeotaggedLayer$ImageEntry.compareTo(GeotaggedLayer.java:121)
at geotaggedplugin.GeotaggedLayer$ImageEntry.compareTo(GeotaggedLayer.java:114)
at java.util.Arrays.mergeSort(Arrays.java:1144)
at java.util.Arrays.sort(Arrays.java:1079)
at java.util.Collections.sort(Collections.java:117)
at geotaggedplugin.GeotaggedLayer.<init>(GeotaggedLayer.java:198)
at geotaggedplugin.GeotaggedLayer.<init>(GeotaggedLayer.java:108)
at geotaggedplugin.GeotaggedLayer$Loader.realRun(GeotaggedLayer.java:169)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:84)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


Attachments (0)

Change History (4)

comment:1 by law_ence.dev@…, 17 years ago

Adding the images one at a time works: no problem.

comment:2 by law_ence.dev@…, 17 years ago

I suspect that this bug arise because * syntax is not supported.

Instead of using the laborious dumb method of selecting multiple files involving multiple
mouse clicks combined with keys and scrolling, etc. I entered a wildcard expression
along the lines of photo*.jpg.

Still a bug, of course. Even if wildcards are not supported, it needs to handle bad syntax
properly.

comment:3 by xeen, 16 years ago

Priority: majorminor

I tried with 1198 and couldn't reproduce this bug. Entering invalid filenames doesn't produce any error.
Can you please check if the issue still exists for you?

comment:5 by stoecker, 16 years ago

Resolution: worksforme
Status: newclosed

Modify Ticket

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