[Lucid] F-Spot NullReference Error while transferring photos from Kodak camera

Bug #551086 reported by Jeff Lane 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: f-spot

F-Spot testing found an unhandled exception while copying images from my digital camera...

The camera is a Kodak EasyShare 875. On connecting the camera to my netbook, fspot opened the dialog for importing photos. I added a tag "Kodak Pix" and started the import.

After a short while (shortly into copying the 35 pictures over,) I got an error popup that says:

Unspecified Error
Error GeneralError: LibGPhoto2.GPhotoException: Unspecified error
  at LibGPhoto2.Error.CheckError (ErrorCode error) [0x00000]
  at LibGPhoto2.Camera.GetFile (System.String folder, System.String name, CameraFileType type, LibGPhoto2.CameraFile camera_file, LibGPhoto2.Context context) [0x00000]
  at GPhotoCamera.SaveFile (Int32 index, System.String filename) [0x00000]
  at FSpot.CameraFileSelectionDialog.SaveFile (Int32 index) [0x00000]
  at FSpot.CameraFileSelectionDialog.Download () [0x00000]

Repeated attempts at clicking Retry or Skip did nothing. Cancel canceled the operation and opened a new error box that said the following:

F-Spot Encountered a Fatal Error
System.NullReferenceException: Object
reference not set to an instance of an object

An unhandled exception was thrown: System.NullReferenceException: Object reference not set to an instance of an object

  at FSpot.ICoreProxy.Import (System.String ) [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
.NET Version: 2.0.50727.1433

Assembly Version Information:

System.Core (3.5.0.0)
System.Configuration (2.0.0.0)
FSpot.Widgets (0.0.0.0)
System.Xml (2.0.0.0)
NDesk.DBus.Proxies (0.0.0.0)
gconf-sharp (2.24.0.0)
System.Data (2.0.0.0)
Mono.Data.SqliteClient (2.0.0.0)
FSpot.Query (0.0.0.0)
FSpot.JobScheduler (0.0.0.0)
gdk-sharp (2.12.0.0)
NDesk.DBus.GLib (1.0.0.0)
NDesk.DBus (1.0.0.0)
gnome-vfs-sharp (2.24.0.0)
Cms (0.0.0.0)
FSpot.Core (0.0.0.0)
FSpot.Platform (0.0.0.0)
Mono.Posix (2.0.0.0)
FSpot.Utils (0.0.0.0)
atk-sharp (2.12.0.0)
gtk-sharp (2.12.0.0)
Mono.Addins (0.4.0.0)
System (2.0.0.0)
Mono.Addins.Setup (0.4.0.0)
glib-sharp (2.12.0.0)
f-spot (0.6.1.5)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.32-17-generic i686 unknown GNU/Linux

Distribution Information:

[/etc/debian_version]
squeeze/sid

[/etc/lsb-release]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"

The import failed and NONE of my images were copied over from my Kodak EasyShare 875

This is with the Lucid updated as of 29 March 2010.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: f-spot 0.6.1.5-2ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-17-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Mon Mar 29 13:37:25 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100315)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: f-spot

Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Jeff Lane  (bladernr) wrote :

Addendum:

After those errors were encountered, I was unable to re-connect the camera. Every time I tried, I got an error about not being able to lock the camera, THEN the Option Window would open (the one that asks what action to perform when the device is plugged in) and FSpot would launch.

However, after that, even though FSpot showed the camera when I clicked Import, I got the same object error as noted earlier as soon as I tried importing images.

F-Spot was able, though, to at least generate thumbnail previews of the images that were on the camera

Revision history for this message
forsakenrider (forsakenrider) wrote :

Im having the same problem with my Nikon camera after i've just upgraded to 10.04. Any fix?

Revision history for this message
James Cain (ronnoc) wrote :

I don't think this is a FSpot problem, because I am having the same issue (or similar) in Kibuntu 10.04: When I tried copying files from a Kodak Easyshare CD14 camera, plasma crashed and now the camera shuts off whenever it's plugged in via USB.

Revision history for this message
Michael Mess (michael-michaelmess) wrote :

I think there are two bugs here:

One in FSpot as it doesn't check a value for a NullReference before using it and one outside of FSpot in a library used by FSpot which leads to the delivery of a NullReference.

To fix the first bug, FSpot should be enhanced to check values returned by external libraries before actually using them.

The second bug which causes a NullReference might be this: https://bugs.launchpad.net/ubuntu/+source/hal/+bug/975588

Revision history for this message
Jeff Lane  (bladernr) wrote :

No one seemed to take this up, so closing it, it's old.

Changed in f-spot (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.