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

Alex Boisvert resolved ODE-114.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Incubator)
                   1.0-incubating

Fixed.

Sending        
bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/BpelC.java
Sending        
bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/BpelCompiler.java
Sending        
bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/CommonCompilationMessages.java
Sending        
bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/DefaultResourceFinder.java
Transmitting file data ....
Committed revision 531563.


> 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.

Reply via email to