You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Mark Panahi <mp...@gmail.com> on 2008/04/22 09:54:49 UTC
null model
Hi, I'm getting the following error when trying to compile some preexisting
BPEL code:
...
DEBUG - 2008-04-22 00:33:51,553 - <org.apache.ode.utils.xsd.XSUtils>
captureSchema(LSInput,...):
input.systemId=file:/home/mpanahi/linkcode/llamaESB/PrintAndMailBPEL/PrintAndMailBP/src/Partners/ClearingHouse/ClearingHouse.wsdl
DEBUG - 2008-04-22 00:33:51,555 -
<org.apache.ode.bpel.compiler.WSDLRegistry> Processing <imports> in
file:/home/mpanahi/linkcode/llamaESB/PrintAndMailBPEL/PrintAndMailBP/src/Partners/ClearingHouse/ClearingHouse.wsdl
DEBUG - 2008-04-22 00:33:51,557 -
<org.apache.ode.bpel.compiler.BpelCompiler> Added WSDL Definition:
Partners/ClearingHouse/ClearingHouse.wsdl
java org.apache.ode.tools.bpelc.cline.BpelC: Null model.
java.lang.NullPointerException: Null model.
at
org.apache.ode.utils.xsd.SchemaModelImpl.<init>(SchemaModelImpl.java:48)
at
org.apache.ode.utils.xsd.SchemaModelImpl.newModel(SchemaModelImpl.java:91)
at
org.apache.ode.bpel.compiler.WSDLRegistry.getSchemaModel(WSDLRegistry.java:104)
at
org.apache.ode.bpel.compiler.BpelCompiler.resolveXsdType(BpelCompiler.java:409)
at
org.apache.ode.bpel.compiler.BpelCompiler$2.apply(BpelCompiler.java:391)
at
org.apache.ode.bpel.compiler.BpelCompiler$2.apply(BpelCompiler.java:386)
at
org.apache.ode.utils.stl.CollectionsX.transform(CollectionsX.java:167)
at
org.apache.ode.bpel.compiler.BpelCompiler.resolveMessageType(BpelCompiler.java:384)
at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1338)
at
org.apache.ode.bpel.compiler.BpelCompiler.access$1000(BpelCompiler.java:126)
at
org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1099)
at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1051)
at
org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1095)
at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:690)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
at
org.apache.ode.tools.bpelc.BpelCompileCommand.execute(BpelCompileCommand.java:121)
at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)
What does this mean? Is the error in
Partners/ClearingHouse/ClearingHouse.wsdl? If so, what do I look for?
Thanks,
Mark
Re: null model
Posted by Matthieu Riou <ma...@offthelip.org>.
Mark,
There seems to be a problem with the schema embedded in your WSDL or
referenced by your WSDL. A schema model can't be loaded. I'd look for an
import missing a location, an absolute location or something similar. If you
can't fin anything, post your WSDL with all the needed schemas to a Jira
issue and I'll have a look.
Cheers,
Matthieu
On Tue, Apr 22, 2008 at 12:54 AM, Mark Panahi <mp...@gmail.com> wrote:
> Hi, I'm getting the following error when trying to compile some
> preexisting
> BPEL code:
>
>
> ...
> DEBUG - 2008-04-22 00:33:51,553 - <org.apache.ode.utils.xsd.XSUtils>
> captureSchema(LSInput,...):
>
> input.systemId=file:/home/mpanahi/linkcode/llamaESB/PrintAndMailBPEL/PrintAndMailBP/src/Partners/ClearingHouse/ClearingHouse.wsdl
> DEBUG - 2008-04-22 00:33:51,555 -
> <org.apache.ode.bpel.compiler.WSDLRegistry> Processing <imports> in
>
> file:/home/mpanahi/linkcode/llamaESB/PrintAndMailBPEL/PrintAndMailBP/src/Partners/ClearingHouse/ClearingHouse.wsdl
> DEBUG - 2008-04-22 00:33:51,557 -
> <org.apache.ode.bpel.compiler.BpelCompiler> Added WSDL Definition:
> Partners/ClearingHouse/ClearingHouse.wsdl
> java org.apache.ode.tools.bpelc.cline.BpelC: Null model.
> java.lang.NullPointerException: Null model.
> at
> org.apache.ode.utils.xsd.SchemaModelImpl.<init>(SchemaModelImpl.java:48)
> at
> org.apache.ode.utils.xsd.SchemaModelImpl.newModel(SchemaModelImpl.java:91)
> at
>
> org.apache.ode.bpel.compiler.WSDLRegistry.getSchemaModel(WSDLRegistry.java:104)
> at
>
> org.apache.ode.bpel.compiler.BpelCompiler.resolveXsdType(BpelCompiler.java:409)
> at
> org.apache.ode.bpel.compiler.BpelCompiler$2.apply(BpelCompiler.java:391)
> at
> org.apache.ode.bpel.compiler.BpelCompiler$2.apply(BpelCompiler.java:386)
> at
> org.apache.ode.utils.stl.CollectionsX.transform(CollectionsX.java:167)
> at
>
> org.apache.ode.bpel.compiler.BpelCompiler.resolveMessageType(BpelCompiler.java:384)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1338)
> at
>
> org.apache.ode.bpel.compiler.BpelCompiler.access$1000(BpelCompiler.java:126)
> at
> org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1099)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1051)
> at
>
> org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1095)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:690)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
> at
>
> org.apache.ode.tools.bpelc.BpelCompileCommand.execute(BpelCompileCommand.java:121)
> at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)
>
> What does this mean? Is the error in
> Partners/ClearingHouse/ClearingHouse.wsdl? If so, what do I look for?
>
> Thanks,
>
> Mark
>