java.lang.RuntimeException

Unable to start activity ComponentInfo{gamingproject.sellmybooks/gamingproject.sellmybooks.SendMess}: java.lang.NullPointerException: Can't pass null for argument 'pathString' in child()

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via Stack Overflow by Carlo
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{gamingproject.sellmybooks/gamingproject.sellmybooks.SendMess}: java.lang.NullPointerException: Can't pass null for argument 'pathString' in child() at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2465) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2530) at android.app.ActivityThread.access$900(ActivityThread.java:163) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1358) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5536) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1397) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1192) Caused by: java.lang.NullPointerException: Can't pass null for argument 'pathString' in child() at com.google.firebase.database.DatabaseReference.child(Unknown Source) at gamingproject.sellmybooks.SendMess.onCreate(SendMess.java:103) at android.app.Activity.performCreate(Activity.java:5993) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2418)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    BennyBenny
    24 times, last one