xavier.bonislawski Posted May 13, 2020 Share Posted May 13, 2020 Hello,I Had a repport that worked fine in JasperServer 7.1After upgrading to 7.5 the same repport doesn't work anymore.I got the following error message :"ERROR IntrusionException,pool-5-thread-521:55 - [sECURITY FAILURE Anonymous:null@unknown -> /ExampleApplication/IntrusionException] INTRUSION - Mixed encoding (2x) detected "" Error during report execution com.jaspersoft.jasperserver.api.JSSecurityException"I understand that a security check causes the exception, and I found the SQL instruction that causes the problemSELECT REGEXP_REPLACE(CODE_ANALYTIQUE,'^(.){4}(.*)([[:digit:]]{3}$)','2-3') AS PROJET FROM MYTABLEand if I modify my query like thisSELECT SUBSTRING((CODE_ANALYTIQUE,....)-SUBSTRING((CODE_ANALYTIQUE,....)It works fine.But I prefer to use the REGEXP_REPLACE statment rather than the SUBSTRINGSo what is the cause of tis exception, and how can I fix it ?Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now