[Android Apps and Games] m0d:
When composing, with no identity selected yet it causes errors.

The null exceptions occured while composing, I started typing subject and message, added attachments, each time exception popped up. Message and subject did not save, only attachments where kept as is.

After setting up new identity and selecting it, the errors stopped. (I had an identity for different account).

--------- beginning of system
11-12 16:42:02.201 19807 19807 W ViewRootImpl[ActivityView]: Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=386.0, y[0]=758.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=97599723, downTime=97599711, deviceId=7, source=0x1002 }
--------- beginning of main
11-13 07:36:28.363 19807 19807 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
11-13 07:36:31.831 19807 19963 D OpenGLRenderer: endAllActiveAnimators on 0xc8bd4f00 (RippleDrawable) with handle 0xc855f860
11-13 07:36:33.030 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:36:43.967 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:36:52.194 19807 19807 I fairemail: Run load id=1974
11-13 07:36:52.194 19807 19807 I fairemail: Created task eu.faircode.email.FragmentCompose$19@f995d51
11-13 07:36:52.195 19807 19807 I fairemail: Start task eu.faircode.email.FragmentCompose$19@f995d51
11-13 07:36:52.195 19807 19807 I fairemail: Pause FragmentCompose{bde80e7 #0 id=0x7f090062}
11-13 07:36:52.195 19807 19807 I fairemail: Stop task eu.faircode.email.FragmentCompose$19@f995d51
11-13 07:36:52.196 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentCompose$19@f995d51
11-13 07:36:52.196 19807 28558 I fairemail: Load action id=1974 action=2131296285
11-13 07:36:52.199 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:36:52.199 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:36:52.199 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1467)
11-13 07:36:52.199 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1434)
11-13 07:36:52.199 19807 28558 E fairemail:	at eu.faircode.email.SimpleTask$1.run(SourceFile:130)
11-13 07:36:52.199 19807 28558 E fairemail:	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
11-13 07:36:52.199 19807 28558 E fairemail:	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-13 07:36:52.199 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-13 07:36:52.199 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-13 07:36:52.199 19807 28558 E fairemail:	at java.lang.Thread.run(Thread.java:761)
11-13 07:36:52.202 19807 19807 I fairemail: Destroy FragmentCompose{bde80e7 #0 id=0x7f090062}
11-13 07:36:52.214 19807 19807 I fairemail: Deferring delivery task eu.faircode.email.FragmentCompose$19@f995d51
11-13 07:36:52.214 19807 19807 I fairemail: Pause eu.faircode.email.ActivityCompose
11-13 07:36:52.214 19807 29312 D AppTracker: App Event: stop
11-13 07:36:52.244 19807 19807 I fairemail: Resume eu.faircode.email.ActivityView
11-13 07:36:52.248 19807 19807 I fairemail: View intent=Intent { flg=0x10400000 cmp=eu.faircode.email/.ActivityView } action=null
11-13 07:36:52.249 19807 19807 I fairemail: Resume FragmentMessages{14811a0 #5 id=0x7f090062}
11-13 07:36:52.250 19807 29454 D AppTracker: App Event: start
11-13 07:36:52.400 19807 19807 I fairemail: Submit messages=1
11-13 07:36:52.401 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:36:52.494 19807 19963 D OpenGLRenderer: endAllActiveAnimators on 0xc7b7bc80 (RippleDrawable) with handle 0xc856b310
11-13 07:36:52.691 19807 19807 I fairemail: Destroy eu.faircode.email.ActivityCompose
11-13 07:36:53.744 19807 29455 D AppTracker: App Event: stop
11-13 07:36:53.744 19807 19807 I fairemail: Pause eu.faircode.email.ActivityView
11-13 07:36:53.744 19807 19807 I fairemail: Pause FragmentMessages{14811a0 #5 id=0x7f090062}
11-13 07:36:53.760 19807 19807 I fairemail: Create eu.faircode.email.ActivityCompose version=1.151
11-13 07:36:53.765 19807 19807 I fairemail: Create FragmentCompose{d18af73 #0 id=0x7f090062} saved=false
11-13 07:36:53.784 19807 19807 I fairemail: Activity FragmentCompose{d18af73 #0 id=0x7f090062} saved=false
11-13 07:36:53.784 19807 19807 I fairemail: Created task eu.faircode.email.FragmentCompose$18@dc6a4d5
11-13 07:36:53.784 19807 28558 I fairemail: Load draft action=edit id=1974 reference=-1
11-13 07:36:53.785 19807 19807 I fairemail: Start task eu.faircode.email.FragmentCompose$18@dc6a4d5
11-13 07:36:53.785 19807 19807 I fairemail: Resume eu.faircode.email.ActivityCompose
11-13 07:36:53.786 19807 19807 I fairemail: Resume FragmentCompose{d18af73 #0 id=0x7f090062}
11-13 07:36:53.786 19807 19807 I fairemail: Resume task eu.faircode.email.FragmentCompose$18@dc6a4d5
11-13 07:36:53.787 19807 29304 D AppTracker: App Event: start
11-13 07:36:53.789 19807 19807 I fairemail: Delivery task eu.faircode.email.FragmentCompose$18@dc6a4d5
11-13 07:36:53.789 19807 19807 I fairemail: Loaded draft id=1974 action=edit
11-13 07:36:53.790 19807 19807 I fairemail: Created task eu.faircode.email.FragmentCompose$18$1@550c5b6
11-13 07:36:53.790 19807 19807 I fairemail: Start task eu.faircode.email.FragmentCompose$18$1@550c5b6
11-13 07:36:53.790 19807 19807 I fairemail: Resume task eu.faircode.email.FragmentCompose$18$1@550c5b6
11-13 07:36:53.791 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentCompose$18@dc6a4d5
11-13 07:36:53.832 19807 19807 I fairemail: Delivery task eu.faircode.email.FragmentCompose$18$1@550c5b6
11-13 07:36:53.834 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentCompose$18$1@550c5b6
11-13 07:36:53.834 19807 19807 I fairemail: Set attachments=2
11-13 07:36:53.834 19807 19807 I fairemail: Inserted @0 #2
11-13 07:36:53.834 19807 19807 I fairemail: Set accounts=2
11-13 07:36:53.877 19807 19807 I fairemail: Set identities=0
11-13 07:36:54.212 19807 19807 I fairemail: Save instance FragmentMessages{9ef46c4 #0 id=0x7f090062}
11-13 07:36:54.212 19807 19807 I fairemail: Save instance FragmentFolders{824fbbf #1 id=0x7f090062}
11-13 07:36:54.213 19807 19807 I fairemail: Save instance FragmentMessages{14811a0 #5 id=0x7f090062}
11-13 07:36:55.339 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:36:58.656 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:37:02.699 19807 19822 I art : Background sticky concurrent mark sweep GC freed 119191(5MB) AllocSpace objects, 6(152KB) LOS objects, 12% free, 45MB/52MB, paused 894us total 113.924ms
11-13 07:37:09.390 19807 19807 I fairemail: Run load id=1974
11-13 07:37:09.390 19807 19807 I fairemail: Created task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:09.390 19807 19807 I fairemail: Start task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:09.390 19807 19807 I fairemail: Resume task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:09.391 19807 28558 I fairemail: Load action id=1974 action=2131296285
11-13 07:37:09.395 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:37:09.395 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:37:09.395 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1467)
11-13 07:37:09.395 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1434)
11-13 07:37:09.395 19807 28558 E fairemail:	at eu.faircode.email.SimpleTask$1.run(SourceFile:130)
11-13 07:37:09.395 19807 28558 E fairemail:	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
11-13 07:37:09.395 19807 28558 E fairemail:	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-13 07:37:09.395 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-13 07:37:09.395 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-13 07:37:09.395 19807 28558 E fairemail:	at java.lang.Thread.run(Thread.java:761)
11-13 07:37:09.401 19807 19807 I fairemail: Delivery task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:09.436 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:12.868 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:37:16.982 19807 19807 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
11-13 07:37:16.983 19807 19807 W ViewRootImpl[ActivityCompose]: Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=716.0, y[0]=678.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=123143200, downTime=123143189, deviceId=7, source=0x1002 }
11-13 07:37:16.983 19807 19807 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
11-13 07:37:23.563 19807 19807 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
11-13 07:37:25.509 19807 19963 D OpenGLRenderer: endAllActiveAnimators on 0xc88de480 (RippleDrawable) with handle 0xc7d67320
11-13 07:37:26.375 19807 19807 I fairemail: Run load id=1974
11-13 07:37:26.375 19807 19807 I fairemail: Created task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:26.375 19807 19807 I fairemail: Start task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:26.375 19807 19807 I fairemail: Resume task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:26.377 19807 28558 I fairemail: Load action id=1974 action=2131296285
11-13 07:37:26.380 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:37:26.380 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:37:26.380 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1467)
11-13 07:37:26.380 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1434)
11-13 07:37:26.380 19807 28558 E fairemail:	at eu.faircode.email.SimpleTask$1.run(SourceFile:130)
11-13 07:37:26.380 19807 28558 E fairemail:	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
11-13 07:37:26.380 19807 28558 E fairemail:	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-13 07:37:26.380 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-13 07:37:26.380 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-13 07:37:26.380 19807 28558 E fairemail:	at java.lang.Thread.run(Thread.java:761)
11-13 07:37:26.387 19807 19807 I fairemail: Delivery task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:26.432 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:28.107 19807 19807 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
11-13 07:37:31.286 19807 19807 I fairemail: Create FragmentIdentity{7d186bf #1 id=0x7f090062} saved=false
11-13 07:37:31.308 19807 19807 I fairemail: Run load id=1974
11-13 07:37:31.309 19807 19807 I fairemail: Created task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:31.309 19807 19807 I fairemail: Start task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:31.309 19807 19807 I fairemail: Pause FragmentCompose{d18af73 #0 id=0x7f090062}
11-13 07:37:31.309 19807 19807 I fairemail: Stop task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:31.310 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:31.310 19807 28558 I fairemail: Load action id=1974 action=2131296285
11-13 07:37:31.314 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:37:31.314 19807 28558 E fairemail: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
11-13 07:37:31.314 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1467)
11-13 07:37:31.314 19807 28558 E fairemail:	at eu.faircode.email.FragmentCompose$19.onLoad(SourceFile:1434)
11-13 07:37:31.314 19807 28558 E fairemail:	at eu.faircode.email.SimpleTask$1.run(SourceFile:130)
11-13 07:37:31.314 19807 28558 E fairemail:	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
11-13 07:37:31.314 19807 28558 E fairemail:	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-13 07:37:31.314 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-13 07:37:31.314 19807 28558 E fairemail:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-13 07:37:31.314 19807 28558 E fairemail:	at java.lang.Thread.run(Thread.java:761)
11-13 07:37:31.384 19807 19807 I fairemail: Activity FragmentIdentity{7d186bf #1 id=0x7f090062} saved=false
11-13 07:37:31.384 19807 19807 I fairemail: Resume FragmentIdentity{7d186bf #1 id=0x7f090062}
11-13 07:37:31.391 19807 19807 I fairemail: Deferring delivery task eu.faircode.email.FragmentCompose$19@6a5a13f
11-13 07:37:31.393 19807 19807 I fairemail: Created task eu.faircode.email.FragmentIdentity$11$1@1c9ffb9
11-13 07:37:31.393 19807 19807 I fairemail: Start task eu.faircode.email.FragmentIdentity$11$1@1c9ffb9
11-13 07:37:31.393 19807 19807 I fairemail: Resume task eu.faircode.email.FragmentIdentity$11$1@1c9ffb9
11-13 07:37:31.404 19807 19807 I fairemail: Delivery task eu.faircode.email.FragmentIdentity$11$1@1c9ffb9
11-13 07:37:31.405 19807 19807 I fairemail: Destroy task eu.faircode.email.FragmentIdentity$11$1@1c9ffb9