java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore

Atlassian JIRA | Matthew Watson | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Also the application-properties.xml file is missing if you create a support zip file. See attachment for the error in the UI. The logs contain the error {noformat} 2012-08-14 10:43:04,097 ERROR [http-7990-22] username 643x629x1 13i2mtb 10.32.92.189 /plugins/servlet/stp/view/create-support-request/execute c.a.s.t.action.SupportToolsAction Error creating or sending your support request: java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.loadStore(AbstractSupportApplicationInfo.java:427) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.saveProperties(AbstractSupportApplicationInfo.java:397) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.salext.mail.AbstractMailUtility.sendSupportRequestMail(AbstractMailUtility.java:30) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.request.CreateSupportRequestAction.execute(CreateSupportRequestAction.java:168) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.servlet.SupportToolsViewServlet.displayResults(SupportToolsViewServlet.java:249) [stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.servlet.SupportToolsViewServlet.doPost(SupportToolsViewServlet.java:98) [stp-3.0.7_1340818664000.jar:na] {noformat}

    Atlassian JIRA | 5 years ago | Matthew Watson
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore
  2. 0

    Also the application-properties.xml file is missing if you create a support zip file. See attachment for the error in the UI. The logs contain the error {noformat} 2012-08-14 10:43:04,097 ERROR [http-7990-22] username 643x629x1 13i2mtb 10.32.92.189 /plugins/servlet/stp/view/create-support-request/execute c.a.s.t.action.SupportToolsAction Error creating or sending your support request: java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.loadStore(AbstractSupportApplicationInfo.java:427) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.saveProperties(AbstractSupportApplicationInfo.java:397) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.salext.mail.AbstractMailUtility.sendSupportRequestMail(AbstractMailUtility.java:30) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.request.CreateSupportRequestAction.execute(CreateSupportRequestAction.java:168) ~[stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.servlet.SupportToolsViewServlet.displayResults(SupportToolsViewServlet.java:249) [stp-3.0.7_1340818664000.jar:na] at com.atlassian.support.tools.servlet.SupportToolsViewServlet.doPost(SupportToolsViewServlet.java:98) [stp-3.0.7_1340818664000.jar:na] {noformat}

    Atlassian JIRA | 5 years ago | Matthew Watson
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore

      at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.loadStore()
    2. com.atlassian.support
      SupportToolsViewServlet.doPost
      1. com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.loadStore(AbstractSupportApplicationInfo.java:427)[stp-3.0.7_1340818664000.jar:na]
      2. com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.saveProperties(AbstractSupportApplicationInfo.java:397)[stp-3.0.7_1340818664000.jar:na]
      3. com.atlassian.support.tools.salext.mail.AbstractMailUtility.sendSupportRequestMail(AbstractMailUtility.java:30)[stp-3.0.7_1340818664000.jar:na]
      4. com.atlassian.support.tools.request.CreateSupportRequestAction.execute(CreateSupportRequestAction.java:168)[stp-3.0.7_1340818664000.jar:na]
      5. com.atlassian.support.tools.servlet.SupportToolsViewServlet.displayResults(SupportToolsViewServlet.java:249)[stp-3.0.7_1340818664000.jar:na]
      6. com.atlassian.support.tools.servlet.SupportToolsViewServlet.doPost(SupportToolsViewServlet.java:98)[stp-3.0.7_1340818664000.jar:na]
      6 frames