org.json.JSONException: A JSONArray text must start with '[' at character 1

GitHub | babebridou | 2 months ago
  1. 0

    Exception when executing maven plugin on toast-tk-examples

    GitHub | 2 months ago | babebridou
    org.json.JSONException: A JSONArray text must start with '[' at character 1
  2. 0

    GET /session/:sessionId/log/types throws exception

    GitHub | 3 years ago | csnover
    org.json.JSONException: A JSONArray text must start with '[' at character 1
  3. 0

    Bluemix Java EE Web Application: Receiving org.json.JSONTokener.syntaxError:433 on deployed from valid JSON

    Stack Overflow | 9 months ago | Kyledmw
    org.json.JSONException: Expected a ',' or '}' at 25 [character 26 line 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NPE saving post content

    GitHub | 3 years ago | nbradbury
    org.json.JSONException: End of input at character 0 of
  6. 0

    after updating the source is ...

    GitHub | 2 years ago | door43app
    org.json.JSONException: End of input at character 0 of

  1. ajinkya_w 5 times, last 2 months ago
  2. brunosatriani 3 times, last 5 months ago
  3. ankit 1 times, last 7 months ago
  4. szoszi 2 times, last 8 months ago
13 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. org.json.JSONException

    A JSONArray text must start with '[' at character 1

    at org.json.JSONTokener.syntaxError()
  2. Android Platform
    JSONArray.<init>
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:410)[json-20090211.jar:?]
    2. org.json.JSONArray.<init>(JSONArray.java:113)[json-20090211.jar:?]
    3. org.json.JSONArray.<init>(JSONArray.java:157)[json-20090211.jar:?]
    3 frames
  3. io.toast.tk
    DownloadScriptsMojo.execute
    1. io.toast.tk.core.rest.RestUtils.downloadRepository(RestUtils.java:61)[toast-tk-rest-utils-0.1.4-SNAPSHOT.jar:?]
    2. io.toast.tk.maven.plugin.DownloadScriptsMojo.execute(DownloadScriptsMojo.java:70)[toast-tk-maven-plugin-0.1.4-SNAPSHOT.jar:?]
    2 frames
  4. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)[maven-core-3.3.9.jar:3.3.9]
    1 frame
  5. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)[maven-core-3.3.9.jar:3.3.9]
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)[maven-core-3.3.9.jar:3.3.9]
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)[maven-core-3.3.9.jar:3.3.9]
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)[maven-core-3.3.9.jar:3.3.9]
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)[maven-core-3.3.9.jar:3.3.9]
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)[maven-core-3.3.9.jar:3.3.9]
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)[maven-core-3.3.9.jar:3.3.9]
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)[maven-core-3.3.9.jar:3.3.9]
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)[maven-core-3.3.9.jar:3.3.9]
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)[maven-core-3.3.9.jar:3.3.9]
    10 frames
  6. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)[maven-embedder-3.3.9.jar:3.3.9]
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)[maven-embedder-3.3.9.jar:3.3.9]
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)[maven-embedder-3.3.9.jar:3.3.9]
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_60]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_60]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_60]
    4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_60]
    4 frames
  8. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)[plexus-classworlds-2.5.2.jar:?]
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)[plexus-classworlds-2.5.2.jar:?]
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)[plexus-classworlds-2.5.2.jar:?]
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)[plexus-classworlds-2.5.2.jar:?]
    4 frames