ODE
  1. ODE
  2. ODE-942

Intermittent issue when calling partner services asynchronously.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.3.6, 1.4
    • Component/s: None
    • Labels:
      None

      Description

      11:48:56,982 ERROR [BpelEngineImpl] Scheduled job failed; jobDetail=JobDetails( instanceId: null mexId: hqejbhcnphr6bosds7rl5x processId:

      {http://wso2.org/bps/samples/LoanProcess}

      LoanProcess-1 type: INVOKE_INTERNAL channel: null correlatorId: null correlationKeySet: null retryCount: null inMem: false detailsExt:

      {enqueue=false}

      )
      java.lang.NullPointerException
      at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:222)
      at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:297)
      at org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:450)
      at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:467)
      at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:445)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:535)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:529)
      at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:284)
      at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:239)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:529)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:513)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

      1. ODE-942.patch
        4 kB
        Waruna Ranasinghe

        Activity

        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-trunk-jdk6 #761 (See https://builds.apache.org/job/ODE-trunk-jdk6/761/)
        Revert "ODE-942: fixing a scheduler bug. Thanks Waruna for the patch." (vanto: rev 5a80925cbdbb7c666a5efb0449072e7305bc25d2)

        • scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-trunk-jdk6 #761 (See https://builds.apache.org/job/ODE-trunk-jdk6/761/ ) Revert " ODE-942 : fixing a scheduler bug. Thanks Waruna for the patch." (vanto: rev 5a80925cbdbb7c666a5efb0449072e7305bc25d2) scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java
        Hide
        Tammo van Lessen added a comment -

        Marking it as won't fix, but the original problem should be solved already by a properly configured transaction manager.

        Show
        Tammo van Lessen added a comment - Marking it as won't fix, but the original problem should be solved already by a properly configured transaction manager.
        Hide
        Tammo van Lessen added a comment -

        Agreed, good catch, thanks. I'll revert the commits.

        Show
        Tammo van Lessen added a comment - Agreed, good catch, thanks. I'll revert the commits.
        Hide
        Sathwik Bantwal Premakumar added a comment -

        The insertion of the job into DB happens in the callback method after the transaction commit. The insert runs without a transaction.

        Infact this issue could be because of ODE-997.

        Show
        Sathwik Bantwal Premakumar added a comment - The insertion of the job into DB happens in the callback method after the transaction commit. The insert runs without a transaction. Infact this issue could be because of ODE-997 .
        Hide
        Sathwik Bantwal Premakumar added a comment -

        Reopening this issue as the fix is inappropriate.

        Show
        Sathwik Bantwal Premakumar added a comment - Reopening this issue as the fix is inappropriate.
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-1.x #418 (See https://builds.apache.org/job/ODE-1.x/418/)
        ODE-942: fixing a scheduler bug. Thanks Waruna for the patch. (vanto: rev 8cb723667d4221cef2bcbe818d03c635294132a1)

        • scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-1 .x #418 (See https://builds.apache.org/job/ODE-1.x/418/ ) ODE-942 : fixing a scheduler bug. Thanks Waruna for the patch. (vanto: rev 8cb723667d4221cef2bcbe818d03c635294132a1) scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-trunk-jdk6 #752 (See https://builds.apache.org/job/ODE-trunk-jdk6/752/)
        ODE-942: fixing a scheduler bug. Thanks Waruna for the patch. (vanto: rev ed5f024d4ba697b559476bd31589a2b604e3cce7)

        • scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-trunk-jdk6 #752 (See https://builds.apache.org/job/ODE-trunk-jdk6/752/ ) ODE-942 : fixing a scheduler bug. Thanks Waruna for the patch. (vanto: rev ed5f024d4ba697b559476bd31589a2b604e3cce7) scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java
        Show
        Tammo van Lessen added a comment - See also https://wso2.org/jira/browse/CARBON-10628?focusedCommentId=45624&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-45624

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Waruna Ranasinghe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development