Getting error on report generation
Posted on May 17, 2015 at 6:33am
I am trying to integrate an existing report using visualize.js and its giving me error in chrome console. The report is working fine when invoked externally through jaspersoft. See below the error, I have also attached sceen shot
GET http://172.16.32.84:8080/jasperserver-pro/rest_v2/reportExecutions/6ce7479b…2-d1f544b5e65c/exports/2925c367-b606-44fd-91fb-d87db9c45a94/outputResource 404 (Not Found)
16:17:34.530 [bi/report/Report] [ERROR] - resource.not.found : Resource 2925c367-b606-44fd-91fb-d87db9c45a94 not found.
Report is initialized fine as no error is logged in
v.report({ error: function (err) {...} });
Even this method is invoked fine
event: {reportCompleted: function (status) {...}}
JS Fiddle snippet, available at http://jsfiddle.net/atifoxon/4wujkm3y/2/
.png)
Error I am getting in this method
report.run().fail(function (err) {...}}

One more thing I observed: I receive same error while running a sample report instead of one our report? See in

Joined: May 17 2015 - 6:03am
Last seen: 7 years 1 month ago
Posted on May 17, 2015 at 7:35pm
Try entering the url causing the error in your web browser to see if the file can be found. JasperReports Server, also, protect against cross site scripting so the js files must be in the same domain as the report file.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Posted on May 21, 2015 at 6:17am
Can any one help whats the issue with simple report rendering here?
Joined: May 17 2015 - 6:03am
Last seen: 7 years 1 month ago
Posted on August 5, 2019 at 12:59am
Probably you already got the answer but I got the same problem. The fix is the headers from the first request should be passed to the next request. If you do so it will work.
Joined: Jun 4 2019 - 10:15pm
Last seen: 1 year 4 months ago
Posted on January 20, 2021 at 4:12am
@nick_39 could you please provide some more details on how to solve this issue, even i'am facing this problem
Joined: Dec 14 2020 - 7:19am
Last seen: 2 years 2 months ago
@hozawa I cannot access the url by typing it in the URL. Furthermore I have digged through this error and it seems to be related with Restuful webservice Requesting Report Output. Does at the backend is it using web services?