java.net.SocketException

Google Groups | Radharc | 3 years ago
  1. 0

    NetworkInterface.getNetworkInterfaces() not work on JDK 1.7 OS X?

    Stack Overflow | 4 years ago | DANG Fan
    java.net.SocketException: Can't assign requested address
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NumberFormatException

      Invalid int: " 4"

      at java.lang.Integer.invalidInt()
    2. Java RT
      NetworkInterface.getNetworkInterfaces
      1. java.lang.Integer.invalidInt(Integer.java:138)
      2. java.lang.Integer.parse(Integer.java:375)
      3. java.lang.Integer.parseInt(Integer.java:366)
      4. java.lang.Short.parseShort(Short.java:213)
      5. java.net.NetworkInterface.collectIpv6Addresses(NetworkInterface.java:146)
      6. java.net.NetworkInterface.getByName(NetworkInterface.java:117)
      7. java.net.NetworkInterface.getNetworkInterfacesList(NetworkInterface.java:271)
      8. java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:262)
      8 frames
    3. lutey.FTPServer.service
      q.onReceive
      1. lutey.FTPServer.service.c.a(ConnectionManager.java:315)
      2. lutey.FTPServer.service.c.a(ConnectionManager.java:84)
      3. lutey.FTPServer.service.FTPService.g(FTPService.java:295)
      4. lutey.FTPServer.service.q.onReceive(NetworkStateBroadcastReceiver.java:17)
      4 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:757)
      2. android.os.Handler.handleCallback(Handler.java:615)
      3. android.os.Handler.dispatchMessage(Handler.java:92)
      4. android.os.Looper.loop(Looper.java:137)
      5. android.app.ActivityThread.main(ActivityThread.java:5021)
      5 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame