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

Samebug tips

  1. ,

    The json is invalid or you try to map to a different model.

Solutions on the web

via GitHub by babebridou
, 1 year ago
A JSONArray text must start with '[' at character 1
via GitHub by mshapran
, 3 weeks ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
via GitHub by shmish111
, 4 months ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
via Google Groups by Jenkins, 5 months ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
via netbeans.org by Unknown author, 2 years ago
A JSONArray text must start with '[' at character 1 of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " "><html dir="ltr" xmlns=" "><head> <title>Welcome - Liferay</title><meta content="text/html; charset=UTF-8" http-equiv="content
org.json.JSONException: A JSONArray text must start with '[' at character 1 at org.json.JSONTokener.syntaxError(JSONTokener.java:410)[json-20090211.jar:?] at org.json.JSONArray.<init>(JSONArray.java:113)[json-20090211.jar:?] at org.json.JSONArray.<init>(JSONArray.java:157)[json-20090211.jar:?] at io.toast.tk.core.rest.RestUtils.downloadRepository(RestUtils.java:61)[toast-tk-rest-utils-0.1.4-SNAPSHOT.jar:?] at io.toast.tk.maven.plugin.DownloadScriptsMojo.execute(DownloadScriptsMojo.java:70)[toast-tk-maven-plugin-0.1.4-SNAPSHOT.jar:?] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)[maven-core-3.3.9.jar:3.3.9] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)[maven-embedder-3.3.9.jar:3.3.9] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)[maven-embedder-3.3.9.jar:3.3.9] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)[maven-embedder-3.3.9.jar:3.3.9] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_60] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)[plexus-classworlds-2.5.2.jar:?] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)[plexus-classworlds-2.5.2.jar:?] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)[plexus-classworlds-2.5.2.jar:?] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)[plexus-classworlds-2.5.2.jar:?]