[#5621] - XPath compilation failed. Expression

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

Error filling print... XPath compilation failed. Expression: 
net.sf.jasperreports.engine.JRException: XPath compilation failed. Expression:       at net.sf.jasperreports.engine.util.xml.JaxenXPathExecuter.getXPath(JaxenXPathExecuter.java:66)      at net.sf.jasperreports.engine.util.xml.JaxenXPathExecuter.selectNodeList(JaxenXPathExecuter.java:77)      at net.sf.jasperreports.engine.data.JRXmlDataSource.moveFirst(JRXmlDataSource.java:349)      at net.sf.jasperreports.engine.data.JRXmlDataSource.<init>(JRXmlDataSource.java:189)      at net.sf.jasperreports.engine.query.JRXPathQueryExecuter.createDatasource(JRXPathQueryExecuter.java:105)      at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1086)      at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:667)      at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1253)      at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:877)      at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:126)      at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:464)      at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:300)      at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:757)      at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:1003)      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)  Caused by: org.jaxen.XPathSyntaxException: Unexpected ''      at org.jaxen.BaseXPath.<init>(BaseXPath.java:118)      at org.jaxen.BaseXPath.<init>(BaseXPath.java:139)      at org.jaxen.dom.DOMXPath.<init>(DOMXPath.java:87)      at net.sf.jasperreports.engine.util.xml.JaxenXPathExecuter.getXPath(JaxenXPathExecuter.java:62)      ... 15 more  Caused by: class org.jaxen.saxpath.XPathSyntaxException: : 0: Unexpected ''      at org.jaxen.saxpath.base.XPathReader.createSyntaxException(XPathReader.java:1084)      at org.jaxen.saxpath.base.XPathReader.pathExpr(XPathReader.java:190)      at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1006)      at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:994)      at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.java:943)      at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:913)      at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:860)      at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:829)      at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:809)      at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:787)      at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:780)      at org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:100)      at org.jaxen.BaseXPath.<init>(BaseXPath.java:113)      ... 18 more 
Print not filled. Try to use an EmptyDataSource...

This is the error i am getting can u solve the problem
Data is coming from XML. Xml also correct but when i ca compiling i am getting these error

AttachmentSize
Binary Data credencial_cert-vision.jrxml5.85 KB
nagaraju.padala19's picture
Joined: May 14 2013 - 3:11am
Last seen: 5 years 5 months ago
Feedback