[ONE Original Android Development] fmc000:
Call log write failure - logcat extract.

This is the error when writing a call to the log:

12-13 08:22:47.356 I/Telecom (4916): InCallController: onCallRemoved: [TC@9, DISCONNECTED, null, tel:*****, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_HOLD CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: CSW.rC@DTI
12-13 08:22:47.357 I/Telecom (4916): ProximitySensorManager: All calls removed, resetting proximity sensor to default state: CSW.rC@DTI
12-13 08:22:47.357 I/Telecom (4916): TelecomWakeLock: WakeLock already released with id: 32: CSW.rC@DTI
12-13 08:22:47.357 I/Telecom (4916): TelecomWakeLock: WakeLock already released with id: 26: CSW.rC@DTI
12-13 08:22:47.357 I/Telecom (4916): InCallWakeLockController: Releasing full wake lock: CSW.rC@DTI
12-13 08:22:47.358 V/Avrcp (23739): Active sessions changed, 0 sessions
12-13 08:22:47.358 D/Avrcp (23739): Exit onActiveSessionsChanged()
12-13 08:22:47.359 I/Telecom (4916): CallAudioRouteStateMachine: setSystemAudioState: changing from [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER] to [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER]: CSW.sDc->CARSM.pM_UPDATE_SYSTEM_AUDIO_ROUTE@DTE_0
12-13 08:22:47.359 I/Telecom (4916): InCallController: Calling onAudioStateChanged, audioState: [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER] -> [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER]: CSW.sDc->CARSM.pM_UPDATE_SYSTEM_AUDIO_ROUTE@DTE_0
12-13 08:22:47.369 I/Telecom (4916): CallAudioRouteStateMachine: Message received: SWITCH_FOCUS=4001, arg1=2: CSW.sDc->CAMSM.pM_1001->CARSM.pM_SWITCH_FOCUS@DTE_3_2
12-13 08:22:47.369 I/Telecom (4916): CallAudioRouteStateMachine: setNotificationsSuppressed: on=yes; suppressed=yes: CSW.sDc->CAMSM.pM_1001->CARSM.pM_SWITCH_FOCUS@DTE_3_2
12-13 08:22:47.371 W/OpenGLRenderer(11903): Incorrectly called buildLayer on View: FrameLayout, destroying layer...
12-13 08:22:47.387 E/ContentValues(11950): Cannot parse Integer value for 89390100001801432697 at key subscription_id
12-13 08:22:47.388 E/DatabaseUtils(11950): Writing exception to parcel
12-13 08:22:47.388 E/DatabaseUtils(11950): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
12-13 08:22:47.388 E/DatabaseUtils(11950):	at com.android.providers.contacts.CallLogProvider.insert(CallLogProvider.java:357)
12-13 08:22:47.388 E/DatabaseUtils(11950):	at android.content.ContentProvider$Transport.insert(ContentProvider.java:264)
12-13 08:22:47.388 E/DatabaseUtils(11950):	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:163)
12-13 08:22:47.388 E/DatabaseUtils(11950):	at android.os.Binder.execTransact(Binder.java:565)
12-13 08:22:47.390 E/Telecom (4916): CallLogManager: Exception raised during adding CallLog entry.
12-13 08:22:47.390 E/Telecom (4916): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
12-13 08:22:47.390 E/Telecom (4916):	at android.os.Parcel.readException(Parcel.java:1690)
12-13 08:22:47.390 E/Telecom (4916):	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
12-13 08:22:47.390 E/Telecom (4916):	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
12-13 08:22:47.390 E/Telecom (4916):	at android.content.ContentProviderProxy.insert(ContentProviderNative.java:476)
12-13 08:22:47.390 E/Telecom (4916):	at android.content.ContentResolver.insert(ContentResolver.java:1279)
12-13 08:22:47.390 E/Telecom (4916):	at android.provider.CallLog$Calls.addEntryAndRemoveExpiredEntries(CallLog.java:870)
12-13 08:22:47.390 E/Telecom (4916):	at android.provider.CallLog$Calls.addCall(CallLog.java:761)
12-13 08:22:47.390 E/Telecom (4916):	at android.provider.CallLog$Calls.addCall(CallLog.java:568)
12-13 08:22:47.390 E/Telecom (4916):	at com.android.server.telecom.CallLogManager$LogCallAsyncTask.addCall(CallLogManager.java:397)
12-13 08:22:47.390 E/Telecom (4916):	at com.android.server.telecom.CallLogManager$LogCallAsyncTask.addCall(CallLogManager.java:383)
12-13 08:22:47.390 E/Telecom (4916):	at com.android.server.telecom.CallLogManager$LogCallAsyncTask.doInBackground(CallLogManager.java:358)
12-13 08:22:47.390 E/Telecom (4916):	at com.android.server.telecom.CallLogManager$LogCallAsyncTask.doInBackground(CallLogManager.java:349)
12-13 08:22:47.390 E/Telecom (4916):	at android.os.AsyncTask$2.call(AsyncTask.java:305)
12-13 08:22:47.390 E/Telecom (4916):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
12-13 08:22:47.390 E/Telecom (4916):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
12-13 08:22:47.390 E/Telecom (4916):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
12-13 08:22:47.390 E/Telecom (4916):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
12-13 08:22:47.390 E/Telecom (4916):	at java.lang.Thread.run(Thread.java:761)
12-13 08:22:47.390 W/Telecom (4916): CallLogManager: Failed to write call to the log.