java.lang.RuntimeException

Unable to start activity ComponentInfo{wycliffeassociates.recordingapp/wycliffeassociates.recordingapp.Recording.RecordingScreen}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

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 web188

  • via GitHub by jsarabia1247
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{wycliffeassociates.recordingapp/wycliffeassociates.recordingapp.Recording.RecordingScreen}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2460) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2522) at android.app.ActivityThread.access$800(ActivityThread.java:167) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5534) 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:955) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.io.StringReader.<init>(StringReader.java:47) at com.wycliffeassociates.io.LanguageLevel.parseJSON(LanguageLevel.java:25) at com.wycliffeassociates.io.ArchiveOfHolding$Header.<init>(ArchiveOfHolding.java:48) at com.wycliffeassociates.io.ArchiveOfHolding.<init>(ArchiveOfHolding.java:109) at wycliffeassociates.recordingapp.Playback.SourceAudio.getAudioFromUri(SourceAudio.java:125) at wycliffeassociates.recordingapp.Playback.SourceAudio.loadAudioFile(SourceAudio.java:173) at wycliffeassociates.recordingapp.Playback.SourceAudio.initSrcAudio(SourceAudio.java:188) at wycliffeassociates.recordingapp.Recording.RecordingScreen.onCreate(RecordingScreen.java:120) at android.app.Activity.performCreate(Activity.java:5971) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413) ... 10 more

    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

    filpgamefilpgame
    7 times, last one
    RajeshRajesh
    4 times, last one
    bayukresnobayukresno
    8 times, last one
    MacaponMacapon
    36 times, last one
    LartenLarten
    2 times, last one
    4 more bugmates