org.openqa.grid.common.exception.GridConfigurationException

tip

This means you had a syntax problem in your serialization/deserialization, check the Gson javadoc to check the right syntax: https://goo.gl/g7LnZb

tip

This seems to be a bug in the-blue-alliance, fixed in version 4.2.3 (link for github in case you want the changelog: https://goo.gl/NQAKUf ). If you're not using it, it might be that you're parsing xml as json.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • appium parallel execution with Json
    via Stack Overflow by Vaibhav
    ,
  • wialon remote api login with java
    via Stack Overflow by Altynbek
    ,
  • Fatal Error
    via GitHub by fangeugene
    ,
    • org.openqa.grid.common.exception.GridConfigurationException: Error with the JSON of the config : Wrong format for the JSON input : com.google.gson.stream.MalformedJsonException: Expected name at line 1 column 2 path $. at org.openqa.grid.common.RegistrationRequest.loadFromJSON(RegistrationRequest.java:574) at org.openqa.grid.common.RegistrationRequest.build(RegistrationRequest.java:378) at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:83) Caused by: org.openqa.grid.common.exception.GridConfigurationException: Wrong format for the JSON input : com.google.gson.stream.MalformedJsonException: Expected name at line 1 column 2 path $. at org.openqa.grid.common.JSONConfigurationUtils.loadJSON(JSONConfigurationUtils.java:81) at org.openqa.grid.common.RegistrationRequest.loadFromJSON(RegistrationRequest.java:550) ... 2 more Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 1 column 2 path $. at com.google.gson.internal.Streams.parse(Streams.java:56) at com.google.gson.JsonParser.parse(JsonParser.java:84) at com.google.gson.JsonParser.parse(JsonParser.java:59) at com.google.gson.JsonParser.parse(JsonParser.java:45) at org.openqa.grid.common.JSONConfigurationUtils.loadJSON(JSONConfigurationUtils.java:79) ... 3 more Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 1 column 2 path $. at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1573) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:517) at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:418) at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) at com.google.gson.internal.Streams.parse(Streams.java:44) ... 7 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    HandemelindoHandemelindo
    6 times, last one,
    RajeshRajesh
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    30 more bugmates