Skip to content

Instantly share code, notes, and snippets.

@stevenpack
Created December 12, 2011 20:28
Show Gist options
  • Select an option

  • Save stevenpack/1468944 to your computer and use it in GitHub Desktop.

Select an option

Save stevenpack/1468944 to your computer and use it in GitHub Desktop.
NullReferenceExceptions from monodroid 4.0 with no stack trace
Error Style 1 (99% of the time)
===============================
2011-12-10 07:51:00.618 I 19579/ActivityThread: Publishing provider
com.xxxdictionary.android.__mono_init__: mono.MonoRuntimeProvider
2011-12-10 07:51:00.628 D 19579/dalvikvm: Trying to load lib
/data/data/com.xxxdictionary.android/lib/libmonodroid.so 0x44e02450
2011-12-10 07:51:00.658 D 19579/dalvikvm: Added shared lib
/data/data/com.xxxdictionary.android/lib/libmonodroid.so 0x44e02450
2011-12-10 07:51:01.078 I 19579/pthread: ## thread 19585 is created success
2011-12-10 07:51:01.078 I 19579/monodroid-gc: environment supports jni
NewWeakGlobalRef
2011-12-10 07:51:01.608 I 97/LSState:
EventReceiver:android.intent.action.NOTIFICATION_UPDATE
2011-12-10 07:51:02.038 I 19579/mono: Stacktrace:
2011-12-10 07:51:02.068 E 19579/mono:
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
2011-12-10 07:51:02.108 E 97/ActivityManager: fail to set top app changed!
2011-12-10 07:51:02.108 I 97/xxxActivityManager: Process
com.xxxdictionary.android (pid 19579) has died.
2011-12-10 07:51:02.118 D 67/Zygote: Process 19579 exited cleanly (1)
2011-12-10 07:51:02.138 I 97/UsageStats: Unexpected resume of
com.htc.launcher while already resumed in com.xxxdictionary.android
2011-12-10 07:51:02.158 W 97/InputManagerService: Window already focused,
ignoring focus gain of:
com.android.internal.view.IInputMethodClient$Stub$Proxy@452d34f8
2011-12-10 07:51:03.029 D 178/BT HS/HF: gsmAsuToSignal=7
Error Style 2 (once only)
==========================
2011-12-09 17:21:12.195 I 97/ActivityManager: Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=com.xxxdictionary.android/.SplashActivity
bnds=[243,338][317,417] }
2011-12-09 17:21:12.335 I 97/ActivityManager: Start proc
com.xxxdictionary.android for activity
com.xxxdictionary.android/.WordSearchActivity: pid=13258 uid=10037
gids={1015, 3003}
2011-12-09 17:21:12.345 I 13258/pthread: ## thread 13258 is creating
thread @dalvik/vm/Thread.c:1795
2011-12-09 17:21:12.345 I 13258/pthread: ## thread 13259 is created success
2011-12-09 17:21:12.355 I 13258/pthread: ## thread 13258 is creating
thread @dalvik/vm/Thread.c:1795
2011-12-09 17:21:12.355 I 13258/pthread: ## thread 13260 is created success
2011-12-09 17:21:12.375 I 97/LSState:
EventReceiver:android.intent.action.NOTIFICATION_UPDATE
2011-12-09 17:21:12.405 I 13258/pthread: ## thread 13258 is creating
thread @dalvik/vm/Thread.c:1795
2011-12-09 17:21:12.405 I 13258/pthread: ## thread 13261 is created success
2011-12-09 17:21:12.425 I 13258/pthread: ## thread 13258 is creating
thread @frameworks/base/libs/utils/Threads.cpp:139
2011-12-09 17:21:12.425 I 13258/pthread: ## thread 13262 is created success
2011-12-09 17:21:12.435 I 13258/pthread: ## thread 13262 is creating
thread @frameworks/base/libs/utils/Threads.cpp:139
2011-12-09 17:21:12.435 I 13258/pthread: ## thread 13263 is created success
2011-12-09 17:21:12.545 I 13258/ActivityThread: Publishing provider
com.xxxdictionary.android.__mono_init__: mono.MonoRuntimeProvider
2011-12-09 17:21:12.555 D 13258/dalvikvm: Trying to load lib
/data/data/com.xxxdictionary.android/lib/libmonodroid.so 0x44cce350
2011-12-09 17:21:12.595 D 13258/dalvikvm: Added shared lib
/data/data/com.xxxdictionary.android/lib/libmonodroid.so 0x44cce350
2011-12-09 17:21:12.835 D 97/ConnectivityService: getMobileDataEnabled
returning true
2011-12-09 17:21:12.855 D 97/TelephonyRegistry: notifyDataConnection()
state=2isDataConnectivityPossible()true, reason=null
2011-12-09 17:21:12.855 D 97/TelephonyRegistry:
broadcastDataConnectionStateChanged()
state=CONNECTEDtypes=default,dun,supl, interfaceName=rmnet0
2011-12-09 17:21:12.865 2 97/GpsLocationProvider:
ServiceState.STATE_IN_SERVICE
2011-12-09 17:21:12.885 D 97/NetworkLocationProvider:
onDataConnectionStateChanged 3
2011-12-09 17:21:12.885 D 97/ConnectivityService: getMobileDataEnabled
returning true
2011-12-09 17:21:12.905 D 97/MobileDataStateTracker: replacing old
mInterfaceName (rmnet0) with rmnet0 for hipri
2011-12-09 17:21:12.915 D 97/MobileDataStateTracker: replacing old
mInterfaceName (rmnet0) with rmnet0 for supl
2011-12-09 17:21:12.925 D 97/MobileDataStateTracker: replacing old
mInterfaceName (rmnet0) with rmnet0 for dun
2011-12-09 17:21:12.955 2 97/AlarmManager: Adding Alarm{44e17640 type 2
com.google.android.apps.maps} Dec 18 10:23:26 pm
2011-12-09 17:21:13.075 I 13258/pthread: ## thread 13264 is created success
2011-12-09 17:21:13.075 I 13258/monodroid-gc: environment supports jni
NewWeakGlobalRef
2011-12-09 17:21:13.585 D 178/BT HS/HF: gsmAsuToSignal=19
2011-12-09 17:21:14.345 I 97/LSState:
EventReceiver:android.intent.action.NOTIFICATION_UPDATE
2011-12-09 17:21:14.735 D 13258/WordSearchActivity: Lifecycle: OnCreate
2011-12-09 17:21:14.815 I 97/ActivityManager: Start proc
com.esmertec.android.jbed for service
com.esmertec.android.jbed/.service.JbedVmNoRunningService: pid=13265
uid=10014 gids={3003, 1006, 1015}
2011-12-09 17:21:14.835 I 13265/pthread: ## thread 13265 is creating
thread @dalvik/vm/Thread.c:1795
2011-12-09 17:21:14.835 I 13265/pthread: ## thread 13266 is created success
2011-12-09 17:21:14.845 I 13265/pthread: ## thread 13265 is creating
thread @dalvik/vm/Thread.c:1795
2011-12-09 17:21:14.845 I 13265/pthread: ## thread 13267 is created success
2011-12-09 17:21:14.875 I 13265/pthread: ## thread 13265 is creating
thread @dalvik/vm/Thread.c:1795
2011-12-09 17:21:14.875 I 13265/pthread: ## thread 13268 is created success
2011-12-09 17:21:14.895 I 13265/pthread: ## thread 13265 is creating
thread @frameworks/base/libs/utils/Threads.cpp:139
2011-12-09 17:21:14.895 I 13265/pthread: ## thread 13269 is created success
2011-12-09 17:21:14.915 I 13265/pthread: ## thread 13269 is creating
thread @frameworks/base/libs/utils/Threads.cpp:139
2011-12-09 17:21:14.915 I 13265/pthread: ## thread 13270 is created success
2011-12-09 17:21:15.055 I 13265/ActivityThread: Publishing provider jbed:
com.esmertec.android.jbed.JbedProvider
2011-12-09 17:21:15.065 I 13265/pthread: ## thread 13265 is creating
thread @external/sqlite/dist/sqlite3.c:22379
2011-12-09 17:21:15.065 I 13265/pthread: ## thread 13271 is created success
2011-12-09 17:21:15.125 I 13265/pthread: ## thread 13265 is creating
thread @dalvik/vm/Thread.c:1443
2011-12-09 17:21:15.125 I 13265/pthread: ## thread 13272 is created success
2011-12-09 17:21:15.135 D 13265/JbedSettings: storeFileSize=63410
oldStoreFileSize=63410
2011-12-09 17:21:15.135 D 13265/JbedSettings: lastModified =1318078441000
oldlastModified=1318078441000
2011-12-09 17:21:15.665 D 13258/WordSearchPresenter: Getting suggestions
on background thread for: coi
2011-12-09 17:21:15.775 I 13258/pthread: ## thread 13273 is created success
2011-12-09 17:21:15.785 I 13258/pthread: ## thread 13274 is created success
2011-12-09 17:21:15.825 D 13258/WordSearchActivity: Lifecycle: OnResume
2011-12-09 17:21:15.875 D 13258/Database: Looking for a maximum of 0
suggestions for stem: coi
2011-12-09 17:21:15.925 I 13258/Database: Checking connection state...
2011-12-09 17:21:15.955 I 13258/Database: Not connected. Connecting now...
2011-12-09 17:21:16.015 I 13258/Database: Opening connection to Data
Source=/mnt/sdcard/xxxDictionary/essential_v12.db...
2011-12-09 17:21:16.115 D 97/PowerManagerService: New lightsensor
value:225, lcdValue:170
2011-12-09 17:21:16.225 D 13265/JbedApp: onCreate
2011-12-09 17:21:16.245 D 13265/JbedVmNoRunningService:
JbedVmNoRunningService onCreate()
2011-12-09 17:21:16.255 I 13265/pthread: ## thread 13265 is creating
thread @dalvik/vm/Thread.c:1443
2011-12-09 17:21:16.255 I 13265/pthread: ## thread 13275 is created success
2011-12-09 17:21:16.255 D 13265/JbedVmNoRunningService:
JbedVmNoRunningService onStart()
2011-12-09 17:21:16.255 D 13265/JbedVmNoRunningService:
JbedVmNoRunningService Run()
2011-12-09 17:21:16.275 I 13258/Database: Checking connection state...
2011-12-09 17:21:16.285 I 13258/Database: Not connected. Connecting now...
2011-12-09 17:21:16.285 I 13258/Database: Opening connection to Data
Source=/mnt/sdcard/xxxDictionary/essential_v12.db...
2011-12-09 17:21:16.335 I 97/LSState:
EventReceiver:android.intent.action.NOTIFICATION_UPDATE
2011-12-09 17:21:16.375 D 13265/JbedVmNoRunningService:
JbedVmNoRunningService onInit()
2011-12-09 17:21:16.435 D 13265/JbedVmNoRunningService: SdcardService
onCreate
2011-12-09 17:21:16.565 D 13265/JbedVmNoRunningService: onCreate start to
parse selector files and save them to db!!!
2011-12-09 17:21:16.585 D 178/BT HS/HF: gsmAsuToSignal=26
2011-12-09 17:21:16.815 I 13258/pthread: ## thread 13274 is creating
thread @external/sqlite/dist/sqlite3.c:22379
2011-12-09 17:21:16.825 I 13258/pthread: ## thread 13276 is created success
2011-12-09 17:21:16.855 D 13265/JbedSelector: loadFromFiles since the
selector.utf has been changed!!
2011-12-09 17:21:17.125 I 13258/Database: Connection opened successfully.
2011-12-09 17:21:17.125 I 13258/Database: Connection opened successfully.
2011-12-09 17:21:17.135 D 13258/Database: Executing SELECT word, sort_key
FROM definitions WHERE (word >= "coi" and word <= "coiz") OR (word >=
"Coi" and word <= "Coiz") ORDER BY sort_key
2011-12-09 17:21:17.345 E 13258/mono:
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
at (wrapper managed-to-native)
Mono.Data.Sqlite.UnsafeNativeMethods:sqlite3_column_type (intptr,int)
2011-12-09 17:21:17.465 I 97/ActivityManager: Process
com.xxxdictionary.android (pid 13258) has died.
2011-12-09 17:21:17.465 I 97/WindowManager: WIN DEATH: Window{4538c7b0
com.xxxdictionary.android/com.xxxdictionary.android.WordSearchActivity
paused=false}
2011-12-09 17:21:17.475 E 97/ActivityManager: fail to set top app changed!
2011-12-09 17:21:17.485 I 169/XT9_C: [loadDefaultDB] xt9_raw/ldb_0409.ldb
size=98056 (loaded)
2011-12-09 17:21:17.485 I 169/XT9_C: [registerXT9LDB] ldb_0409.ldb loading
[done]
2011-12-09 17:21:17.495 D 169/XT9_C: [registerXT9LDB] current LdbNum=109,
First LdbNum=109, Second LdbNum=0
2011-12-09 17:21:17.505 I 169/XT9_C: [loadDefaultDB] xt9_raw/kbd_0d09.kbd
size=38356 (loaded)
2011-12-09 17:21:17.505 I 97/UsageStats: Unexpected resume of
com.htc.launcher while already resumed in com.xxxdictionary.android
2011-12-09 17:21:17.585 D 67/Zygote: Process 13258 exited cleanly (1)
Device
======
build.board=legend
build.brand=vodafone_au
build.cpu_abi=armeabi
build.device=legend
build.display=FRF91
build.fingerprint=vodafone_au/htc_legend/legend/legend:2.2/FRF91/291292:use
r/release-keys
build.host=AA108
build.id=FRF91
build.manufacturer=HTC
build.model=HTC Legend
build.product=htc_legend
build.tags=release-keys
build.time=1291214242000
build.type=user
build.user=unknown
version.codename=REL
version.incremental=291292
version.release=2.2
version.sdk=8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment