java.lang.ExceptionInInitializerError: java.lang.ClassCastException:<br></pre> </blockquote> <pre wrap="">weblogic.we<br></pre> <blockquote type="cite"> <pre wrap="">bservice.encoding.ImageCodec<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.addOptionalEntrie<br>s(XSDTypeMapping.java:674)<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createOptionalMap<br>ping(XSDTypeMapping.java:628) <br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createPrimaryMapp<br>ing(XSDTypeMapping.java:618) <br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createInstance(XS<br>DTypeMapping.java:135)<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.<clinit>(XSDTypeM<br>apping.java:116)<br> at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.initTypeMa<br>pping(XSDTypeMappingBuilder.java:57) <br> at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.<init>(Ty<br>peMappingBuilderBase.java:77)<br> at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.<init>(XSD<br>TypeMappingBuilder.java:74)<br> at weblogic.xml.schema.binding.internal.TypeMappingBuilderFactoryBase.cr<br>eateTypeMappingBuilder(TypeMappingBuilderFactoryBase.java:18) <br> at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.createTypeMappin<br>gBuilder(AutoTyper.java:221) <br> at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.<init>(AutoTyper<br><a class="moz-txt-link-freetext" href="java:87">java:87</a>)<br> at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.<init>(<br>ComponentAutoTyper.java:57)<br> at weblogic.ant.taskdefs.webservices.autotype.JavaAutoTyper.<init>(JavaA<br>utoTyper.java:54)<br> at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoT<br>ypeTask.java:304)<br> at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateS<br>ervice(ServiceGenTask.java:248) <br> at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(S<br>erviceGenTask.java:141)<br> at org ..apache.tools.ant.Task.perform(Task.java:217)<br>

Oracle Community | 3004 | 1 decade 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. 0

    servicegen

    Oracle Community | 1 decade ago | 3004
    java.lang.ExceptionInInitializerError: java.lang.ClassCastException:<br></pre> </blockquote> <pre wrap="">weblogic.we<br></pre> <blockquote type="cite"> <pre wrap="">bservice.encoding.ImageCodec<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.addOptionalEntrie<br>s(XSDTypeMapping.java:674)<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createOptionalMap<br>ping(XSDTypeMapping.java:628) <br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createPrimaryMapp<br>ing(XSDTypeMapping.java:618) <br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createInstance(XS<br>DTypeMapping.java:135)<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.<clinit>(XSDTypeM<br>apping.java:116)<br> at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.initTypeMa<br>pping(XSDTypeMappingBuilder.java:57) <br> at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.<init>(Ty<br>peMappingBuilderBase.java:77)<br> at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.<init>(XSD<br>TypeMappingBuilder.java:74)<br> at weblogic.xml.schema.binding.internal.TypeMappingBuilderFactoryBase.cr<br>eateTypeMappingBuilder(TypeMappingBuilderFactoryBase.java:18) <br> at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.createTypeMappin<br>gBuilder(AutoTyper.java:221) <br> at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.<init>(AutoTyper<br><a class="moz-txt-link-freetext" href="java:87">java:87</a>)<br> at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.<init>(<br>ComponentAutoTyper.java:57)<br> at weblogic.ant.taskdefs.webservices.autotype.JavaAutoTyper.<init>(JavaA<br>utoTyper.java:54)<br> at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoT<br>ypeTask.java:304)<br> at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateS<br>ervice(ServiceGenTask.java:248) <br> at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(S<br>erviceGenTask.java:141)<br> at org ..apache.tools.ant.Task.perform(Task.java:217)<br>

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      java.lang.ClassCastException:<br></pre> </blockquote> <pre wrap="">weblogic.we<br></pre> <blockquote type="cite"> <pre wrap="">bservice.encoding.ImageCodec<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.addOptionalEntrie<br>s(XSDTypeMapping.java:674)<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createOptionalMap<br>ping(XSDTypeMapping.java:628) <br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createPrimaryMapp<br>ing(XSDTypeMapping.java:618) <br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.createInstance(XS<br>DTypeMapping.java:135)<br> at weblogic.xml.schema.binding.internal.XSDTypeMapping.<clinit>(XSDTypeM<br>apping.java:116)<br> at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.initTypeMa<br>pping(XSDTypeMappingBuilder.java:57) <br> at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.<init>(Ty<br>peMappingBuilderBase.java:77)<br> at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.<init>(XSD<br>TypeMappingBuilder.java:74)<br> at weblogic.xml.schema.binding.internal.TypeMappingBuilderFactoryBase.cr<br>eateTypeMappingBuilder(TypeMappingBuilderFactoryBase.java:18) <br> at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.createTypeMappin<br>gBuilder(AutoTyper.java:221) <br> at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.<init>(AutoTyper<br><a class="moz-txt-link-freetext" href="java:87">java:87</a>)<br> at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.<init>(<br>ComponentAutoTyper.java:57)<br> at weblogic.ant.taskdefs.webservices.autotype.JavaAutoTyper.<init>(JavaA<br>utoTyper.java:54)<br> at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoT<br>ypeTask.java:304)<br> at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateS<br>ervice(ServiceGenTask.java:248) <br> at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(S<br>erviceGenTask.java:141)<br> at org ..apache.tools.ant.Task.perform(Task.java:217)<br>

      at org.apache.tools.ant.Target.execute()
    2. Ant
      Target.execute
      1. org.apache.tools.ant.Target.execute(Target.java:184)
      1 frame