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

GitHub | Babouchot | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 23#251632424

    GitHub | 5 months ago | Babouchot
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.getHostAddress()' on a null object reference

    Root Cause Analysis

    1. 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()
    2. org.cocos2dx.cpp
      WifiDirectManager$22.onConnectionInfoAvailable
      1. org.cocos2dx.cpp.wifiDirect.WifiDirectManager$22.onConnectionInfoAvailable(WifiDirectManager.java:1092)
      1 frame