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 Stella
, 10 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 Stack Overflow by Smok Col
, 2 years ago
collection == null
via GitHub by daiwenbo88
, 1 year ago
Attempt to invoke virtual method 'int com.android.server.job.controllers.JobStatus.getUid()' on a null object reference
via Stack Overflow by Julian Claudino
, 2 years ago
Attempt to invoke virtual method 'java.lang.String android.bluetooth.BluetoothDevice.getAddress()' on a null object reference
java.lang.NullPointerException: null at android.os.Parcel.readException(Parcel.java:1471)[na:0.0] at android.os.Parcel.readException(Parcel.java:1419)[na:0.0] at android.net.IConnectivityManager$Stub$Proxy.prepareVpn(IConnectivityManager.java:1727)[na:0.0] at android.net.VpnService.prepare(VpnService.java:144)[na:0.0]