Skip to content

bug,java failed #8

@qianyu0620

Description

@qianyu0620

28536: 心跳成功,请不要关闭此程序,
需要每480秒心跳保持连接!
28536: Next Retry:
28536: java.lang.NumberFormatException: For input string: ""
11212: Send Keep Packet
11212: 心跳成功,请不要关闭此程序,
需要每480秒心跳保持连接!
11212: Next Retry: 480
28536: java.lang.RuntimeException: Unable to create instance of class com.rsplwe.esurfing.model.ResponseRequireVerificate. Registering an InstanceCreator or a TypeAdapter for this type, or adding a no-args constructor may fix this problem.
28536: at com.google.gson.internal.ConstructorConstructor.lambda$newUnsafeAllocator$18(ConstructorConstructor.java:344)
28536: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:552)
28536: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:505)
28536: at com.google.gson.Gson.fromJson(Gson.java:1361)
28536: at com.google.gson.Gson.fromJson(Gson.java:1262)
28536: at com.google.gson.Gson.fromJson(Gson.java:1171)
28536: at com.google.gson.Gson.fromJson(Gson.java:1107)
28536: at com.rsplwe.esurfing.utils.NetworkConnectivityKt.requestVerifyCode(NetworkConnectivity.kt:122)
28536: at com.rsplwe.esurfing.utils.NetworkConnectivityKt.checkVerifyCodeStatus(NetworkConnectivity.kt:93)
28536: at com.rsplwe.esurfing.Client.checkSMSVerify(Client.kt:131)
28536: at com.rsplwe.esurfing.Client.authorization(Client.kt:90)
28536: at com.rsplwe.esurfing.Client.run(Client.kt:77)
28536: at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:90)
28536: Caused by: java.lang.UnsupportedOperationException: Cannot allocate class com.rsplwe.esurfing.model.ResponseRequireVerificate. Usage of JDK sun.misc.Unsafe is enabled, but it could not be used. Make sure your runtime is configured correctly.
28536: at com.google.gson.internal.UnsafeAllocator$4.newInstance(UnsafeAllocator.java:121)
28536: at com.google.gson.internal.ConstructorConstructor.lambda$newUnsafeAllocator$18(ConstructorConstructor.java:341)
28536: ... 12 more
28536:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions