Skip to content

Instantly share code, notes, and snippets.

@Vgdn1942
Created December 14, 2022 07:53
Show Gist options
  • Save Vgdn1942/11a162a841bd57cd10d0acd1652dc97b to your computer and use it in GitHub Desktop.
Save Vgdn1942/11a162a841bd57cd10d0acd1652dc97b to your computer and use it in GitHub Desktop.
D/TRANSPORT: HTTP request found
D/TRANSPORT: COMMAND = [CommandRegistration input=[STRING], output=[STRING]] (12)
I/System.out: read {
I/System.out: "agentCode": [
I/System.out: "bankPayingAgent"
I/System.out: ],
I/System.out: "automaticNumber": "12136556",
I/System.out: "cashier": {
I/System.out: "inn": "12345678",
I/System.out: "name": "Asdf"
I/System.out: },
I/System.out: "changeRegistrationReason": [
I/System.out: "changeAutomaticNumber"
I/System.out: ],
I/System.out: "defaultTaxationSystem": "osn",
I/System.out: "ffdNumber": "120",
I/System.out: "fiscalStorage": false,
I/System.out: "fnsSite": "kdhfgkldhlgh",
I/System.out: "isAutomatic": false,
I/System.out: "isAutonomous": true,
I/System.out: "isBSOMode": false,
I/System.out: "isCrypt": false,
I/System.out: "isExcise": false,
I/System.out: "isGambling": false,
I/System.out: "isInsurance": false,
I/System.out: "isInternetUsing": false,
I/System.out: "isLottery": false,
I/System.out: "isMarkedProducts": false,
I/System.out: "isPawnshop": false,
I/System.out: "ofd": {
I/System.out: "email": "http://nalog.gov.ru",
I/System.out: "host": "sljglsjg",
I/System.out: "inn": "29749274",
I/System.out: "name": "lsjggljgl",
I/System.out: "oismHost": "sflsgmslg",
I/System.out: "oismPort": 0,
I/System.out: "okpHost": "sfkjslkg",
I/System.out: "okpPort": 0,
I/System.out: "port": 0
I/System.out: },
I/System.out: "organization": {
I/System.out: "address": "vnlgnvlngl",
I/System.out: "email": "lmvlsmvlmv",
I/System.out: "inn": "123456789",
I/System.out: "name": "lsngflsng",
I/System.out: "paymentPlace": "lvmlmgslg"
I/System.out: },
I/System.out: "registerWithoutFiscalStorage": true,
I/System.out: "rnm": "36345903750830580385",
I/System.out: "taxationSystems": [
I/System.out: "osn"
I/System.out: ]
I/System.out: }
W/System.err: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected an int but was BEGIN_ARRAY at line 2 column 19 path $.agentCode
W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226)
W/System.err: at com.google.gson.Gson.fromJson(Gson.java:932)
W/System.err: at com.google.gson.Gson.fromJson(Gson.java:897)
W/System.err: at com.google.gson.Gson.fromJson(Gson.java:846)
W/System.err: at com.google.gson.Gson.fromJson(Gson.java:817)
W/System.err: at ru.evotor.external.integrations.commands.protocol.CommonCommandHandler.handle(CommonCommandHandler.kt:24)
W/System.err: at ru.evotor.external.integrations.transport.protocol.HttpHandler.execute(HttpHandler.kt:32)
W/System.err: at ru.evotor.external.integrations.transport.SocketTransport.run(SocketTransport.kt:61)
W/System.err: at ru.evotor.external.integrations.transport.SocketTransport.$r8$lambda$pzLeK0zOG43cbXQTslemWB9mgIo(Unknown Source:0)
W/System.err: at ru.evotor.external.integrations.transport.SocketTransport$$ExternalSyntheticLambda0.run(Unknown Source:2)
W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err: at java.lang.Thread.run(Thread.java:919)
W/System.err: Caused by: java.lang.IllegalStateException: Expected an int but was BEGIN_ARRAY at line 2 column 19 path $.agentCode
W/System.err: at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1198)
W/System.err: at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:226)
W/System.err: at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:218)
W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
W/System.err: ... 14 more
D/TRANSPORT: no handler found :( exit
D/TRANSPORT: listen...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment