You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Matthieu Riou (JIRA)" <ji...@apache.org> on 2007/05/30 00:07:46 UTC

[jira] Closed: (ODE-114) Unhelpful NPE in bpelc

     [ https://issues.apache.org/jira/browse/ODE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou closed ODE-114.
-----------------------------


> Unhelpful NPE in bpelc
> ----------------------
>
>                 Key: ODE-114
>                 URL: https://issues.apache.org/jira/browse/ODE-114
>             Project: Ode
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: Incubator
>         Environment: Mac OS X 10.4.9
>            Reporter: Paul R. Brown
>             Fix For: 1.0-incubating
>
>
> The following NPE results from running bpelc against HelloWorld2:
> $ bpelc  HelloWorld2.bpel java org.apache.ode.tools.bpelc.cline.BpelC: null
> java.lang.NullPointerException
>         at org.apache.ode.bpel.compiler.DefaultResourceFinder.openResource(DefaultResourceFinder.java:60)
>         at org.apache.ode.bpel.compiler.WSDLLocatorImpl.getBaseInputSource(WSDLLocatorImpl.java:47)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at org.apache.ode.bpel.compiler.BpelCompiler.addWsdlImport(BpelCompiler.java:180)
>         at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:768)
>         at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:628)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:268)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:335)
>         at org.apache.ode.tools.bpelc.BpelCompileCommand.execute(BpelCompileCommand.java:122)
>         at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)
> Running
> $ bpelc ./HelloWorld2.bpel
> succeeds.
> The NPE should be avoided, and a better error message should be provided.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.