java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gles20/com.example.gles20.GLES20Activity}: java.lang.NullPointerException

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 jayway.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.gles20/com.example.gles20.GLES20Activity}: java.lang.NullPointerException
via jayway.com by Unknown author, 10 months ago
Unable to start activity ComponentInfo{com.example.gles20/com.example.gles20.GLES20Activity}: java.lang.NullPointerException
via jayway.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.gles20/com.example.gles20.GLES20Activity}: java.lang.NullPointerException
via Stack Overflow by Wijden
, 2 years ago
Unable to start activity ComponentInfo{Activity}: java.lang.NullPointerException
via Stack Overflow by Sabarish
, 2 years ago
Unable to start activity ComponentInfo{/app.UserPage}: java.lang.NullPointerException
via Stack Overflow by DanKCl
, 2 years ago
Unable to start activity ComponentInfo{***********}: java.lang.NullPointerException
java.lang.NullPointerException:
at android.view.ViewGroup.addViewInner(ViewGroup.java:3505)
at android.view.ViewGroup.addView(ViewGroup.java:3377)
at android.view.ViewGroup.addView(ViewGroup.java:3353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:286)
at android.app.Activity.setContentView(Activity.java:1915)
at com.example.gles20.GLES20Activity.onCreate(GLES20Activity.java:36)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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