com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1

GitHub | ceebas1981 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Board definition parse error

    GitHub | 9 months ago | ceebas1981
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  2. 0

    V3 does not handle redirected json files properly.

    GitHub | 1 year ago | GHPS
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  3. 0

    Crash that I cannot figure out what went wrong : / *spammy crashreport

    GitHub | 2 years ago | Megachuggayoshi
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Imma James - Google+

    google.com | 1 year ago
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  6. 0

    Error Reports for the Block Pack

    ardacraft.me | 1 year ago
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1

  1. Nikolay Rybak 12 times, last 1 month ago
  2. justCodeit 11 times, last 2 months ago
  3. filpgame 4 times, last 2 months ago
  4. Emrah Küçük 9 times, last 4 months ago
  5. linxiaolong 4 times, last 4 months ago
19 more registered users
53 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Expected BEGIN_OBJECT but was STRING at line 1 column 1

    at com.google.gson.stream.JsonReader.beginObject()
  2. Gson
    Gson.fromJson
    1. com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
    3. com.google.gson.Gson.fromJson(Gson.java:803)
    4. com.google.gson.Gson.fromJson(Gson.java:741)
    4 frames
  3. it.baeyens.arduino
    LinkPreferencePage.performOk
    1. it.baeyens.arduino.managers.Manager.loadPackageIndex(Manager.java:237)
    2. it.baeyens.arduino.managers.Manager.internalLoadIndices(Manager.java:68)
    3. it.baeyens.arduino.managers.Manager.loadIndices(Manager.java:176)
    4. it.baeyens.arduino.ui.LinkPreferencePage.performOk(LinkPreferencePage.java:55)
    4 frames
  4. JFace
    PreferenceDialog$12.run
    1. org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:925)
    1 frame
  5. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  6. Eclipse UI
    JFaceUtil$1.run
    1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    1 frame
  7. JFace
    PreferenceDialog.okPressed
    1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
    2. org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:909)
    2 frames
  8. Workbench
    WorkbenchPreferenceDialog.okPressed
    1. org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:409)
    2. org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:168)
    2 frames
  9. JFace
    Dialog$2.widgetSelected
    1. org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
    2. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
    2 frames
  10. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
    6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
    7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
    8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
    9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
    9 frames
  11. JFace
    Window.open
    1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    2. org.eclipse.jface.window.Window.open(Window.java:803)
    2 frames
  12. Workbench
    E4HandlerProxy.execute
    1. org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
    2. org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:59)
    3. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
    4. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
    4 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  14. org.eclipse.e4
    HandlerServiceHandler.execute
    1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
    3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
    4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
    5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
    5 frames
  15. Commands
    ParameterizedCommand.executeWithChecks
    1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
    2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
    2 frames
  16. org.eclipse.e4
    CocoaUIHandler$3.widgetSelected
    1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
    2. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
    3. org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.runCommand(CocoaUIHandler.java:641)
    4. org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.access$5(CocoaUIHandler.java:628)
    5. org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler$3.widgetSelected(CocoaUIHandler.java:500)
    5 frames
  17. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
    6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
    7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
    8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
    9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
    9 frames
  18. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    1 frame
  19. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  20. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    1 frame
  21. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    1 frame
  22. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    1 frame
  23. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  24. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    1 frame
  25. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  26. Eclipse IDE
    IDEApplication.start
    1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    1 frame
  27. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  28. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    4 frames
  29. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  30. Equinox
    Main.run
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
    3 frames