groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^

Atlassian JIRA | Dave Lahn [Atlassian] | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    If you perform a backup with the backup client, and you specify {{http://}} for the base URL rather than {{https://}} (if Stash is configured to expect HTTPS), then the backup will fail with the following error: {noformat} dlahn@fecru35pg:/opt/atlassian/stash-backup-client-1.6.0$ sudo java -jar stash-backup-client.jar 2015-01-14 14:00:40,324 INFO Initializing 2015-01-14 14:00:43,611 ERROR A backup could not be created. Reason: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^ groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^ at groovy.json.internal.JsonParserCharArray.decodeValueInternal(JsonParserCharArray.java:216) ~[groovy-all-2.3.6.jar:2.3.6] at groovy.json.internal.JsonParserCharArray.decodeValue(JsonParserCharArray.java:166) ~[groovy-all-2.3.6.jar:2.3.6] ... 13 more frames available in the log file {noformat} This error message should be amended by provide more details about where the problem is coming from. (i.e. the base URL doesn't match.)

    Atlassian JIRA | 2 years ago | Dave Lahn [Atlassian]
    groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^
  2. 0

    If you perform a backup with the backup client, and you specify {{http://}} for the base URL rather than {{https://}} (if Stash is configured to expect HTTPS), then the backup will fail with the following error: {noformat} dlahn@fecru35pg:/opt/atlassian/stash-backup-client-1.6.0$ sudo java -jar stash-backup-client.jar 2015-01-14 14:00:40,324 INFO Initializing 2015-01-14 14:00:43,611 ERROR A backup could not be created. Reason: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^ groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^ at groovy.json.internal.JsonParserCharArray.decodeValueInternal(JsonParserCharArray.java:216) ~[groovy-all-2.3.6.jar:2.3.6] at groovy.json.internal.JsonParserCharArray.decodeValue(JsonParserCharArray.java:166) ~[groovy-all-2.3.6.jar:2.3.6] ... 13 more frames available in the log file {noformat} This error message should be amended by provide more details about where the problem is coming from. (i.e. the base URL doesn't match.)

    Atlassian JIRA | 2 years ago | Dave Lahn [Atlassian]
    groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^

    Root Cause Analysis

    1. groovy.json.JsonException

      Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^

      at groovy.json.internal.JsonParserCharArray.decodeValueInternal()
    2. Groovy
      JsonParserCharArray.decodeValue
      1. groovy.json.internal.JsonParserCharArray.decodeValueInternal(JsonParserCharArray.java:216)[groovy-all-2.3.6.jar:2.3.6]
      2. groovy.json.internal.JsonParserCharArray.decodeValue(JsonParserCharArray.java:166)[groovy-all-2.3.6.jar:2.3.6]
      2 frames