java.lang.NullPointerException: lock == null

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Could not get smack version in SmackInitialization in Android

    Stack Overflow | 1 year ago | Sanat Pandey
    java.lang.NullPointerException: lock == null
  2. 0

    How to import a csv or excel data into a sqlite in Android?

    Stack Overflow | 1 month ago | Matheus Barreto
    java.lang.RuntimeException: Unable to start activity ComponentInfo{matheussfdb.teste/matheussfdb.teste.MainActivity}: java.lang.NullPointerException: lock == null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    asInputStream() caused NullPointerException

    GitHub | 2 years ago | gythialy
    java.lang.NullPointerException: lock == null

  1. poroszd 1 times, last 2 weeks ago
  2. SteVio1989 1 times, last 4 weeks ago
  3. Handemelindo 1 times, last 3 months ago
  4. kid 1 times, last 3 months ago
  5. Tahir 8 times, last 5 months ago
6 more registered users
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    lock == null

    at java.io.Reader.<init>()
  2. Java RT
    InputStreamReader.<init>
    1. java.io.Reader.<init>(Reader.java:64)
    2. java.io.InputStreamReader.<init>(InputStreamReader.java:122)
    3. java.io.InputStreamReader.<init>(InputStreamReader.java:57)
    3 frames
  3. Smack
    ConnectionConfiguration.<clinit>
    1. org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:61)
    2. org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:96)
    3. org.jivesoftware.smack.ConnectionConfiguration.<clinit>(ConnectionConfiguration.java:38)
    3 frames
  4. com.myoneapp.chat
    MyService.onCreate
    1. com.myoneapp.chat.services.MyXMPP.initialiseConnection(MyXMPP.java:111)
    2. com.myoneapp.chat.services.MyXMPP.init(MyXMPP.java:105)
    3. com.myoneapp.chat.services.MyXMPP.<init>(MyXMPP.java:68)
    4. com.myoneapp.chat.services.MyXMPP.getInstance(MyXMPP.java:78)
    5. com.myoneapp.chat.services.MyService.onCreate(MyService.java:37)
    5 frames
  5. Android Platform
    ActivityThread.handleCreateService
    1. android.app.ActivityThread.handleCreateService(ActivityThread.java:2877)
    1 frame