org.dom4j.InvalidXPathException: Invalid XPath expression: '//external|//inline'. Caused by: org/jaxen/dom4j/Dom4jXPath

Stack Overflow | Martin Lowe | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Why does dom4j throw InvalidXPathException for a valid XPath only in my test environment?

    Stack Overflow | 10 months ago | Martin Lowe
    org.dom4j.InvalidXPathException: Invalid XPath expression: '//external|//inline'. Caused by: org/jaxen/dom4j/Dom4jXPath
  2. 0

    java.lang.NoClassDefFoundError: org/jaxen/JaxenException

    codegur.com | 9 months ago
    org.dom4j.InvalidXPathException: Invalid XPath expression: '//external|//inline'. Caused by: org/jaxen/dom4j/Dom4jXPath
  3. 0

    Problems on Geronimo Appserver?

    j-trac | 9 years ago | jeremy_c
    org.dom4j.InvalidXPathException: Invalid XPath expression: '/metadata/fields/field'. Caused by: org/dom4j/Element
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.dom4j.InvalidXPathException

      Invalid XPath expression: '//external|//inline'. Caused by: org/jaxen/dom4j/Dom4jXPath

      at org.dom4j.xpath.DefaultXPath.parse()
    2. dom4j
      AbstractNode.selectNodes
      1. org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
      2. org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
      3. org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
      4. org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
      5. org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:164)
      5 frames
    3. com.sample.project
      DefaultTransformationServiceTest.testgetDCR_success
      1. com.sample.project.service.impl.DefaultTransformationService.parseData(DefaultTransformationService.java:163)
      2. com.sample.project.service.impl.DefaultTransformationService.getDCR(DefaultTransformationService.java:144)
      3. com.sample.project.service.impl.DefaultTransformationServiceTest.testgetDCR_success(DefaultTransformationServiceTest.java:84)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      13 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames