Uploaded image for project: 'ZZZ-WSO2 ESB'
  1. ZZZ-WSO2 ESB
  2. ESBJAVA-1495

[Cluster setup] Error when invoking the service, after caching is removed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0 M5
    • Labels:
      None
    • Environment:

      WSO2 ESB 4.5.0 20th pack
      In cluster setup (one manager node and two worker nodes fronted by ELB)
      Deployment synchronizer enabled

      Description

      In cluster setup.

      • Create a proxy service and apply caching
      • Now remove caching policy
      • Invoke the service
      • Request fails time to time (this happens intermittently). Can see following error in logs

      TID: [] [WSO2 Enterprise Service Bus] [2012-08-21 10:54:32,249] ERROR

      {org.apache.synapse.transport.nhttp.ServerWorker} - Error processing POST request {org.apache.synapse.transport.nhttp.ServerWorker}

      java.lang.NullPointerException
      at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
      at org.wso2.caching.receivers.CacheMessageReceiver.receive(CacheMessageReceiver.java:95)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
      at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
      at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:409)
      at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261)
      at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              miyuru@wso2.com Miyuru Wanninayaka
              Reporter:
              pavithra@wso2.com Pavithra Madurangi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: