org.dom4j.InvalidXPathException

Invalid XPath expression: /ns:s:Envelope/ns:s:Body/ns:CreateResponse/ns:CustomerId Unexpected ':'


Solutions on the web14

Solution icon of stackoverflow
via Stack Overflow by Alter Hu
, 11 months ago
Invalid XPath expression: /ns:s:Envelope/ns:s:Body/ns:CreateResponse/ns:CustomerId Unexpected ':'

Solution icon of web
via pentaho.com by Unknown author, 1 year ago
Invalid XPath expression: Unexpected ''

Solution icon of github
Invalid XPath expression: Unexpected ''

Solution icon of web
Invalid XPath expression: ns:. Unexpected '.'

Solution icon of oraclecommunity
via Oracle Community by 843834, 1 year ago
Invalid XPath expression: SJE6 2004Q1, 1 RTU ESD, All platforms, 1 Year Unexpected '2004'

Solution icon of web
Invalid XPath expression: SJE6 2004Q1, 1 RTU ESD, All platforms, 1 Year Unexpected '2004'

Solution icon of jenkins
via Jenkins JIRA by Eric Miles, 1 year ago
Invalid XPath expression: '/FindbugsPlugin/@pluginid'. Caused by: org/dom4j/DocumentException

Solution icon of jenkins
via Jenkins JIRA by Eric Miles, 1 year ago
Invalid XPath expression: '/FindbugsPlugin/@pluginid'. Caused by: org/dom4j/DocumentException

Solution icon of apache
via tomcat-taglibs-user by dean allen, 1 year ago
Invalid XPath expression: '//_page'. Caused by: org.jaxen.dom4j.DocumentNavigator.getInstance()Lorg/jaxen/Navigator;

Solution icon of oraclecommunity
via Oracle Community by 506883, 1 year ago
Invalid XPath expression: '//irn'. Caused by: org/jaxen/dom4j/Dom4jXPath

Stack trace

  • org.dom4j.InvalidXPathException: Invalid XPath expression:
  • s:s:Envelope
  • s:s:Body
  • s:CreateResponse
  • s:CustomerId Unexpected ':' at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:360) at org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59) at com.github.becauseQA.xml.DOM4JUtils.getNodes(DOM4JUtils.java:152)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago