Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

JasperRepotsIntegration Save files on the server #12

#1

I want to use the JasperReports feature that allows to save reports output on to the server. I changed the application.properties to add path into the variable directoryWhiteList and make the path read/writeable.

After running the test report I got the following error

java.lang.NullPointerException
de.oc.integration.jasper.webapp.AppConfig.isWhitelistDirectory(Unknown Source)
de.oc.integration.jasper.webapp.ReportWrapper.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Has anybody used the feature successfully or got the same issue?

Regards

Ata

  • replies 2
  • views 2.2K
  • likes 0
#2

Hi @AtaBashir,

can you give some more details?

Please provide the following details:

- Version of the JasperReportsIntegration: e.g. 2.5.0.1
- Operating system of the application server: e.g. Windows 7, Windows 10, Linux Redhat 7.x
- Version of application server: e.g. Apache Tomcat 8.0.23
- Your application.properties file (please remove passwords)
- The full stack trace of the log file

Thanks
~Dietmar.

daust added the waiting for reply from reporter label
#3