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:80) 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:216) at weblogic.ant.taskdefs.webservices.autotype.JavaAutoTyper.run(JavaAutoTyper.java:64) at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:348) at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:292) at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:169) at org.apache.tools.ant.Task.perform(Task.java:317) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:334) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.Main.runBuild(Main.java:610) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) Caused by: java.lang.ClassCastException at weblogic.xml.schema.binding.internal.XSDTypeMapping.addOptionalEntries(XSDTypeMapping.java:710) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createOptionalMapping(XSDTypeMapping.java:664) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createPrimaryMapping(XSDTypeMapping.java:654) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createInstance(XSDTypeMapping.java:138) at weblogic.xml.schema.binding.internal.XSDTypeMapping.<clinit>(XSDTypeMapping.java:118) ... 17 more
    No Bugmate found.