gherkin.deps.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 4

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by jov...@gmail.com (JIRA), 1 year ago
via Jenkins JIRA by Joviano Dias, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 4
via Jenkins JIRA by Joviano Dias, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 4
via GitHub by jovistruck
, 2 years ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 4
via jenkins-ci.org by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 4
via GitHub by jamespullar
, 8 months ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2
gherkin.deps.com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 4
at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:806)
at gherkin.deps.com.google.gson.Gson.fromJson(Gson.java:734)
at gherkin.JSONParser.parse(JSONParser.java:41)
at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:77)
at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:43)
at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:159)
at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:105)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.