Clientgen Fails To Generate Client-Side Artifact With java.lang.IllegalArgumentException: null jName (Doc ID 1443752.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Weblogic Server - Version 9.2 to 9.2
Information in this document applies to any platform.

Symptoms

Attempting to use clientgen task to generate client-side artifacts, one may receive "java.lang.IllegalArgumentException: null jName".


An Ant BuildException has occured: java.lang.IllegalArgumentException: null jName
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: java.lang.IllegalArgumentException: null jName
at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:131)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.IllegalArgumentException: null jName
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:190)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:118)
... 20 more
Caused by: java.lang.IllegalArgumentException: null jName
at com.bea.staxb.buildtime.internal.bts.BindingTypeName.<init>(BindingTypeName.java:51)
at com.bea.staxb.buildtime.internal.bts.BindingTypeName.forPair(BindingTypeName.java:40)
at com.bea.staxb.buildtime.Schema2Java.createBindingType(Schema2Java.java:765)
at com.bea.staxb.buildtime.Schema2Java.bind(Schema2Java.java:362)
at com.bea.staxb.buildtime.Schema2Java.internalBind(Schema2Java.java:300)
at com.bea.staxb.buildtime.BindingCompiler.bind(BindingCompiler.java:125)
at weblogic.wsee.bind.buildtime.internal.TylarS2JBindingsBuilderImpl.createBuildtimeBindings(TylarS2JBindingsBuilderImpl.java:132)
at weblogic.wsee.tools.source.EndpointBuilder.setupBindingProviderWithServices(EndpointBuilder.java:828)
at weblogic.wsee.tools.clientgen.ClientGenUtil.createBindingProvider(ClientGenUtil.java:438)
at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBindings(ClientGenUtil.java:194)
at weblogic.wsee.tools.clientgen.ClientGenUtil.setupBuildtimeBindingsFromScratch(ClientGenUtil.java:244)
at weblogic.wsee.tools.clientgen.ClientGenUtil.setupService(ClientGenUtil.java:78)
at weblogic.wsee.tools.clientgen.ClientGenImpl.doClientGen(ClientGenImpl.java:186)
at weblogic.wsee.tools.clientgen.ClientGenImpl.execute(ClientGenImpl.java:147)
at weblogic.wsee.tools.anttasks.JwscClientGen.execute(JwscClientGen.java:191)
at weblogic.wsee.tools.anttasks.JwsModule.generateClients(JwsModule.java:363)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:278)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:220)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:183)
... 29 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms