java.lang.IllegalStateException

Unable to create a XmlRootExtractor

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web15517

  • Unable to create a XmlRootExtractor
  • via Apache's JIRA Issue Tracker by Jukka Zitting, 10 months ago
    Unable to create a XmlRootExtractor
  • Unable to create a XmlRootExtractor
  • Stack trace

    • java.lang.IllegalStateException: Unable to create a XmlRootExtractor at org.apache.tika.mime.MimeTypes.<init>(MimeTypes.java:135) at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:58) at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:75) at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:90) at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:96) at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:85) at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:76) at org.apache.tika.config.TikaConfig.getDefaultConfig(TikaConfig.java:173) at org.apache.tika.parser.AutoDetectParser.<init>(AutoDetectParser.java:47) Caused by: org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. at org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.setFeatures(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source) at org.apache.tika.detect.XmlRootExtractor.<init>(XmlRootExtractor.java:47) at org.apache.tika.mime.MimeTypes.<init>(MimeTypes.java:133)

    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

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    24 more bugmates