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 GitHub by rminchev1
, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING
via GitHub by VladimirBogomolov
, 6 months ago
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $
via Stack Overflow by user4772347
, 2 years ago
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
via Stack Overflow by Mes
, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
via Stack Overflow by ikiSiTamvaaan
, 5 months ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 84 path $.PATH_FILE_EXCEL Thread Awaken Thread Awaken Thread Awaken
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING	at com.google.gson.internal.bind.JsonTreeReader.expect(JsonTreeReader.java:139)	at com.google.gson.internal.bind.JsonTreeReader.beginArray(JsonTreeReader.java:58)	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80)	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)	at com.google.gson.Gson.fromJson(Gson.java:879)	at com.google.gson.Gson.fromJson(Gson.java:944)	at net.hawkengine.core.utilities.deserializers.TaskDefinitionAdapter.deserialize(TaskDefinitionAdapter.java:53)	at net.hawkengine.core.utilities.deserializers.TaskDefinitionAdapter.deserialize(TaskDefinitionAdapter.java:25)	at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)	at com.google.gson.Gson.fromJson(Gson.java:879)	at com.google.gson.Gson.fromJson(Gson.java:844)	at com.google.gson.Gson.fromJson(Gson.java:793)	at com.google.gson.Gson.fromJson(Gson.java:765)	at net.hawkengine.ws.WsEndpoint.call(WsEndpoint.java:144)	at net.hawkengine.ws.WsEndpoint.onWebSocketText(WsEndpoint.java:87)	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:189)	at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:66)	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:158)	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:162)	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:367)	at org.eclipse.jetty.websocket.common.extensions.AbstractExtension.nextIncomingFrame(AbstractExtension.java:176)	at org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension.nextIncomingFrame(PerMessageDeflateExtension.java:105)	at org.eclipse.jetty.websocket.common.extensions.compress.CompressExtension.forwardIncoming(CompressExtension.java:142)	at org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension.incomingFrame(PerMessageDeflateExtension.java:85)	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:220)	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:256)	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:675)	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:505)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)	at java.lang.Thread.run(Thread.java:745)