PDA

View Full Version : Birt Parameters



MicaGG
09-19-2007, 05:17 AM
Hello,
I have a problem and i need your help.

I have a birt reports which needs two dynamic list-box parameters ( linked to a dataset). In my birt engine, it's fine. But i have tried to follow this document "Pentaho_Integrating_Birt_and_Jasper-1.5.4"
but i can't get my parameters values and i have this error :


Erreur : RuntimeContext.ERROR_0018 - [fr_39] The requested parameter Peri_debu could not be fulfilled (org.pentaho.core.runtime.RuntimeContext)Debug : [fr_21] Starting execute of samples/reporting/MasseSal_Prog_HTML.xaction (org.pentaho.core.solution.SolutionEngine)
Debug : [fr_30] Getting runtime context and data (org.pentaho.core.solution.SolutionEngine)
Debug : [fr_33] Loading action sequence definition file (org.pentaho.core.solution.SolutionEngine)
Debug : SolutionRepository.DEBUG_FILE_PATH - [fr_35] getFile path=/home/*******/Desktop/PENTAHO/pentaho-demo/pentaho-solutions/samples/reporting/MasseSal_Prog_HTML.xaction (org.pentaho.repository.filebased.solution.SolutionRepository)
Debug : [fr_23] Adding variable source request to parameter Peri_debu (org.pentaho.repository.filebased.solution.SolutionRepository)
Debug : [fr_23] Adding variable source request to parameter Peri_fin (org.pentaho.repository.filebased.solution.SolutionRepository)
Debug : [fr_34] audit: instanceId=7cf3309d-6688-11dc-bb31-3b871fcea50d, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_start (org.pentaho.core.runtime.RuntimeContext)
Erreur : RuntimeContext.ERROR_0018 - [fr_39] The requested parameter Peri_debu could not be fulfilled (org.pentaho.core.runtime.RuntimeContext)
Erreur : RuntimeContext.ERROR_0013 - [fr_29] Parameters could not be resolved (org.pentaho.core.runtime.RuntimeContext)
Erreur : SolutionEngine.ERROR_0007 - [fr_27] Action sequence execution failed (org.pentaho.core.solution.SolutionEngine)

[fr_41] Server Version Pentaho BI Platform 1.6.0-RC2.820


thanks

xCojotex
09-25-2007, 07:23 PM
Have you set a default value for your parameters in your .xaction file?
If one of your parameters doesn't have a value the Pentaho Framework couldn't extract its value from request-Object and throws this exception.
I usually set all parameter-types to string and set a empty default value for every parameter.