java.lang.NullPointerException: null

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
, 3 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
, 10 months 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
, 1 year 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)

Users with the same issue

10 times, 2 months ago
2 times, 4 months ago
2 times, 4 months ago
2 times, 5 months ago
611 times, 8 months ago
54 more bugmates

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