Jump to content
We've recently updated our Privacy Statement, available here ×

jon.lelong

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by jon.lelong

  1. I found the answer by chance, which I'll leave here in case it helps anyone else. As per the documentation, the rest_v2 URL to call is ...jasperserver/rest_v2/reports/path/to/report/inputControls/. What was not immediately obvious (to me) is that the reports are located in a folder called 'reports' in the Jasper library, so the full URL to call is actually ...jasperserver/rest_v2/reports/reports/reportfolder/reportname/inputControls/. HTH.
  2. Hi folks, I've been using the rest v2 api for a couple of months now with around 25 reports. I'm able to query the repository for lists of reports and present them with graphics, paging and export options to different formats, so I'm somewhat familiar with it but by no means experienced. I now need to expand the functionality to prompt the user to enter parameters. I have configured a date parameter in one of the reports and it all works fine in Jaspersoft Studio preview and in the Jaspersoft Library UI. So now I wish to call the inputControls service to obtain a list of Input Control Structures, which I intend to use to dynamically create the html elements to prompt the user for their input. The problem is that when I GET from the URL http://localhost:8080/jasperserver/rest_v2/reports/Management/Enrolment/inputControls/ I'm just getting a FileNotFound exception. The path to the report is correct - I have no problems with the other calls I'm making - so I must be overlooking something obvious here. Can anyone spot the mistake, or provide me with an example that works properly so that I can compare it with my own? Thanks for any help.
  3. I've downloaded the latest jasper available as far as I can tell: http://community.jaspersoft.com/project/jasperreports-server/releases Doesn't look like 6.1 is available as a community edition according to that. There are other webapps running under that tomcat instance which need java 1.8 - guess that means it won't be possible to have jasper on the same tomcat as used for everything else...
  4. Hi, unable to get jaspersevrer to start due to a null pointer exception when starting up, triggered within the owasp csrf guard. Extracts from the log: SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class org.owasp.csrfguard.CsrfGuardServletContextListener java.lang.RuntimeException: java.lang.NullPointerException at org.owasp.csrfguard.CsrfGuardServletContextListener.contextInitialized(CsrfGuardServletContextListener.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4772) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1069) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1719) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.NullPointerException at java.io.File.<init>(File.java:277) at org.owasp.csrfguard.CsrfGuardServletContextListener.getResourceStream(CsrfGuardServletContextListener.java:67) at org.owasp.csrfguard.CsrfGuardServletContextListener.contextInitialized(CsrfGuardServletContextListener.java:36) ... 13 more System was installed from jasperreports-server-cp-6.0.1-linux-x64-installer.runTomcat is 8.0.15, jre 1.8.0_25-b17 Can anyone give any hints as to what is causing this, and how to fix it...
×
×
  • Create New...