{"id":161977,"date":"2023-01-25T07:28:20","date_gmt":"2023-01-25T07:28:20","guid":{"rendered":"\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/"},"modified":"2023-07-31T12:36:13","modified_gmt":"2023-07-31T12:36:13","slug":"question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/","title":{"rendered":"Question: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?"},"content":{"rendered":"<p>Answer: The user.properties file location is  %appdata%Sherlock  i.e.  usually in  C:Users<username>AppdataRoamingSherlock  Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file.  Sherlock 2020 R1 should start without issues.   The entire text in Sherlock may include all the errors like example below: 12:48:32.970 INFO: Loading properties from user.properties 12:48:32.972 INFO: Converted debug tag &#8216;usePartsListUserPriority&#8217; to advanced setting 12:48:32.975 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 12:48:32.976    at java.lang.String.substring(String.java:1967) 12:48:32.982    at sherlock.config.User.convertProperties(User.java:142) 12:48:32.984    at sherlock.config.User.load(User.java:111) 12:48:32.986    at sherlock.ui.SherlockClient.SherlockApp.initConfig(SherlockApp.java:149) 12:48:32.988    at sherlock.ui.SherlockClient.SherlockApp.launchApp(SherlockApp.java:75) 12:48:32.990    at sherlock.ui.SherlockClient.SherlockClient.launchClient(SherlockClient.java:157) 12:48:32.993    at sherlock.ui.SherlockClient.SherlockClient.main(SherlockClient.java:125) 12:48:33.006 ERROR: String index out of range: -1<\/p>\n","protected":false},"template":"","class_list":["post-161977","topic","type-topic","status-publish","hentry","topic-tag-3854","topic-tag-2020-r1","topic-tag-installation-licensing-systems","topic-tag-sherlock","topic-tag-sherlock-sys","topic-tag-string"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Knowledge | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge\" \/>\n\t\t<meta property=\"og:description\" content=\"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-01-25T07:28:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-07-31T12:36:13+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/2020-r1\\\/#listItem\",\"name\":\"2020 R1\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/2020-r1\\\/#listItem\",\"position\":3,\"name\":\"2020 R1\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/2020-r1\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\\\/#listItem\",\"name\":\"Question: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\\\/#listItem\",\"position\":4,\"name\":\"Question: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/2020-r1\\\/#listItem\",\"name\":\"2020 R1\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\\\/\",\"name\":\"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge\",\"description\":\"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\\\/#breadcrumblist\"},\"datePublished\":\"2023-01-25T07:28:20+00:00\",\"dateModified\":\"2023-07-31T12:36:13+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge","description":"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example","canonical_url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/knowledge","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/2020-r1\/#listItem","name":"2020 R1"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/2020-r1\/#listItem","position":3,"name":"2020 R1","item":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/2020-r1\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/#listItem","name":"Question: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/#listItem","position":4,"name":"Question: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/2020-r1\/#listItem","name":"2020 R1"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization","name":"Ansys Knowledge","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/knowledge\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/#webpage","url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/","name":"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge","description":"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/#breadcrumblist"},"datePublished":"2023-01-25T07:28:20+00:00","dateModified":"2023-07-31T12:36:13+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website","url":"https:\/\/innovationspace.ansys.com\/knowledge\/","name":"Ansys Knowledge","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Knowledge | Ansys Innovation Space","og:type":"article","og:title":"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge","og:description":"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example","og:url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/","article:published_time":"2023-01-25T07:28:20+00:00","article:modified_time":"2023-07-31T12:36:13+00:00","twitter:card":"summary_large_image","twitter:title":"Question: What should I do if ANSYS Sherlock 2020 R1 shows ERROR: String index out of range: -1? | Ansys Knowledge","twitter:description":"Answer: The user.properties file location is %appdata%Sherlock i.e. usually in C:UsersAppdataRoamingSherlock Open this file user.properties in Notepad and find the line that starts with the word debugTags and delete that line. Then save the user.properties file. Sherlock 2020 R1 should start without issues. The entire text in Sherlock may include all the errors like example"},"aioseo_meta_data":{"post_id":"161977","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2025-10-17 19:33:18","updated":"2026-07-29 06:42:31","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/2020-r1\/\" title=\"2020 R1\">2020 R1<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tQuestion: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/knowledge"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/"},{"label":"2020 R1","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/2020-r1\/"},{"label":"Question: What should I do if ANSYS Sherlock 2020 R1 shows  ERROR: String index out of range: -1?","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/question-what-should-i-do-if-ansys-sherlock-2020-r1-shows-error-string-index-out-of-range-1\/"}],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_forum_id":["153867"],"_bbp_last_active_time":["1-24-2023  20:20:07"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["975"],"siebel_km_number":["2062273"],"product_version":["2020 R1"],"km_published_date":["2020-02-06T01:20:24.000Z"],"family":["Installation\/Licensing\/Systems"],"application_name":["Sherlock \u2013 SYS"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161977\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=161977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}