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 GitHub by gitars
, 1 year ago
Attempt to read from field 'int com.android.server.am.ProcessRecord.uid' on a null object reference
via GitHub by Zillode
, 2 years ago
Attempt to invoke virtual method 'java.lang.String java.lang.String.intern()' on a null object reference
via Stack Overflow by Stella
, 8 months ago
Attempt to invoke virtual method 'boolean com.android.server.connectivity.Vpn.prepare(java.lang.String, java.lang.String)' on a null object reference
via GitHub by breversa
, 2 months ago
Attempt to invoke interface method 'android.os.Messenger android.net.wifi.IWifiManager.getWifiServiceMessenger()' on a null object reference
via GitHub by kerlerm
, 1 year ago
collection == null
java.lang.NullPointerException: Attempt to read from field 'int com.android.server.am.ProcessRecord.uid' on a null object reference	at android.os.Parcel.readException(Parcel.java:1552)	at android.os.Parcel.readException(Parcel.java:1499)	at android.app.ActivityManagerProxy.bindService(ActivityManagerNative.java:3754)	at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1970)	at android.app.ContextImpl.bindService(ContextImpl.java:1939)	at android.content.ContextWrapper.bindService(ContextWrapper.java:539)	at org.solovyev.android.checkout.Billing$DefaultServiceConnector.connect(SourceFile:1268)	at org.solovyev.android.checkout.Billing.connectOnMainThread(SourceFile:6416)	at org.solovyev.android.checkout.Billing$4.run(SourceFile:408)	at org.solovyev.android.checkout.MainThread.execute(SourceFile:57)	at org.solovyev.android.checkout.Billing.connect(SourceFile:405)	at org.solovyev.android.checkout.Checkout.org.solovyev.android.checkout.Billing.onCheckoutStarted(SourceFile:1612)	at com.gitars.app.HomeActivity.org.solovyev.android.checkout.Checkout.start(SourceFile:4150)	at android.app.Activity.performCreate(Activity.java:6190)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1115)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2625)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)	at android.app.ActivityThread.access$800(ActivityThread.java:187)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1582)	at android.os.Handler.dispatchMessage(Handler.java:111)	at android.os.Looper.loop(Looper.java:194)	at android.app.ActivityThread.main(ActivityThread.java:5844)	at java.lang.reflect.Method.invoke(Method.java)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1109)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:875)