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
, 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 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
via Stack Overflow by Alexander
, 2 years ago
Attempt to invoke virtual method 'long java.io.File.getUsableSpace()' on a null object reference
java.lang.NullPointerException: null	at android.os.Parcel.readException(Parcel.java:1471)	at android.os.Parcel.readException(Parcel.java:1419)	at android.net.IConnectivityManager$Stub$Proxy.prepareVpn(IConnectivityManager.java:1727)	at android.net.VpnService.prepare(VpnService.java:144)