org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (default-cli) on project services-web: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1

Stack Overflow | Damo | 5 months ago
  1. 0

    Jenkins to Sonar Integration Not Working

    Stack Overflow | 5 months ago | Damo
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (default-cli) on project services-web: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  2. 0

    Expected BEGIN, but nooooo.... String instead!

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

    Simply Jetpacks and Tails Issue?

    GitHub | 2 years ago | O13SC3N3
    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

    Registering handlers Issue?

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

    Error When Adding Pack

    GitHub | 2 years ago | CloudTheWolf
    net.technicpack.rest.RestfulAPIException: Error parsing response JSON at URL [http://networkstudios.tv/solder/public/index.php/api/modpack/]

  1. Indri Yunita 4 times, last 2 weeks ago
  2. nasimk 1 times, last 2 weeks ago
  3. Alexandru Popa 96 times, last 2 weeks ago
  4. iridic 6 times, last 3 weeks ago
  5. bmacedo 36 times, last 2 weeks ago
14 more registered users
52 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:768)
    5. com.google.gson.Gson.fromJson(Gson.java:717)
    6. com.google.gson.Gson.fromJson(Gson.java:689)
    6 frames
  3. SonarQube :: Batch :: Protocol
    GlobalReferentials.fromJson
    1. org.sonar.batch.protocol.input.GlobalReferentials.fromJson(GlobalReferentials.java:70)
    1 frame
  4. SonarQube
    GlobalReferentialsProvider.provide
    1. org.sonar.batch.referential.DefaultGlobalReferentialsLoader.load(DefaultGlobalReferentialsLoader.java:37)
    2. org.sonar.batch.referential.GlobalReferentialsProvider.provide(GlobalReferentialsProvider.java:38)
    2 frames
  5. 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:497)
    4 frames
  6. PicoContainer Core
    DefaultPicoContainer.start
    1. org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
    2. org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
    3. org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
    4. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
    5. org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
    6. org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
    7. org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
    8. org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
    9. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
    10. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
    11. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
    12. org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
    13. org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
    14. org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
    15. org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
    16. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
    17. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
    18. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
    19. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
    20. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
    21. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
    22. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
    23. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
    24. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
    25. org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
    26. org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
    27. org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
    28. org.picocontainer.injectors.SingleMemberInjector.getMemberArguments(SingleMemberInjector.java:61)
    29. org.picocontainer.injectors.MethodInjector.getMemberArguments(MethodInjector.java:100)
    30. org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:112)
    31. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
    32. org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
    33. org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
    34. org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
    35. org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
    36. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
    37. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
    38. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
    39. org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
    40. org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
    41. org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
    42. org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
    43. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
    44. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
    45. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
    46. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
    47. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
    48. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
    49. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
    50. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
    51. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
    52. org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
    53. org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
    54. org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
    55. org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
    56. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
    57. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
    58. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
    59. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
    60. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
    61. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
    62. org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1033)
    63. org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1025)
    64. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002)
    65. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
    65 frames
  7. SonarQube :: Plugin API
    ComponentContainer.startComponents
    1. org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
    1 frame
  8. SonarQube
    Batch.execute
    1. org.sonar.batch.bootstrapper.Batch.start(Batch.java:81)
    2. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
    2 frames
  9. org.sonarsource.scanner
    BatchIsolatedLauncher.executeOldVersion
    1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.executeOldVersion(BatchIsolatedLauncher.java:70)
    1 frame
  10. 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:497)
    4 frames
  11. org.sonarsource.scanner
    IsolatedLauncherProxy.invoke
    1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
    1 frame
  12. com.sun.proxy
    $Proxy23.executeOldVersion
    1. com.sun.proxy.$Proxy23.executeOldVersion(Unknown Source)
    1 frame
  13. org.sonarsource.scanner
    SonarQubeMojo.execute
    1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:245)
    2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
    3. org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:78)
    4. org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:112)
    4 frames
  14. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  15. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  16. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  17. 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:497)
    4 frames
  18. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames