error while moving the error from done to inprogress-java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

rsyamp@yahoo.com December 12, 2014

error while moving the error from done to inprogress-java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

 

looking for solution

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2014

You've got a post function (or script?) that is wrong.  It's trying to convert a string to a number with a simple cast which cannot be done.

You need to find and fix that line of code.  If you need help with that, then list your script here and we can probably find it for you.

rsyamp@yahoo.com December 12, 2014

Thanks Nic, could you please give in detail info where i can send the script details

and also required help to pull out the script.

syam

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2014

As an admin, identify the workflow transition that is broken in the workflow view/edit admin function. Check the transition for post-functions (as it's *most* likely a post function) and look for one that says "scripted", and that will expose the code, which ou can copy and paste here.

rsyamp@yahoo.com December 12, 2014

hi Nic,

it is not haping  to one flow, it is haping for all the projects in different  workflows

syam

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2014

It's the same thing - you need to find out what code is being executed so you can debug it. If it's happening in many workflows, that simply suggests you've got a broken script in a workflow and then you've made copies of that workflow. You're going to need to fix all of them. Another possibility is that it is a "listener" - to check this, could you tell us what listeners you have in the system? Just list all of them, it's easier.

Suggest an answer

Log in or Sign up to answer