Hi Gary,
Could you send along xjc-sub.xml?
Compiling cics-connector.xsd from the command line works for me:
xjc.sh cics-connector.xsd
parsing a schema...
compiling a schema...
com\seagullsw\appinterface\server\backend\bind\impl\runtime\ValidatingUnmarshaller.java
com\seagullsw\appinterface\server\backend\bind\impl\runtime\Discarder.java
com\seagullsw\appinterface\server\backend\bind\impl\runtime\UnmarshallableObject.java
com\seagullsw\appinterface\server\backend\bind\impl\runtime\MarshallerImpl.java
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
Gary Gregory wrote:
>
> Hello,
>
> I am getting the following NPE with JAXB 1.0.1. I have attached the
> relevant files. Obviously, a nice error message would be better than an
> NPE if I am really doing something bogus.
>
> Thanks,
> Gary
>
>
> xjc-binding:
> [xjc] Compiling
> file:/C:/cvs-store/transidiom/deve/Java/Root/server/config/connectors/cics-connector.xsd
>
>
> BUILD FAILED
> java.lang.NullPointerException
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.getBindInfoReadOnly(BGMBuilder.java:357)
>
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.getBindInfo(BGMBuilder.java:334)
>
> at
> com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.dispatchGlobalConversions(BIGlobalBinding.java:180)
>
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.promoteGlobalBindings(BGMBuilder.java:160)
>
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(BGMBuilder.java:311)
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(BGMBuilder.java:78)
> at
> com.sun.tools.xjc.GrammarLoader.annotateXMLSchema(GrammarLoader.java:398)
> at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:125)
> at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:71)
> at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:325)
> at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:277)
> at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:221)
> at org.apache.tools.ant.Task.perform(Task.java:341)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
> at org.apache.tools.ant.Task.perform(Task.java:341)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
> at org.apache.tools.ant.Main.runBuild(Main.java:609)
> at org.apache.tools.ant.Main.start(Main.java:196)
> at org.apache.tools.ant.Main.main(Main.java:235)
>
> Total time: 3 seconds
> java.lang.NullPointerException
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.getBindInfoReadOnly(BGMBuilder.java:357)
>
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.getBindInfo(BGMBuilder.java:334)
>
> at
> com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.dispatchGlobalConversions(BIGlobalBinding.java:180)
>
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.promoteGlobalBindings(BGMBuilder.java:160)
>
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(BGMBuilder.java:311)
> at
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(BGMBuilder.java:78)
> at
> com.sun.tools.xjc.GrammarLoader.annotateXMLSchema(GrammarLoader.java:398)
> at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:125)
> at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:71)
> at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:325)
> at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:277)
> at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:221)
> at org.apache.tools.ant.Task.perform(Task.java:341)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
> at org.apache.tools.ant.Task.perform(Task.java:341)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
> at org.apache.tools.ant.Main.runBuild(Main.java:609)
> at org.apache.tools.ant.Main.start(Main.java:196)
> at org.apache.tools.ant.Main.main(Main.java:235)
> Mon 06/23/2003 22:53:30.90
> C:\cvs-store\transidiom\deve\Java\Build\jaxb\src\server\backend\cics\config>
>
>
>
>