contextPath needs to be an absolute path in subreport

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

I try to install new version of jasper server community 8.0 , but when I call the reports via api there is exception java.lang.IllegalArgumentException: contextPath needs to be an absolute path

I call my subreports from main report with absoulute path (c:\....) express in param PathSubReports  (ex

 <subreportExpression><![CDATA[$P{PathSubReports}.concat("subdetails.jasper")]]></subreportExpression>)

with the new version of jasper I am forced to use the overwrite for the subreports otherwise an error is generated.However, if a subreport calls another subreport also publishing with overwrite, the exception is generated. this error was not present in the previous version and the error is present only with the call via api not with unit test in jaspe server

can someone help me  please?

 

erika.chinchio's picture
Joined: Feb 25 2021 - 2:06am
Last seen: 1 week 14 hours ago

0 Answers:

No answers yet
Feedback