Creating a Support Zip results in Error

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

  1. Trying to create a Support ZIP results in a red box simply saying 'Error'.
     

    2012-06-13 12:16:26,858 http-7080-4 ERROR admin 736x122x1 13v7jq2 10.82.0.48 /plugins/servlet/stp/view/create-support-request/execute [support.tools.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
  2. When creating a Support ZIP, the file is created however the file structure is not correct.

    2012-07-01 05:53:04,910 http-60506-5 ERROR admin 353x759x1 dvoe2v 10.199.238.194 /plugins/servlet/stp/view/support-zip/execute [tools.salext.bundle.ApplicationPropertiesInfoBundle] Can't generate properties file.
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.atlassian.support.tools.properties.PropertyStore
    

The following stack trace appears in the atlassian-jira.log for both errors:

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)
	at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.saveProperties(AbstractSupportApplicationInfo.java:397)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
	at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
	at $Proxy1334.saveProperties(Unknown Source)
	at com.atlassian.support.tools.salext.mail.AbstractMailUtility.sendSupportRequestMail(AbstractMailUtility.java:30)
	at com.atlassian.support.tools.request.CreateSupportRequestAction.execute(CreateSupportRequestAction.java:167)
	at com.atlassian.support.tools.SupportToolsViewServlet.displayResults(SupportToolsViewServlet.java:244)
	at com.atlassian.support.tools.SupportToolsViewServlet.doPost(SupportToolsViewServlet.java:95)
...

Cause

This is a reported bug in the Support Tools Plugin for 3.0.5, 3.0.6 & 3.0.7 under STP-158.

Resolution

The bug has been fixed in version 3.0.8 of the Support Tools Plugin. Please upgrade to the latest version using the UPM.


Last modified on Nov 25, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.