Jump to content
We've recently updated our Privacy Statement, available here ×
  • Null pointer when running report with Japanese ID on v4.5


    Jim W
    • Features: Localization Version: v4.5 Product: JasperReports® Server

    Issue:

    You may get a null pointer exception if you use Japanese characters for any resource ID in the JasperReports Server repository.

    For example, a report name.

    You may be able to name it using Japanese characters, but it may yield a security error or an exception as follows when you try to run it. This is in the case when you are deploying a WAR file to your own web application container/server.

    2012-06-25 11:30:58,977 ERROR errorPage_jsp,http-80-exec-374:487 - stack trace of exception that redirected to errorPage.jsp
    java.lang.NullPointerException
    at com.jaspersoft.jasperserver.war.action.ResourceTypeMappingAction.doPreExecute(ResourceTypeMappingAction.java:53)
    at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:186)


    Resolution:

    The following setting is needed in order for multi-byte characters to work in the repository. /conf/server.xml


    Ref. Case #00026971 -- 18:55, 25 July 2012 (UTC)  

     


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