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 shmish111
, 1 day ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
via Google Groups by Jenkins, 1 week ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
via netbeans.org by Unknown author, 1 year 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
via netbeans.org by Unknown author, 1 year 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)	at org.json.JSONArray.(JSONArray.java:113)	at org.json.JSONArray.(JSONArray.java:157)	at io.toast.tk.core.rest.RestUtils.downloadRepository(RestUtils.java:61)	at io.toast.tk.maven.plugin.DownloadScriptsMojo.execute(DownloadScriptsMojo.java:70)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)