Jump to content
Changes to the Jaspersoft community edition download ×

contextPath needs to be an absolute path in subreport


erika.chinchio

Recommended Posts

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?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...