[ubuntu-mono] [Bug 551086] Re: [Lucid] F-Spot NullReference Error while transferring photos from Kodak camera
Michael Mess
551086 at bugs.launchpad.net
Fri Apr 6 22:53:09 UTC 2012
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
--
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in Ubuntu.
https://bugs.launchpad.net/bugs/551086
Title:
[Lucid] F-Spot NullReference Error while transferring photos from
Kodak camera
Status in “f-spot” package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/551086/+subscriptions
More information about the Ubuntu-mono
mailing list