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

Solutions on the web

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

2 times, 5 months ago
3 times, 1 month ago
Once, 1 month ago
2 times, 2 months ago
Once, 3 months ago
43 more bugmates

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