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

Range Min & Max Value Expression Issue in JS 3.5


yashdeep

Recommended Posts

Hello!

I am using mutli-axis chart (Line + Bar Chart) , when i set the Range Axis Min Value and Max Value and try ti upload it on jasper server it gives me error "The selected Jrxml could not be parsed." When i checked the log for this in Tomcat i find following :

11:23:41,843 ERROR Digester,http-8080-Processor21:1538 - Parse Error at line 178
 column 35: cvc-complex-type.2.4.d: Invalid content was found starting with elem
ent 'rangeAxisMinValueExpression'. No child element is expected at this point.
org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found
 starting with element 'rangeAxisMinValueExpression'. No child element is expect
ed at this point.

        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportE
rror(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknow
n Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unkno
wn Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source).

.......................................

Please find the attached file for complete log.

When i run the report in iReport(3.1.5) it works fine it gives me desired output. While uploadin it on JS it gives me above error.

While trying some wrok around - when i remove the settings for Min and Max Value for Range axis and try to upload it on JS , it get uploaded and works fine. But i want to set the Mix and Max value for Range Axis its necessary for me.

I think this a bug in jasperserver 3.5, i never tried this in other JS versions.

If anyone knows how to solve this issue pls let me know  ASAP......

Thanks & Regards,

Yash

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The JasperServer 3.5 release candidate includes a pre 3.5 JasperReports jar that does not support axis range expressions.

You can either wait for the final 3.5 JasperServer release or upgrade the JasperReports jar in your JS deployment.

Regards,

Lucian

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