See AXIS2-3851.

Andreas

On Fri, Apr 23, 2010 at 08:57, Vishwal Shah <[email protected]> wrote:
> Hi,
> I am trying to generate Stubs for Standalone schema using Axis2 XSD2Java ,
> My Schema does not have a Target Namespace. I get the below error
>
>      [echo] Generating code ...
>      [java] Exception in thread "main" java.lang.NullPointerException
>      [java]     at
> org.apache.axis2.util.URLProcessor.makePackageName(URLProcessor.java:46)
>      [java]     at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:322)
>      [java]     at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:300)
>      [java]     at
> org.apache.axis2.schema.XSD2Java.compile(XSD2Java.java:96)
>      [java]     at org.apache.axis2.schema.XSD2Java.main(XSD2Java.java:46)
>
>
> Does anyone has any idea or patch that fixes this ? I am using Axis
> 2.1.5.1.
>
>
> Thanks,
> Vish
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to