java.lang.ClassCastException: net.sf.saxon.value.ObjectValue cannot be cast to net.sf.saxon.om.NodeInfo

Google Groups | Vipin Jose | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    ClassCastException in 2.1.x version when using WireMock.equalToXml()

    Google Groups | 10 months ago | Vipin Jose
    java.lang.ClassCastException: net.sf.saxon.value.ObjectValue cannot be cast to net.sf.saxon.om.NodeInfo

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.sf.saxon.value.ObjectValue cannot be cast to net.sf.saxon.om.NodeInfo

      at net.sf.saxon.s9api.DocumentBuilder.wrap()
    2. Saxon HE
      DocumentBuilder.wrap
      1. net.sf.saxon.s9api.DocumentBuilder.wrap(DocumentBuilder.java:511)
      1 frame