Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2570

PDP-D APPS (scaleout) : Exception decoding time response from SO

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: Frankfurt Release
    • Fix Version/s: Frankfurt Release
    • Component/s: None

      Description

      Error found in scaleout scenario, parsing one of the SO responses:

      [2020-05-15T12:28:12.407+00:00|WARN|HttpOperation|Thread-596] SO.VF Module Create cannot decode response for 1e33bc1e-5d6d-4608-88b7-3abf9e09a0b0[2020-05-15T12:28:12.407+00:00|WARN|HttpOperation|Thread-596] SO.VF Module Create cannot decode response for 1e33bc1e-5d6d-4608-88b7-3abf9e09a0b0org.onap.policy.common.utils.coder.CoderException: com.google.gson.JsonParseException: invalid date at org.onap.policy.common.utils.coder.StandardCoder.decode(StandardCoder.java:189) at org.onap.policy.controlloop.actorserviceprovider.impl.HttpOperation.processResponse(HttpOperation.java:189) at org.onap.policy.controlloop.actorserviceprovider.impl.HttpOperation.lambda$handleResponse$0(HttpOperation.java:160) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: com.google.gson.JsonParseException: invalid date at org.onap.policy.common.gson.LocalDateTimeTypeAdapter.read(LocalDateTimeTypeAdapter.java:51) at org.onap.policy.common.gson.LocalDateTimeTypeAdapter.read(LocalDateTimeTypeAdapter.java:37) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222) at com.google.gson.Gson.fromJson(Gson.java:932) at com.google.gson.Gson.fromJson(Gson.java:897) at com.google.gson.Gson.fromJson(Gson.java:846) at com.google.gson.Gson.fromJson(Gson.java:817) at org.onap.policy.common.utils.coder.StandardCoder.fromJson(StandardCoder.java:346) at org.onap.policy.common.utils.coder.StandardCoder.decode(StandardCoder.java:186) ... 5 common frames omittedCaused by: java.time.format.DateTimeParseException: Text 'Fri, 15 May 2020 12:27:53 GMT' could not be parsed at index 0 at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2046) at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1948) at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:492) at org.onap.policy.common.gson.LocalDateTimeTypeAdapter.read(LocalDateTimeTypeAdapter.java:47) ... 16 common frames omitted[2020-05-15T12:28:12.410+00:00|WARN|OperationPartial|Thread-607] exception thrown by operation SO.VF Module Create for 1e33bc1e-5d6d-4608-88b7-3abf9e09a0b0java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: cannot decode response at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1081) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: java.lang.IllegalArgumentException: cannot decode response at org.onap.policy.controlloop.actorserviceprovider.impl.HttpOperation.processResponse(HttpOperation.java:193) at org.onap.policy.controlloop.actorserviceprovider.impl.HttpOperation.lambda$handleResponse$0(HttpOperation.java:160) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) ... 2 common frames omitted

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jrh3 Jim Hahn
            Reporter:
            jhh Jorge Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: