Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Extensive changes took place in the internals of the platform to render lots of detail about xaction failures. These details are now exposed in the templated error page mentioned above, but also in the pentaho.log file (as well as your appserver's log file, e.g. catalina.out).

Example error output

Here is an example of an action sequence failure as depicted in the log file:

No Format

| Error Time: Tuesday, November 3, 2009 4:43:47 PM EST
| Session ID: joe
| Instance Id: f77d2238-c8c1-11de-92b0-3dd9e4293f91
| Action Sequence: BurstSales.xaction
| Execution Stack:
EXECUTING ACTION: Email (EmailComponent)
	in IF STATEMENT: queryResult.getRowCount()>0
	in LOOP ON: employeeList
| Action Class: EmailComponent
| Action Desc: Email
| Loop Index: N/A
Stack Trace:org.pentaho.platform.api.engine.ActionValidationException: RuntimeContext.ERROR_0035 - Action validation failed.
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:573)
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:521)

...

Catalog of data tokens

Token

Description

Message bundle key (start with "MessageFormatter.")

%ERROR_HEADING%

e.g. "The Pentaho BI Platform reported an error while running an action sequence"

RESPONSE_ERROR_HEADING

%EXCEPTION_MSG%

prints the topmost exception message text

N/A

%EXCEPTION_MSG_LABEL%

e.g. "Error Message:"

RESPONSE_EXCEPTION_MSG_LABEL

%EXCEPTION_TIME_LABEL%

e.g. "Error Time:"

RESPONSE_EXCEPTION_TIME_LABEL

%EXCEPTION_TIME%

the time the root cause exception occurred.  Uses LocalHelper to format the date.

N/A

%EXCEPTION_TYPE_LABEL%

 

RESPONSE_EXCEPTION_TYPE_LABEL

%EXCEPTION_TYPE%

 

 

%SESSION_ID_LABEL%

 

RESPONSE_EXCEPTION_SESSION_ID_LABEL

%SESSION_ID%

 

 

%INSTANCE_ID_LABEL%

 

RESPONSE_EXCEPTION_INSTANCE_ID_LABEL

%INSTANCE_ID%

 

 

%ACTION_SEQUENCE_LABEL%

 

RESPONSE_EXCEPTION_ACTION_SEQUENCE_LABEL

%ACTION_SEQUENCE%

 

 

%ACTION_SEQUENCE_EXECUTION_STACK_LABEL%

 

RESPONSE_EXCEPTION_ACTION_SEQUENCE_EXECUTION_STACK_LABEL

%ACTION_SEQUENCE_EXECUTION_STACK%

 


%ACTION_CLASS_LABEL%

 

RESPONSE_EXCEPTION_ACTION_CLASS_LABEL

%ACTION_CLASS%

 


%ACTION_DESC_LABEL%

 

RESPONSE_EXCEPTION_ACTION_DESC_LABEL

%ACTION_DESC%

 

 

%STEP_NUM_LABEL%

 

RESPONSE_EXCEPTION_STEP_NUM_LABEL

%STEP_NUM%

 

 

%STACK_TRACE_LABEL%

 

RESPONSE_EXCEPTION_STACK_TRACE_LABEL

%STACK_TRACE%

 

 


Example error output

Here is an example of an action sequence failure as depicted in the log file:

No Format

| Error Time: Tuesday, November 3, 2009 4:43:47 PM EST
| Session ID: joe
| Instance Id: f77d2238-c8c1-11de-92b0-3dd9e4293f91
| Action Sequence: BurstSales.xaction
| Execution Stack:
EXECUTING ACTION: Email (EmailComponent)
	in IF STATEMENT: queryResult.getRowCount()>0
	in LOOP ON: employeeList
| Action Class: EmailComponent
| Action Desc: Email
| Loop Index: N/A
Stack Trace:org.pentaho.platform.api.engine.ActionValidationException: RuntimeContext.ERROR_0035 - Action validation failed.
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:573)
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:521)
No Format
The Pentaho BI Platform reported an error while running an action sequence
Possible Causes:

ActionValidationException: RuntimeContext.ERROR_0035 - Action validation failed.

Action Sequence:BurstSales.xaction
Execution Stack:

EXECUTING ACTION: Email (EmailComponent)
	in IF STATEMENT: queryResult.getRowCount()>0
	in LOOP ON: employeeList

Loop Index:N/A
Error Time:Tuesday, November 3, 2009 4:43:47 PM EST
Error Type:ActionValidationException
Session ID:joe
Instance Id:f77d2238-c8c1-11de-92b0-3dd9e4293f91
Action Class:EmailComponent
Action Description:Email
View Details Hide Details
Stack Trace:

org.pentaho.platform.api.engine.ActionValidationException: RuntimeContext.ERROR_0035 - Action validation failed.
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:573)
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:521)
	at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:521)