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

Validation Exception When Trying to Schedule Report


saharhassan

Recommended Posts

I am trying to schedule a report in Jasper server 4.5.0 32 bit. In the first step, when I clicked on Next button after filling the report name and start on immediately, it is showing the message as

"The server has encountered an error.Please excuse the inconvenience.

An error has occurred. Please contact your system administrator. (5321)."

 

The error log also is also shown.

Code:
2012-04-09 17:36:56,396  WARN SingletonEhCacheProvider,Thread-1:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.2012-04-09 17:36:56,411  WARN SingletonEhCacheProvider,Thread-1:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.StandardQueryCache]; using defaults.2012-04-09 17:36:56,896  WARN PermissionsListProtectionDomainProvider,Thread-1:61 - A security manager has not been configured for the JVM. The protection domain set for the reports will NOT be effective.2012-04-09 17:36:58,583  WARN ChainedTilesRequestContextFactory,Thread-1:105 - Cannot find TilesRequestContextFactory class org.apache.tiles.portlet.context.PortletTilesRequestContextFactory2012-04-09 17:37:00,349  WARN XmlaServlet,Thread-1:615 - Use default character encoding from HTTP client2012-04-09 17:37:13,067  WARN JSESAPISecurityConfiguration,http-8080-5:652 - SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from 'esapi/' using current thread context class loader!2012-04-09 17:37:13,098  WARN JSESAPISecurityConfiguration,http-8080-5:652 - SUCCESSFULLY LOADED validation.properties via the CLASSPATH from 'esapi/' using current thread context class loader!2012-04-09 17:37:13,504  WARN LoggerListener,http-8080-5:60 - Authentication event AuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: 95E855EE055D697C71D067B32F6EC4BB2012-04-09 17:37:13,520  WARN LoggerListener,http-8080-5:60 - Authentication event InteractiveAuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: 95E855EE055D697C71D067B32F6EC4BB2012-04-09 17:37:16,551  WARN ValidatorImpl,http-8080-1:259 - No rule for parameter [navAppVersion]. Using default validation on input=[4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)].2012-04-09 17:37:38,909  WARN ValidatorImpl,http-8080-2:518 - Please make sure your web application server is set to URIEncoding=UTF-8.2012-04-09 17:37:38,940  WARN IntrusionDetector,http-8080-2:449 - [sECURITY FAILURE Anonymous:null@unknown -> /ExampleApplication/IntrusionDetector] Invalid input: context=trigger.timezone-ViewRepository_Schedule_OutputSettings_context, type(AlphaUnderscoreForward)=^[\p{L}\p{M}\p{Pc}\/]*$, input=GMT 05:30org.owasp.esapi.errors.ValidationException: trigger.timezone-ViewRepository_Schedule_OutputSettings_context: Invalid input. Please conform to regex ^[\p{L}\p{M}\p{Pc}\/]*$ with a maximum length of 100	at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:144)	at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:160)	at org.owasp.esapi.reference.validation.StringValidationRule.getValid(StringValidationRule.java:284)	at org.owasp.esapi.reference.DefaultValidator.getValidInput(DefaultValidator.java:213)	at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validate(ValidatorImpl.java:345)	at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validate(ValidatorImpl.java:251)	at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.validate(WebAppSecurityFilter.java:175)	at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:82)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)	at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)	at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)	at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)	at java.lang.Thread.run(Thread.java:619)2012-04-09 17:37:38,972  WARN JSCommonController,http-8080-2:202 - There was a security error
Link to comment
Share on other sites

  • 4 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This is a validation error. Perhaps either your timezone doesn't match that regex or perhaps that email address Anonymous:null@unknown ... I'm just skim reading it :)

If you think your inputs are valid here are some helpful links to change the validation.

http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=94962&page=2

http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=94923&topid=95560

http://gskinner.com/RegExr/

Code:
org.owasp.esapi.errors.ValidationException: trigger.timezone-ViewRepository_Schedule_OutputSettings_context: Invalid input. Please conform to regex ^[\p{L}\p{M}\p{Pc}\/]*$ with a maximum length of 100
Link to comment
Share on other sites

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