PDA

View Full Version : ERROR [JasperReportsComponent]



amitbamby
08-11-2006, 07:18 AM
I am trying to create a parameterized page with date inputs calling the Jasper reports.

While creating the Jasper report , the two inputs are defined as date type.

On running the application on the Pentaho BI server i am seeing the following error. Please help me out of this error.

20:32:19,276 ERROR [JasperReportsComponent] 5c6541dc-294a-11db-b185-fd1760fa12f6
:COMPONENT:context-19524670-1155308529202:salesbydate.xaction JasperReport.ERROR
_0014 - Report execution failed
net.sf.jasperreports.engine.JRException: Incompatible java.lang.String value ass
igned to parameter startdate in the classic dataset.
at net.sf.jasperreports.engine.fill.JRFillDataset.setParameter(JRFillDat
aset.java:782)
at net.sf.jasperreports.engine.fill.JRFillDataset.setFillParameterValues
(JRFillDataset.java:607)
at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRF
illDataset.java:563)
at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFil
ler.java:878)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
689)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
647)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63
)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:402)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:234)
at org.pentaho.plugin.jasperreports.JasperReportsComponent.executeAction
(JasperReportsComponent.java:490)
at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:397)
at org.pentaho.core.runtime.RuntimeContext.executeComponent(RuntimeConte
xt.java:977)
at org.pentaho.core.runtime.RuntimeContext.executeAction(RuntimeContext.
java:949)
at org.pentaho.core.runtime.RuntimeContext.performActions(RuntimeContext
.java:865)
at org.pentaho.core.runtime.RuntimeContext.executeLoop(RuntimeContext.ja
va:821)
at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContex
t.java:727)
at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContex
t.java:651)
at org.pentaho.core.solution.SolutionEngine.executeInternal(SolutionEngi
ne.java:251)
at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:
204)
at org.pentaho.core.services.BaseRequestHandler.handleActionRequest(Base
RequestHandler.java:132)
at org.pentaho.ui.servlet.ViewAction.doGet(ViewAction.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Unknown Source)
20:32:19,487 ERROR [JasperReportsComponent] Error end:
20:32:19,497 ERROR [RuntimeContext] 5c6541dc-294a-11db-b185-fd1760fa12f6:RUNTIME
:context-19524670-1155308529202:salesbydate.xaction RuntimeContext.ERROR_0012 -
ActionDefinition for org.pentaho.jasper.JasperReportsComponent did not execute s
uccessfully
20:32:19,517 ERROR [SolutionEngine] 5c6541dc-294a-11db-b185-fd1760fa12f6:SOLUTIO
N-ENGINE:salesbydate.xaction: SolutionEngine.ERROR_0007 - Action sequence execut
ion failed

amitbamby
08-14-2006, 01:25 AM
Can anyone from Tech team help me in resolving this issue ?

Let me know if you are not getting the clear picture i will try explaning in detail

Thanks,
Amit