java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.CCParser$CCLineBuilder.setCharAt(int, char)' on a null object reference 08-04 14:29:32.118: W/System.err(1445): at android.media.CCParser$CCMemory.der(ClosedCaptionRenderer.java:613)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Test_Me
, 1 year ago
Attempt to invoke virtual method 'void android.media.CCParser$CCLineBuilder.setCharAt(int, char)' on a null object reference 08-04 14:29:32.118: W/System.err(1445): at android.media.CCParser$CCMemory.der(ClosedCaptionRenderer.java:613)
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.CCParser$CCLineBuilder.setCharAt(int, char)' on a null object reference 08-04 14:29:32.118: W/System.err(1445): at android.media.CCParser$CCMemory.der(ClosedCaptionRenderer.java:613)
at android.media.CCParser.handleCtrlCode(ClosedCaptionRenderer.java:280)
at android.media.CCParser.parse(ClosedCaptionRenderer.java:175)
at android.media.ClosedCaptionTrack.onData(ClosedCaptionRenderer.java:93)
at android.media.SubtitleTrack.onData(SubtitleTrack.java:81)
at android.media.MediaPlayer$1.onSubtitleData(MediaPlayer.java:2192)
at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2949)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.