java.lang.NullPointerException

Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.getHostAddress()' on a null object reference

Solutions on the web21091

  • via GitHub by Babouchot
    , 9 months ago
    Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.getHostAddress()' on a null object reference
  • Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.getHostAddress()' on a null object reference
  • Attempt to invoke virtual method 'boolean com.example.pooveshin.saica_sgb.DatabaseHelper.SaveUserMeetings(java.lang.String, java.lang.String, java.lang.String, java.lang.String)' on a null object reference
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.getHostAddress()' on a null object reference at org.cocos2dx.cpp.wifiDirect.WifiDirectManager$22.onConnectionInfoAvailable(WifiDirectManager.java:1092)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.