org.json.JSONException: A JSONArray text must start with '[' at character 1 of Error: File format error - /Volumes/Archive2/autumn research/new research/b110.gif [{ "SourceFile": "/Volumes/Archive2/autumn research/new research/b110.gif" }]

macmule.com | 4 months ago
  1. 0

    Portfolio, Parsing Logs To Find Troublesome Files | macmule

    macmule.com | 4 months ago
    org.json.JSONException: A JSONArray text must start with '[' at character 1 of Error: File format error - /Volumes/Archive2/autumn research/new research/b110.gif [{ "SourceFile": "/Volumes/Archive2/autumn research/new research/b110.gif" }]
  2. 0

    Bug 164641 – org.json.JSONException: A JSONArray text must start with '[' at character 1 of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    netbeans.org | 7 months ago
    org.json.JSONException: 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-type" /><link rel="Shortcut Icon" href="/html/themes/classic/images/liferay.ico" /><link href="/html/portal/css.jsp?browserId=other&themeId=classic&colorSchemeId=01&minifierType=css&t=1234573214000" rel="stylesheet" type="text/css" /> <link href="/html/portlet/login/css.jsp?browserId=other&themeId=classic&colorSchemeId=01&minifierType=css&t=1230928296000" rel="stylesheet" type="text/css" /> <script type="text/javascript">var Liferay={Browser:{acceptsGzip:function(){return false},getMajorVersion:function(){return 0},getRevision:function(){return""},getVersion:function(){return""},isAir:function(){return false},isChrome:function(){return false},isFirefox:function()
  3. 0

    Bug 164641 – org.json.JSONException: A JSONArray text must start with '[' at character 1 of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    netbeans.org | 6 months ago
    org.json.JSONException: 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-type" /><link rel="Shortcut Icon" href="/html/themes/classic/images/liferay.ico" /><link href="/html/portal/css.jsp?browserId=other&themeId=classic&colorSchemeId=01&minifierType=css&t=1234573214000" rel="stylesheet" type="text/css" /> <link href="/html/portlet/login/css.jsp?browserId=other&themeId=classic&colorSchemeId=01&minifierType=css&t=1230928296000" rel="stylesheet" type="text/css" /> <script type="text/javascript">var Liferay={Browser:{acceptsGzip:function(){return false},getMajorVersion:function(){return 0},getRevision:function(){return""},getVersion:function(){return""},isAir:function(){return false},isChrome:function(){return false},isFirefox:function()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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]
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 of Error: File format error - /Volumes/Archive2/autumn research/new research/b110.gif [{ "SourceFile": "/Volumes/Archive2/autumn research/new research/b110.gif" }]

    at org.json.JSONTokener.syntaxError()
  2. Android Platform
    JSONArray.<init>
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:448)
    2. org.json.JSONArray.<init>(JSONArray.java:107)
    3. org.json.JSONArray.<init>(JSONArray.java:146)
    3 frames
  3. extensis.portfolio.mediaprocessor
    MediaProcessorServlet.doPost
    1. extensis.portfolio.mediaprocessor.ExifToolFacility.process(ExifToolFacility.java:175)
    2. extensis.portfolio.mediaprocessor.DefaultMediaHandler.handleMedia(MediaHandler.java:248)
    3. extensis.portfolio.mediaprocessor.MediaProcessorServlet.handleProcessFile(MediaProcessorServlet.java:543)
    4. extensis.portfolio.mediaprocessor.MediaProcessorServlet.doPost(MediaProcessorServlet.java:451)
    4 frames
  4. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    2 frames
  5. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  6. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    7. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
    9 frames
  8. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)
    3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
    5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
    5 frames
  9. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames
  10. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame