PDA

View Full Version : Run time error with parameter



scottgrego
11-16-2005, 10:36 AM
I am recieving the follow runtime error when executing a report with an paramater:

Error: RuntimeContext.ERROR_0018 - The requested parameter SUBJECT could not be fulfilled (org.pentaho.runtime.RuntimeContext)
Debug: Starting execute of samples/reporting/TRAIN_list_training_topics.action.xml (org.pentaho.solution.SolutionEngine)
Debug: Getting runtime context and data (org.pentaho.solution.SolutionEngine)
Debug: Loading action sequence definition file (org.pentaho.solution.SolutionEngine)
Debug: audit: instanceId=441162e1-56cf-11da-8057-73c23c79ee17, objectId=org.pentaho.runtime.RuntimeContext, messageType=action_sequence_start (org.pentaho.runtime.RuntimeContext)
Debug: validateComponent validating component org.pentaho.birt.BIRTReportComponent (org.pentaho.runtime.RuntimeContext)
Debug: Validating component for action TRAIN_list_training_topics.action.xml (org.pentaho.birt.BIRTReportComponent)
Debug: Executing action sequence (org.pentaho.runtime.RuntimeContext)
Debug: Executing action definition: Iteration {0}0 (org.pentaho.runtime.RuntimeContext)
Debug: audit: instanceId=441162e1-56cf-11da-8057-73c23c79ee17, objectId=org.pentaho.birt.BIRTReportComponent, messageType=component_execution_started (org.pentaho.runtime.RuntimeContext)
Error: RuntimeContext.ERROR_0018 - The requested parameter SUBJECT could not be fulfilled (org.pentaho.runtime.RuntimeContext)
Error: RuntimeContext.ERROR_0013 - Parameters could not be resolved (org.pentaho.runtime.RuntimeContext)
Debug: audit: instanceId=441162e1-56cf-11da-8057-73c23c79ee17, objectId=org.pentaho.birt.BIRTReportComponent, messageType=component_execution_failed (org.pentaho.runtime.RuntimeContext)
Error: RuntimeContext.ERROR_0012 - ActionDefinition for org.pentaho.birt.BIRTReportComponent did not execute successfully (org.pentaho.runtime.RuntimeContext)
Error: SolutionEngine.ERROR_0007 - Action sequence execution failed (org.pentaho.solution.SolutionEngine)




The action file is :

TRAIN_list_training_topics.action.xml
1
Training Topics
debug

AMSEC LLC
Training Topics report from Train
reporting.png

report





html

type





SUBJECT











TRAIN_list_training_topics.rptdesign
text/xml















org.pentaho.birt.BIRTReportComponent
report

Post edited by: scottgrego, at: 11/16/2005 15:49

gmoran
11-16-2005, 11:17 AM
Hey there,

I'm sorry to say that posting XML in our forums doesn't render correctly - can you put the XML in a file and attach it to your post?

We will be able to help you out as soon as we can get alook at your file.

best regards, Gretchen

scottgrego
11-16-2005, 11:52 AM
File attached http://forums.pentaho.org/archived_att/files/TRAIN_list_training_topics.action.txt

Post edited by: scottgrego, at: 11/16/2005 15:53

scottgrego
11-21-2005, 05:16 AM
I uploaded the file.

dmoran
11-21-2005, 05:54 AM
Try changing the data type for SUBJECT to string. Since it is coming from the request it may actually stored internally as a string. The BIRT component should do the conversion.

Thanks,
Doug