java.lang.IllegalStateException: Unable to create a XmlRootExtractor

Apache's JIRA Issue Tracker | Jukka Zitting | 8 years 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

    [TIKA-271] secure-processing not supported by some JAXP implementations - ASF JIRA

    apache.org | 2 years ago
    java.lang.IllegalStateException: Unable to create a XmlRootExtractor
  2. 0

    [jira] Created: (TIKA-271) secure-processing not supported by some JAXP implementations - Grokbase

    grokbase.com | 1 year ago
    java.lang.IllegalStateException: Unable to create a XmlRootExtractor
  3. 0

    [Tika-dev] [jira] Created: (TIKA-271) secure-processing not supported by some JAXP implementations - Grokbase

    grokbase.com | 2 years ago
    java.lang.IllegalStateException: Unable to create a XmlRootExtractor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] Created: (TIKA-271) secure-processing not supported by some JAXP implementations - Grokbase

    grokbase.com | 1 year ago
    java.lang.IllegalStateException: Unable to create a XmlRootExtractor
  6. 0

    The XmlRootExtractor class tries to set the secure-processing feature that JAXP requires all parser implementations to support. Unfortunately some parsers don't support the feature, which causes the following exception: 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)

    Apache's JIRA Issue Tracker | 8 years ago | Jukka Zitting
    java.lang.IllegalStateException: Unable to create a XmlRootExtractor

    20 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXNotRecognizedException

      Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.

      at org.apache.xerces.parsers.AbstractSAXParser.setFeature()
    2. Xerces2-j
      SAXParserFactoryImpl.setFeature
      1. org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source)
      2. org.apache.xerces.jaxp.SAXParserImpl.setFeatures(Unknown Source)
      3. org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
      4. org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
      5. org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
      5 frames
    3. Apache Tika core
      MimeTypes.<init>
      1. org.apache.tika.detect.XmlRootExtractor.<init>(XmlRootExtractor.java:47)
      2. org.apache.tika.mime.MimeTypes.<init>(MimeTypes.java:133)
      2 frames