java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • servicegen classloader issues
    via by 3004,
  • Using webservices ant task
    via by 3004,
    • java.lang.ExceptionInInitializerError at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.initTypeMapping(XSDTypeMappingBuilder.java:57) at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.<init>(TypeMappingBuilderBase.java:77) at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.<init>(XSDTypeMappingBuilder.java:74) at weblogic.xml.schema.binding.internal.TypeMappingBuilderFactoryBase.createTypeMappingBuilder(TypeMappingBuilderFactoryBase.java:18) at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.createTypeMappingBuilder(AutoTyper.java:230) at weblogic.ant.taskdefs.webservices.autotype.AutoTyper.<init>(AutoTyper.java:89) at weblogic.ant.taskdefs.webservices.autotype.WSDLAutoTyper.<init>(WSDLAutoTyper.java:50) at weblogic.ant.taskdefs.webservices.clientgen.WSDLClientGen.<init>(WSDLClientGen.java:85) at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:226) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Caused by: java.lang.ClassCastException at weblogic.xml.schema.binding.internal.XSDTypeMapping.addOptionalEntries(XSDTypeMapping.java:674) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createOptionalMapping(XSDTypeMapping.java:628) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createPrimaryMapping(XSDTypeMapping.java:618) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createInstance(XSDTypeMapping.java:135) at weblogic.xml.schema.binding.internal.XSDTypeMapping.<clinit>(XSDTypeMapping.java:116)
    No Bugmate found.