QueenArtemis Posted March 31, 2015 Posted March 31, 2015 N00b quiestion here, I am new to using Jaspersoft with CA PPM.I am trying to default some parameters that are passed. one of the parameters is called 'ppmUserUITheme'I have managed to get the other parameters to pass, however, i am getting an error on this particular one. Error:net.sf.jasperreports.engine.JRException: Byte data not found at : repo:/ca_ppm/templates/reportStyleTemplate_ca_ppm_defaultat com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:468)at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$18(ReportControler.java:443)at com.jaspersoft.studio.editor.preview.view.control.ReportControler$4.run(ReportControler.java:335)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)Caused by: net.sf.jasperreports.engine.JRException: Byte data not found at : repo:/ca_ppm/templates/reportStyleTemplate_ca_ppm_defaultat net.sf.jasperreports.repo.RepositoryUtil.getBytesFromLocation(RepositoryUtil.java:196)at net.sf.jasperreports.engine.xml.JRXmlTemplateLoader.loadTemplate(JRXmlTemplateLoader.java:110)at net.sf.jasperreports.engine.fill.JRFillReportTemplate.loadTemplate(JRFillReportTemplate.java:109)at net.sf.jasperreports.engine.fill.JRFillReportTemplate.evaluate(JRFillReportTemplate.java:87)at net.sf.jasperreports.engine.fill.JRBaseFiller.collectTemplates(JRBaseFiller.java:1114)at net.sf.jasperreports.engine.fill.JRBaseFiller.collectTemplateStyles(JRBaseFiller.java:1137)at net.sf.jasperreports.engine.fill.JRBaseFiller.collectStyles(JRBaseFiller.java:1085)at net.sf.jasperreports.engine.fill.JRBaseFiller.loadStyles(JRBaseFiller.java:1054)at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:933)at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120)at java.lang.Thread.run(Unknown Source) I can see this in the Source tab and where the param is set.<template><![CDATA["repo:/ca_ppm/templates/reportStyleTemplate_" + $P{ppmUserUITheme}]]></template> <parameter name="ppmUserUITheme" class="java.lang.String" isForPrompting="false"><parameterDescription><![CDATA[uI Theme]]></parameterDescription><defaultValueExpression><![CDATA["ca_ppm_default"]]></defaultValueExpression></parameter> I am not sure what else to check here, any ideas? thanks, Keri
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now