Skip to content

NullPointerException: autoCreateLinks(...) must not be null #20758

@sentry

Description

@sentry

Sentry Issue: JETPACK-ANDROID-R4R

RuntimeException: Unable to start activity ComponentInfo{com.jetpack.android/org.wordpress.android.ui.posts.EditPostActivity}: java.lang.NullPointerException: autoCreateLinks(...) must not be null
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3946)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4126)
    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:108)
    at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:195)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:157)
...
(9 additional frame(s) were not displayed)

NullPointerException: autoCreateLinks(...) must not be null
    at org.wordpress.android.ui.posts.EditPostActivity.newPostFromShareAction(EditPostActivity.kt:451)
    val content = migrateToGutenbergEditor(AutolinkUtils.autoCreateLinks(text))
    at org.wordpress.android.ui.posts.EditPostActivity.handleIntentExtras(EditPostActivity.kt:665)
    newPostFromShareAction()
    at org.wordpress.android.ui.posts.EditPostActivity.onCreate(EditPostActivity.kt:533)
    handleIntentExtras(intent.extras, isRestarting)
...
(15 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions