ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul R. Brown (JIRA)" <j...@apache.org>
Subject [jira] Created: (ODE-114) Unhelpful NPE in bpelc
Date Mon, 23 Apr 2007 06:54:15 GMT
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: Incubator


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.


Mime
View raw message