Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to fix the problem related to the empty input controls tab.


    akonkin
    • Features: Input Controls Version: v5.6.1, v4.2.1 Product: JasperReports® Server

    The problem appeared after upgrade from v4.2.* to v5.6.

    First of all, I would like to describe the design of the reports in which this problem was identified:

    • Main report connected with Linked report via hyperlink and input controls that should pass some values to the Linked report

    • Linked report contained Back button that should return user back to Main report with the same input controls/values

    Description of the problem:

    • user executed the Main report - input controls (in page) were shown in the Main report

    • user navigated to Linked report and then clicked Back button

    • user was returned to the Main report, however input controls area was blank

    In jasperserver.log file this was reflected with the stack trace that I quote below:

    2014-11-25 14:48:40,244 ERROR GenericExceptionMapper,http-apr-8560-exec-6:46 - Unexpected error occurs
    com.sun.jersey.api.NotFoundException:
    null for uri:
    http://localhost:8560/jasperserver-pro/rest_v2/reportsrepo:/organizations/organization_1/Structured_query/structural_data/yearly_trend_cg_ms/options?_=1416919719598   
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1484)   
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414)   
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)   
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)   
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)   
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)   
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)   
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)   
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    

    The actual reason of the problem was that in hyperlink in the expression that described the path to the main report was used “repo:” prefix: repo:/some_path/some_folder/report.

    To fix this problem, “repo:” prefix should have been removed from the path, giving:  /some_path/some_folder/report.


    User Feedback

    Recommended Comments

    There are no comments to display.



    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...