java.lang.NullPointerException: lock == 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

Samebug tips

,

Thrown when an application is trying to use or access an object whose reference equals to null but if you are getting no message, try using the option -XX:-OmitStackTraceInFastThrow.

java.lang.NullPointerException: lock == null
at java.io.Reader.(Reader.java:64)
at java.io.InputStreamReader.(InputStreamReader.java:122)
at java.io.InputStreamReader.(InputStreamReader.java:57)
at org.jivesoftware.smack.SmackInitialization.(SmackInitialization.java:61)
at org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:96)
at org.jivesoftware.smack.ConnectionConfiguration.(ConnectionConfiguration.java:38)
at com.myoneapp.chat.services.MyXMPP.initialiseConnection(MyXMPP.java:111)
at com.myoneapp.chat.services.MyXMPP.init(MyXMPP.java:105)
at com.myoneapp.chat.services.MyXMPP.(MyXMPP.java:68)
at com.myoneapp.chat.services.MyXMPP.getInstance(MyXMPP.java:78)
at com.myoneapp.chat.services.MyService.onCreate(MyService.java:37)

Users with the same issue

Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
3 times, 3 months ago
Once, 3 months ago

Write tip

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