Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException in UriGlideRenderer.writeToParcel #3288

Closed
adbenitez opened this issue Sep 12, 2024 · 0 comments · Fixed by #3294
Closed

NullPointerException in UriGlideRenderer.writeToParcel #3288

adbenitez opened this issue Sep 12, 2024 · 0 comments · Fixed by #3294
Assignees
Labels

Comments

@adbenitez
Copy link
Member

  • Android version: Android 13 (SDK 33)
  • Device: Infinix Infinix-X6716B (NOTE 30)
  • Delta Chat version: 696 (1.46.14)
  • Logs:
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
  at org.thoughtcrime.securesms.scribbles.UriGlideRenderer.writeToParcel (UriGlideRenderer.java:309)
  at android.os.Parcel.writeParcelable (Parcel.java:2548)
  at org.thoughtcrime.securesms.imageeditor.model.EditorElement.writeToParcel (EditorElement.java:350)
  at android.os.Parcel.writeTypedObject (Parcel.java:2167)
  at android.os.Parcel.writeTypedList (Parcel.java:2024)
  at android.os.Parcel.writeTypedList (Parcel.java:1981)
  at org.thoughtcrime.securesms.imageeditor.model.EditorElement.writeToParcel (EditorElement.java:352)
  at android.os.Parcel.writeTypedObject (Parcel.java:2167)
  at android.os.Parcel.writeTypedList (Parcel.java:2024)
  at android.os.Parcel.writeTypedList (Parcel.java:1981)
  at org.thoughtcrime.securesms.imageeditor.model.EditorElement.writeToParcel (EditorElement.java:352)
  at android.os.Parcel.writeTypedObject (Parcel.java:2167)
  at android.os.Parcel.writeTypedList (Parcel.java:2024)
  at android.os.Parcel.writeTypedList (Parcel.java:1981)
  at org.thoughtcrime.securesms.imageeditor.model.EditorElement.writeToParcel (EditorElement.java:352)
  at android.os.Parcel.writeTypedObject (Parcel.java:2167)
  at android.os.Parcel.writeTypedList (Parcel.java:2024)
  at android.os.Parcel.writeTypedList (Parcel.java:1981)
  at org.thoughtcrime.securesms.imageeditor.model.EditorElement.writeToParcel (EditorElement.java:352)
  at android.os.Parcel.writeParcelable (Parcel.java:2548)
  at org.thoughtcrime.securesms.imageeditor.model.ElementStack.getBytes (ElementStack.java:63)
  at org.thoughtcrime.securesms.imageeditor.model.UndoRedoStacks.clear (UndoRedoStacks.java:73)
  at org.thoughtcrime.securesms.imageeditor.model.EditorModel.addElementWithoutPushUndo (EditorModel.java:690)
  at org.thoughtcrime.securesms.imageeditor.model.EditorModel.addElement (EditorModel.java:680)
  at org.thoughtcrime.securesms.scribbles.ImageEditorFragment.onViewCreated (ImageEditorFragment.java:144)
  at androidx.fragment.app.Fragment.performViewCreated (Fragment.java:3128)
  at androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:552)
  at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:261)
  at androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:1899)
  at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:1817)
  at androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1760)
  at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:2985)
  at androidx.fragment.app.FragmentManager.dispatchActivityCreated (FragmentManager.java:2895)
  at androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java:263)
  at androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java:351)
  at androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java:251)
  at android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1514)
  at android.app.Activity.performStart (Activity.java:8374)
  at android.app.ActivityThread.handleStartActivity (ActivityThread.java:3858)
  at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:221)
  at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:201)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:173)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2393)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:204)
  at android.os.Looper.loop (Looper.java:291)
  at android.app.ActivityThread.main (ActivityThread.java:8129)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:588)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1019)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant