ODE
  1. ODE
  2. ODE-128

NullPointerException on Compilation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-incubating
    • Fix Version/s: 1.0-incubating
    • Labels:
      None
    • Environment:
      MacOS X, svn rev 530988

      Description

      Uncaught NPE within the compiler:

      $ bpelc ./counter.bpel
      java org.apache.ode.tools.bpelc.cline.BpelC: null
      java.lang.NullPointerException
      at org.apache.ode.bpel.compiler.WSDLRegistry.getMessage(WSDLRegistry.java:286)
      at org.apache.ode.bpel.compiler.BpelCompiler.resolveMessageType(BpelCompiler.java:348)
      at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:897)
      at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:654)
      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)

      1. counter.bpel
        3 kB
        Paul R. Brown
      2. counter.wsdl
        3 kB
        Paul R. Brown

        Activity

        Hide
        Paul R. Brown added a comment -

        BPEL process that will cause the error

        Show
        Paul R. Brown added a comment - BPEL process that will cause the error
        Hide
        Paul R. Brown added a comment -

        Accompanying WSDL; place in the same directory as the BPEL.

        Show
        Paul R. Brown added a comment - Accompanying WSDL; place in the same directory as the BPEL.
        Hide
        Paul R. Brown added a comment -

        Looks like it's failing to enforce the required messageType attritbute when the part/messageType form of a propertyAlias is used.

        Show
        Paul R. Brown added a comment - Looks like it's failing to enforce the required messageType attritbute when the part/messageType form of a propertyAlias is used.
        Hide
        Matthieu Riou added a comment -

        Added a compilation failure when no messageType is found on an alias.

        Show
        Matthieu Riou added a comment - Added a compilation failure when no messageType is found on an alias.

          People

          • Assignee:
            Matthieu Riou
            Reporter:
            Paul R. Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development