java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

Spring JIRA | Imported | 1 decade ago
  1. 0

    The following exception is thrown then running Eclipse on the [http://mustang.dev.java.net/ Mustang] snapshot release. Since the Mustang is not released yet, I put this issue with low priority. However, it is likely that the issue will be reproducable on the release since it looks like that the Mustang is close to be released. Here is the stack trace (I've omitted part of the trace): {code} java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) at org.springframework.ide.eclipse.core.io.xml.LineNumberPreservingDOMParser.<init>(LineNumberPreservingDOMParser.java:42) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:110) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:51) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:285) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeans(BeansConfig.java:164) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.toString(BeansConfig.java:206) at org.springframework.ide.eclipse.beans.ui.model.ConfigNode.toString(ConfigNode.java:165) at java.lang.String.valueOf(String.java:2665) <<<skipped>>> {code}

    Spring JIRA | 1 decade ago | Imported
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
  2. 0

    The following exception is thrown then running Eclipse on the [http://mustang.dev.java.net/ Mustang] snapshot release. Since the Mustang is not released yet, I put this issue with low priority. However, it is likely that the issue will be reproducable on the release since it looks like that the Mustang is close to be released. Here is the stack trace (I've omitted part of the trace): {code} java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) at org.springframework.ide.eclipse.core.io.xml.LineNumberPreservingDOMParser.<init>(LineNumberPreservingDOMParser.java:42) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:110) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:51) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:285) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeans(BeansConfig.java:164) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.toString(BeansConfig.java:206) at org.springframework.ide.eclipse.beans.ui.model.ConfigNode.toString(ConfigNode.java:165) at java.lang.String.valueOf(String.java:2665) <<<skipped>>> {code}

    Spring JIRA | 1 decade ago | Imported
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
  3. 0

    [IDE-489] Internal Errors due to parsing beans.xml - Spring JIRA

    spring.io | 12 months ago
    java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration

    Netbeans Bugzilla | 1 decade ago | mdaniel
    java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration
  6. 0

    Bug ID: JDK-6338444 CCE from org.apache.xerces.parsers.SAXParser.<init> in b56

    sun.com | 8 months ago
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

    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. java.lang.ClassCastException

      com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

      at org.apache.xerces.parsers.DOMParser.<init>()
    2. Xerces2-j
      DOMParser.<init>
      1. org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
      2. org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
      2 frames
    3. org.springframework.ide
      ConfigNode.toString
      1. org.springframework.ide.eclipse.core.io.xml.LineNumberPreservingDOMParser.<init>(LineNumberPreservingDOMParser.java:42)
      2. org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:110)
      3. org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:51)
      4. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:285)
      5. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeans(BeansConfig.java:164)
      6. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.toString(BeansConfig.java:206)
      7. org.springframework.ide.eclipse.beans.ui.model.ConfigNode.toString(ConfigNode.java:165)
      7 frames
    4. Java RT
      String.valueOf
      1. java.lang.String.valueOf(String.java:2665)
      1 frame