org.xml.sax.SAXParseException

Element type "cas:urn" must be followed by either attribute specifications, ">" or "/>".

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web847

  • via Stack Overflow by Noor
    ,
  • Stack trace

    • org.xml.sax.SAXParseException: Element type "cas:urn" must be followed by either attribute specifications, ">" or "/>". at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1396)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:248)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2787)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)[?:1.8.0_91] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)[?:1.8.0_91] at org.jasig.cas.client.util.XmlUtils.getTextForElement(XmlUtils.java:192)[cas-client-core-3.4.1.jar!/:3.4.1] at org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:81)[cas-client-core-3.4.1.jar!/:3.4.1] at org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:201)[cas-client-core-3.4.1.jar!/:3.4.1] at org.apereo.cas.support.saml.web.idp.profile.SSOPostProfileCallbackHandlerController.handleCallbackProfileRequest(SSOPostProfileCallbackHandlerController.java:60)[cas-server-support-saml-idp-5.0.0.RC3-SNAPSHOT.jar!/:5.0.0.RC3-SNAPSHOT]

    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

    aidoanaidoan
    2 times, last one
    batwalrus76batwalrus76
    Once,
    HronomHronom
    41 times, last one
    mauritiusmauritius
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    40 more bugmates