I'm new here

How to debug the error message "Action Failed"

I am writing ToolbarActionItems but am facing some very inconsistent and unhelpful error messages.

"Action failed" must be the least helpful error message FirstSpirit gives! How can I debug it?

The full log is just this:

07.03.2017 14:50:59 (de.espirit.firstspirit.webedit.server.RemoteBatchLoggingServiceImpl): WebEdit client error occurred:

FSVersion=5.1.605.72781#4207;JDK=1.7.0_25 64bit Oracle Corporation;OS=Linux 2.6.32-642.3.1.el6.x86_64 amd64;Date=07.03.2017 14:50:59

java.lang.Throwable: Action failed

  at java.lang.Throwable.Throwable(

  at java.lang.Exception.Exception(

  at de.espirit.firstspirit.webedit.client.util.ServiceFailedException.ServiceFailedException(

  at de.espirit.firstspirit.webedit.client.util.ServiceFailedException_FieldSerializer.instantiate(







  at Unknown.<anonymous>(



  at Unknown.<anonymous>(

I am trying to trigger releasing and publishing without using a FirstSpirit workflow. Trying to understand why and where it fails when all I get is an "Action failed" message is not helpful.

Is there a problem with ContentCreator? My module code? Something wrong with the Page or Dataset? I just don't know.

I've also noticed that some code simply throws "Exception", which isn't very helpful.

With thanks,

Liam Davison

PS - Here's an even-less-helpful "Action failed" stacktrace:

07.03.2017 15:03:03 ERROR 07.03.2017 15:03:03.110 (de.espirit.firstspirit.webedit.server.RemoteBatchLoggingServiceImpl): WebEdit client error occurred:

FSVersion=5.1.605.72781#4207;JDK=1.7.0_25 64bit Oracle Corporation;OS=Linux 2.6.32-642.3.1.el6.x86_64 amd64;Date=07.03.2017 15:03:03

java.lang.Throwable: Action failed

  at Vo(Unknown Source)

  at dKe(Unknown Source)

  at fKe(Unknown Source)

  at $Tb(Unknown Source)

  at WTb(Unknown Source)

  at QRb(Unknown Source)

  at MSb(Unknown Source)

  at AF(Unknown Source)

  at UF(Unknown Source)

0 Kudos
4 Replies
I'm new here

Hi Liam,

looks indeed very strange and I see it the first time. Without any code it is hard to guess what went wrong. So please provide it to give you better support.

To have a better error reporting you should encapsulate your code with a try-catch-clause and use the logging methods of the ToolbarContext or ContextMenuContext (see API documentation for more information). Please include the original exception when logging, so that you get a proper stacktrace later on.

Why is the normal workflow process inconvenient to you? What are you trying to accomplish? Maybe we can give you hints for a better solution.

You should know that the "admin release process" (as available in the SiteArchitect) has it limits.

Therefore we published a module called Basic Workflows at GitHub:

GitHub - e-Spirit/basicworkflows: Basic Workflows for FirstSpirit

You can obtain a binary release from our technical support. You are encouraged to modify the Basic Workflows to your needs if wanted.



0 Kudos

Thank you Marian,

A lot of the errors went away when I restarted the FirstSpirit server, but I will try to do more tests and add additional logging.

As a developer I would be happy to use the Basic Workflows. But our business users asked for a one-click-to-release-and-publish mechanism. Even the simplest workflow I built had too many mouse clicks for them. They do not use FirstSpirit to manage editorial flow (creation, editing, approval, etc). I think that is a bad idea and that we should use Workflows, but it is not my choice Smiley Sad.

I'll write back with better logs when I have them.



0 Kudos

Hi Liam,

as far as I understood they want to save and have an immediate release? In this case you are right there is no way to use Basic Workflows or other workflows even if you could develop an automatic release.



0 Kudos

Hello Liam, 

do you need further help or did Marian's reply already help you? If so, it would be great if you marked

his reply as "correct answer" so that other community users find the solution easily. If you have

already found a solution by yourself, it would be very kind of you, if you posted it here. 

Best regards 


0 Kudos