Ed,
I am not quite sure what you mean. I am not passing anything? I am
just trying to run the JAXB compiler over my XSD file and its dying half
way through.
AJ
On Fri, 20 Jun 2003 11:32:03 -0400
Ed Mooney <Ed.Mooney_at_Sun.COM> wrote:
> Hi Andrew,
>
> I'm guessing you're passing a null InputStream?
>
> Regards,
> --
> Ed Mooney |Sun Microsystems, Inc.|Time flies like
> Java Web Services |UBUR02-201 |an arrow, but
> Ed.Mooney_at_Sun.COM |1 Network Drive |fruit flies like
> 781-442-0459 |Burlington, MA 01803 |a banana. Groucho
>
> Andrew Wellman wrote:
> > I am upgrading from JAXB 1.0 to JAXB 1.0.1
> >
> > /usr/java/jwsdp/jaxb/bin/xjc.sh -extension
> > ../includes/schema/LoanApplication.xsd -p com.abacus.jaxb parsing a
> > schema... compiling a schema...
> > com/abacus/jaxb/AddressRef.java
> > ...
> > ...
> > com/abacus/jaxb/impl/runtime/MarshallerImpl.java
> > java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method) at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcc
> > essorImpl.java:39) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM
> > ethodAccessorImpl.java:25) at
> > java.lang.reflect.Method.invoke(Method.java:324) at
> > org.apache.commons.launcher.ChildMain.run(ChildMain.java:26
> > 9)
> > Caused by: java.lang.NullPointerException
> > at java.io.Reader.<init>(Reader.java:61)
> > at
> > java.io.InputStreamReader.<init>(InputStreamReader.java:55)
> > at
> > com.sun.codemodel.fmt.JStaticJavaFile.build(JStaticJavaFile
> > .java:73) at
> > com.sun.codemodel.JPackage.build(JPackage.java:350) at
> > com.sun.codemodel.JCodeModel.build(JCodeModel.java:137) at
> > com.sun.tools.xjc.Driver.run(Driver.java:243) at
> > com.sun.tools.xjc.Driver._main(Driver.java:82) at
> > com.sun.tools.xjc.Driver.access$000(Driver.java:48) at
> > com.sun.tools.xjc.Driver$1.run(Driver.java:62)
> >
> > Can somebody give me an idea of what is wrong or at least what I can
> > try?
> >
> > Regards,
> > AJ