cancel
Showing results for 
Search instead for 
Did you mean: 

Custom action returns "HTTP 500". How to get detailed error message?

Former Member
0 Kudos

Hi everybody.

I am creating a custom action that converts fo-xml to pdf (using Apache FOP).

Wherever I put this action, parent transaction is broken with "HTTP response code: 500" ("internal server error"). No other trace messages are printed into the trace box.

I created a simple action (that does nothing but prints debug message), it works fine. Hence the problem exists within the action.

So, the question, how to get more usable error message ???? Internal server error says nothing!!!

P.S. Writing this message, I realized that I can catch Throwable instead of Exception. hope this will help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I catch Throwable instead of Exception and get "java.lang.NoClassDefFoundError: org/apache/fop/apps/FOPEception". So it cannot locate fop.jar...

Solving the next step

Welcome to the next thread