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

Atlassian JIRA | Matthew Watson | 4 years ago
  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 | 4 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 | 4 years ago | Matthew Watson
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore
  3. 0

    Collections which extend iterators

    Coderanch | 2 years ago | Henry Wong
    java.lang.ClassCastException: java.util.ArrayList$Itr cannot be cast to java.util.ArrayList
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Collections which extend iterators

    Coderanch | 2 years ago | claire bird
    java.lang.ClassCastException: java.util.ArrayList$Itr cannot be cast to java.util.ArrayList
  6. 0

    Sort elements of Java ArrayList

    Stack Overflow | 3 years ago | user2996028
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Comparable

    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. 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