Modify

Opened 8 years ago

Closed 8 years ago

#8173 closed defect (invalid)

photo_geotagging hangs at all times

Reported by: anonymous Owned by: bastiK
Priority: major Milestone:
Component: Plugin photo_geotagging Version:
Keywords: Cc:

Description

I try to write back info to my photos taken with Tina Time-Lapse and every time I do this, the plugin crashes. Tried everything to no avail.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-10-07 01:31:07
Last Changed Author: stoecker
Revision: 5531
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-10-06 16:58:02 +0200 (Sat, 06 Oct 2012)
Last Changed Rev: 5531

Identification: JOSM/1.5 (5531 pl)
Memory Usage: 116 MB / 494 MB (19 MB allocated, but free)
Java version: 1.6.0_37, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows 7

Plugin: AddrInterpolation (28541)
Plugin: Create_grid_of_ways (28412)
Plugin: FastDraw (28656)
Plugin: HouseNumberTaggingTool (28656)
Plugin: alignways (28656)
Plugin: buildings_tools (28656)
Plugin: livegps (28656)
Plugin: measurement (28656)
Plugin: openstreetbugs (28656)
Plugin: photo_geotagging (28807)
Plugin: terracer (28656)
Plugin: todo (28793)
Plugin: utilsplugin2 (28656)

java.lang.NegativeArraySizeException
	at org.apache.sanselan.formats.tiff.fieldtypes.FieldType.getRawBytes(FieldType.java:77)
	at org.apache.sanselan.formats.tiff.fieldtypes.FieldTypeShort.getSimpleValue(FieldTypeShort.java:52)
	at org.apache.sanselan.formats.tiff.constants.TagInfo.getValue(TagInfo.java:98)
	at org.apache.sanselan.formats.tiff.constants.TagInfo$Unknown.getValue(TagInfo.java:443)
	at org.apache.sanselan.formats.tiff.TiffField.getValue(TiffField.java:577)
	at org.apache.sanselan.formats.tiff.TiffField.getValueDescription(TiffField.java:317)
	at org.apache.sanselan.formats.tiff.TiffImageMetadata$Item.<init>(TiffImageMetadata.java:193)
	at org.apache.sanselan.formats.tiff.TiffImageMetadata$Directory.add(TiffImageMetadata.java:65)
	at org.apache.sanselan.formats.tiff.TiffImageParser.getMetadata(TiffImageParser.java:143)
	at org.apache.sanselan.ImageParser.getMetadata(ImageParser.java:81)
	at org.apache.sanselan.formats.jpeg.JpegImageParser.getExifMetadata(JpegImageParser.java:366)
	at org.apache.sanselan.formats.jpeg.JpegImageParser.getMetadata(JpegImageParser.java:307)
	at org.apache.sanselan.Sanselan.getMetadata(Sanselan.java:1000)
	at org.apache.sanselan.Sanselan.getMetadata(Sanselan.java:993)
	at org.apache.sanselan.Sanselan.getMetadata(Sanselan.java:968)
	at org.openstreetmap.josm.plugins.photo_geotagging.ExifGPSTagger.setExifGPSTagWorker(ExifGPSTagger.java:58)
	at org.openstreetmap.josm.plugins.photo_geotagging.ExifGPSTagger.setExifGPSTag(ExifGPSTagger.java:43)
	at org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingAction$GeoTaggingRunnable.realRun(GeotaggingAction.java:214)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


Attachments (2)

tt_img_00102.jpg (587.9 KB) - added by anonymous 8 years ago.
sample photo from the set
jfsdfsdfjnsdjfnjsdnjfnsjdf.gpx (1.4 MB) - added by anonymous 8 years ago.
GPX track

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by anonymous

Attachment: tt_img_00102.jpg added

sample photo from the set

Changed 8 years ago by anonymous

GPX track

comment:1 Changed 8 years ago by anonymous

Component: CorePlugin photo_geotagging
Owner: changed from team to bastiK
Priority: normalmajor

comment:2 Changed 8 years ago by anonymous

If it is of any relevance, there is no EXIF timestamp in the image, however JOSM takes it from file creation date.

comment:3 Changed 8 years ago by bastiK

The exif header of the photo seems to be broken:

$ exiftool -Hu ../../tt_img_00102.jpg
Warning: Invalid size (8589934590) for IFD0 tag 0x8827 - ../../tt_img_00102.jpg

comment:4 Changed 8 years ago by bastiK

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bastiK.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.