Re: Null Pointer Exception at beagled/Mono.Data.SqliteClient/SqliteDataReader.cs:418
- From: Kevin Kubasik <kevin kubasik net>
- To: Martin Ludwig <martinludwig gmx net>
- Cc: dashboard-hackers <dashboard-hackers gnome org>
- Subject: Re: Null Pointer Exception at beagled/Mono.Data.SqliteClient/SqliteDataReader.cs:418
- Date: Thu, 16 Feb 2006 15:43:35 -0500
I get a similar if not identical error when I try to have beagle index
/usr/share/applications (the error is thrown for me right after the
'Adding Root' line, and removing that extra directory solves the
problem. Perhaps this has something to do with permissions (for me the
dir is read only) and/or extended attributes (specifically rights to
write attributes)
--Kevin Kubasik
On 2/16/06, Martin Ludwig <martinludwig gmx net> wrote:
> Hi dashboard-hackers,
>
> since some days beagle gets an null-pointer Exception after 1 or 2
> minutes of running. Queries during that timeframe work, after that the
> beagle-daemon is dead.
>
> Any hints of what is going wrong?
>
> here are the relevant lines of the Log-Files:
>
> last lines of .beagle/Log/current-BeagleExceptions
>
> 060216 1818333836 16002 Beagle ERROR EX: System.NullReferenceException:
> Object reference not set to an instance of an object
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00007]
> (at /home/martin/src/beagle-0.2.1/beagled/Mono.Data.SqliteClient/SqliteDataReader.cs:418) Mono.Data.SqliteClient.SqliteDataReader:GetString (int)
> 060216 1818333836 16002 Beagle ERROR EX: in <0x00045> (wrapper
> remoting-invoke-with-check)
> Mono.Data.SqliteClient.SqliteDataReader:GetString (int)
> 060216 1818333836 16002 Beagle ERROR EX: in [0x001ce]
> (at /home/martin/src/beagle-0.2.1/beagled/FileAttributesStore_Sqlite.cs:154) Beagle.Daemon.FileAttributesStore_Sqlite:.ctor (string,string)
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00015]
> (at /home/martin/src/beagle-0.2.1/beagled/FileAttributesStore_Mixed.cs:40) Beagle.Daemon.FileAttributesStore_Mixed:.ctor (string,string)
> 060216 1818333836 16002 Beagle ERROR EX: in [0x0000c]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:118) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:BuildFileAttributesStore ()
> 060216 1818333836 16002 Beagle ERROR EX: in [0x0000e]
> (at /home/martin/src/beagle-0.2.1/beagled/LuceneQueryable.cs:990)
> Beagle.Daemon.LuceneQueryable:get_FileAttributesStore ()
> 060216 1818333836 16002 Beagle ERROR EX: in [0x0008f]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:443) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:AddDirectory (Beagle.Daemon.FileSystemQueryable.DirectoryModel,string)
> 060216 1818333836 16002 Beagle ERROR EX: in [0x0005c]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:492) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:AddRoot (string)
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00015]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:1145) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:LoadConfiguration ()
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00013]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:1370) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:Start ()
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00006]
> (at /home/martin/src/beagle-0.2.1/beagled/Queryable.cs:51)
> Beagle.Daemon.Queryable:Start ()
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00032]
> (at /home/martin/src/beagle-0.2.1/beagled/QueryDriver.cs:320)
> Beagle.Daemon.QueryDriver:StartQueryables ()
> 060216 1818333836 16002 Beagle ERROR EX: in <0x00047> (wrapper
> delegate-invoke) System.MulticastDelegate:invoke_bool ()
> 060216 1818333836 16002 Beagle ERROR EX: in <0x0002a>
> TimeoutProxy:Handler ()
> 060216 1818333836 16002 Beagle ERROR EX: in <0x0002b> (wrapper
> native-to-managed) TimeoutProxy:Handler ()
> 060216 1818333836 16002 Beagle ERROR EX: in (unmanaged) 0xb7d6c8d5
> 060216 1818333836 16002 Beagle ERROR EX: in <0x00004> (wrapper
> managed-to-native) Gtk.Application:gtk_main ()
> 060216 1818333836 16002 Beagle ERROR EX: in <0x00007>
> Gtk.Application:Run ()
> 060216 1818333836 16002 Beagle ERROR EX: in [0x0037d]
> (at /home/martin/src/beagle-0.2.1/beagled/BeagleDaemon.cs:404)
> Beagle.Daemon.BeagleDaemon:DoMain (string[])
> 060216 1818333836 16002 Beagle ERROR EX: in [0x00001]
> (at /home/martin/src/beagle-0.2.1/beagled/BeagleDaemon.cs:215)
> Beagle.Daemon.BeagleDaemon:Main (string[])
> 060216 1818333836 16002 Beagle ERROR EX:
>
>
> And here what happens when I run beagle with --debug --fg
>
> martin aditu:~/src$ beagled --deny-backend KMail --deny-backend Liferea
> --deny-backend Kopete --deny-backend Akregator --fg --debug --replace
> Debug: Starting Beagle Daemon (version 0.2.1)
> Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --deny-backend
> KMail --deny-backend Liferea --deny-backend Kopete --deny-backend
> Akregator --fg --debug --replace
> Debug: Starting main loop
> Debug: Starting messaging server
> Debug: Starting QueryDriver
> Debug: Found index helper at /usr/lib/beagle/beagled-index-helper
> Debug: Found 2 types in EvolutionBackends, Version=0.0.0.0,
> Culture=neutral
> Debug: Starting Inotify Backend
> Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
> Debug: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml
> Debug: Loading Beagle.Util.Conf+SearchingConfig from searching.xml
> Debug: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml
> Debug: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml
> Debug: Found 7 types in BeagleDaemonLib, Version=1.9.0.0,
> Culture=neutral
> Debug: Initializing static
> queryable: /var/cache/beagle/indexes/applications
> Debug: Found 1 system-wide indexes
> Debug: Found 0 user-configured static queryables
> Debug: Waiting 60 seconds before starting queryables
> Debug: Starting Scheduler thread
> Debug: Starting Inotify threads
> Debug: Daemon initialization finished after 1,78s
> Debug: Starting queryables
> Debug: Scanning addressbooks and calendars
> Debug: Getting addressbook changes for
> file:///home/martin/.evolution/addressbook/local/system
> Debug: Addressbook
> file:///home/martin/.evolution/addressbook/local/system: 0 added, 0
> changed, 0 removed
> Debug: Getting calendar changes for
> file:///home/martin/.evolution/calendar/local/system
> Debug: Calendar file:///home/martin/.evolution/calendar/local/system: 0
> added, 0 changed, 0 removed
> 970262303 has recurrences
> 941055869 has recurrences
> 937051651 has recurrences
> 974429821 has recurrences
> 996799663 has recurrences
> 959163762 has recurrences
> 904259993 has recurrences
> 966929969 has recurrences
> 907543508 has recurrences
> 944834847 has recurrences
> 968555320 has recurrences
> 919148894 has recurrences
> Debug: Getting calendar changes for contacts:///
> Debug: Calendar contacts:///: 0 added, 0 changed, 0 removed
> Debug: Scanned addressbooks and calendars in ,62s
> Debug: Adding root: /home/martin
> Error: Unhandled exception thrown. Exiting immediately.
> Error: System.NullReferenceException: Object reference not set to an
> instance of an object
> in [0x00007]
> (at /home/martin/src/beagle-0.2.1/beagled/Mono.Data.SqliteClient/SqliteDataReader.cs:418) Mono.Data.SqliteClient.SqliteDataReader:GetString (int)
> in <0x00045> (wrapper remoting-invoke-with-check)
> Mono.Data.SqliteClient.SqliteDataReader:GetString (int)
> in [0x001ce]
> (at /home/martin/src/beagle-0.2.1/beagled/FileAttributesStore_Sqlite.cs:154) Beagle.Daemon.FileAttributesStore_Sqlite:.ctor (string,string)
> in [0x00015]
> (at /home/martin/src/beagle-0.2.1/beagled/FileAttributesStore_Mixed.cs:40) Beagle.Daemon.FileAttributesStore_Mixed:.ctor (string,string)
> in [0x0000c]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:118) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:BuildFileAttributesStore ()
> in [0x0000e]
> (at /home/martin/src/beagle-0.2.1/beagled/LuceneQueryable.cs:990)
> Beagle.Daemon.LuceneQueryable:get_FileAttributesStore ()in [0x0008f]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:443) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:AddDirectory (Beagle.Daemon.FileSystemQueryable.DirectoryModel,string)
> in [0x0005c]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:492) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:AddRoot (string)
> in [0x00015]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:1145) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:LoadConfiguration ()
> in [0x00013]
> (at /home/martin/src/beagle-0.2.1/beagled/FileSystemQueryable/FileSystemQueryable.cs:1370) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:Start ()
> in [0x00006] (at /home/martin/src/beagle-0.2.1/beagled/Queryable.cs:51)
> Beagle.Daemon.Queryable:Start ()
> in [0x00032]
> (at /home/martin/src/beagle-0.2.1/beagled/QueryDriver.cs:320)
> Beagle.Daemon.QueryDriver:StartQueryables ()
> in <0x00047> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_bool ()
> in <0x0002a> TimeoutProxy:Handler ()
> in <0x0002b> (wrapper native-to-managed) TimeoutProxy:Handler ()
> in (unmanaged) 0xb7ccb8d5
> in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
> in <0x00007> Gtk.Application:Run ()
> in [0x0037d]
> (at /home/martin/src/beagle-0.2.1/beagled/BeagleDaemon.cs:404)
> Beagle.Daemon.BeagleDaemon:DoMain (string[])
> in [0x00001]
> (at /home/martin/src/beagle-0.2.1/beagled/BeagleDaemon.cs:215)
> Beagle.Daemon.BeagleDaemon:Main (string[])
>
>
> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in <0x0002e> System.IO.StreamWriter:LowLevelWrite (System.String s)
> in <0x0001d> System.IO.StreamWriter:Write (System.String value)
> in <0x00010> System.IO.UnexceptionalStreamWriter:Write (System.String
> value)
> in <0x0001e> System.IO.TextWriter:Write (System.Object value)
> in <0x00028> System.IO.SynchronizedWriter:Write (System.Object value)
> in [0x00051] (at /home/martin/src/beagle-0.2.1/Util/Log.cs:200)
> Beagle.Util.Log:WriteLine (LogLevel level, System.String format,
> System.Object[] args, System.Exception ex)
> in [0x00004] (at /home/martin/src/beagle-0.2.1/Util/Log.cs:269)
> Beagle.Util.Log:Debug (System.String message, System.Object[] args)
> in [0x00002] (at /home/martin/src/beagle-0.2.1/Util/Logger.cs:50)
> Beagle.Util.Logger:Debug (System.String message, System.Object[] args)
> in [0x0008c]
> (at /home/martin/src/beagle-0.2.1/Util/ExceptionHandlingThread.cs:56)
> Beagle.Util.ExceptionHandlingThread:ThreadStarted ()in (wrapper
> delegate-invoke) System.MulticastDelegate:invoke_void ()
>
> _______________________________________________
> Dashboard-hackers mailing list
> Dashboard-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/dashboard-hackers
>
--
Cheers,
Kevin Kubasik
http://kubasik.net/blog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]