danielsl9.dp Posted May 13, 2021 Share Posted May 13, 2021 Hello,I'm trying to integrate Jasper Server with my web application. The idea is that when the user clicks on create report, a Frame is loaded loading the URL of the report along with the parameters that the user input...so that the Jasper reporter viewer is loaded in that frame.The strange thing I explain below. I'm using the following link to open a report, for example:http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&_flowId=viewReportFlow&ParentFolderUri=%2FPublished_Reports&reportUnit=%2FPublished_Reports%2FDeclaraciones_Enviadas&j_username=cfzuser&j_password=cfzuser&Clave%20de%20Operaci%C3%B3n=null&Fecha%20Desde=null&Fecha%20Hasta=null&Nombre%20de%20Empresa=null&No%20de%20Referencia%20Provisional=null&No%20de%20Referencia=null&Versi%C3%B3n=null&Tipo%20de%20Declaraci%C3%B3n=null&Grupo%20de%20Declaraci%C3%B3n=null&Estado=null&Ref%20DMCE%201.0=null[/code]The following link loads perfect in a Browser, but when I try to open it in the Frame (from my web application), the web page throws me an error. I reviewed the Jasperserver log files, and I found this exception:2021-05-12T20:14:05,061 ERROR ErrorPageHandlerAction,http-nio-8080-exec-10:118 - Error UID 1205e851-7ef0-4e38-b14c-4db1c00b53aa org.springframework.security.acls.model.NotFoundException: ACL should have parent !!![/code]It seems too strange to me that everything works fine for the browser but not for the frame of my application . . Technically it is like a "mini browser" (Btw I swear to God I'm using the same link, I've already checked it multiple times)Could you help me how to solve this problem? On another page about this same error, I saw an answer about permissions but it was very vague in my opinion. Link to comment Share on other sites More sharing options...
danielsl9.dp Posted May 13, 2021 Author Share Posted May 13, 2021 I reviewed the source code of jasper report server and I find out that this can be related with URI . . . the strange thing is that the URI is the same as I explained previously in my question. Link to comment Share on other sites More sharing options...
Solution danielsl9.dp Posted May 13, 2021 Author Solution Share Posted May 13, 2021 I finally solve the issue. There was a part in the server side source code that was encoding again the URL. If you experiment an issue like this, make sure that the executed URL has not experienced any alteration ... Link to comment Share on other sites More sharing options...
Ankur Gupta Posted June 9, 2021 Share Posted June 9, 2021 Hi daniels, Can you please let me know what setting you have to do on the server side to make this work, been stuck at the same issue. Thankyou, Ankur Gupta Link to comment Share on other sites More sharing options...
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