Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-921

NullPointerException in DeploymentPoller caused "Exiting poller..."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.3.5
    • None
    • Deployment
    • None
    • Windows XP, WAR deployment under Tomcat 7.0.6

    Description

      Erroneous BPEL process deployment caused NullPointerException in DeploymentPoller and poller is exited after that, no possible deployments possible after that.

      FATAL: 2011-04-15 19:25:21,269 org.apache.ode.axis2.deploy.DeploymentPoller – Encountered an unexpected error. Exiting poller...
      java.lang.RuntimeException: java.lang.NullPointerException
      at org.apache.ode.utils.WatchDog.check(WatchDog.java:163)
      at org.apache.ode.axis2.deploy.DeploymentPoller.checkDeployXmlWatchDog(DeploymentPoller.java:198)
      at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:142)
      at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
      at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)
      Caused by: java.lang.NullPointerException
      at org.apache.ode.store.ProcessStoreImpl.refreshSchedules(ProcessStoreImpl.java:873)
      at org.apache.ode.axis2.deploy.DeploymentPoller$DDWatchDogObserver.init(DeploymentPoller.java:296)
      at org.apache.ode.utils.WatchDog$DefaultObserver.onUpdate(WatchDog.java:318)
      at org.apache.ode.utils.WatchDog.check(WatchDog.java:132)
      ... 4 more

      Workaround:
      1. Stop Tomcat
      2. Delete erroneous process
      3. Start Tomcat

      Attached the erroneous process (first version) which caused that problem and good version which can not be deployed after that. We need to perform procedures above and then deploy good version to get it working.
      Just stopping and starting Tomcat doesn't work - once started again the same NullPointerException seen and poller exits, no further deployments possible..

      Attachments

        1. Deploy_NullPointer.zip
          8 kB
          Vitaliy Tkachenko

        Activity

          People

            vanto Tammo van Lessen
            virtualvat Vitaliy Tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: