NPE when deployed under JRun4 w/Updater 4

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium
    • None
    • Affects Version/s: 3.0.3
    • Component/s: None
    • None
    • Environment:
    • 3

      I understand that based on your findings from over a year ago. That JIRA does not display correctly, if at all, under JRun4. But, since that time. The Devs for SiteMesh has confirmed that JRun4's Updater 4 has fixed the issue between SiteMesh and JRun4.

      As such I was willing to give it a chance, and see if JIRA would work properly under JRun w/Updater 4.

      But, I have found that JIRA produces a NPE error with every attempt to deploy it under JRun4 w/Updater 4.

      I have attempted deploying all three Editions of JIRA v3.0.3 with using MSSQL and hsqldb. And I have attempted various jrun-resouces.xml & entityengine.xml settings. And all attempts ended with the exact same error message and stack trace.

      Below you will find the stack trace:

      12/01 16:49:21 info Deploying web application "Atlassian JIRA Web Application" from: file:/C:/JRun4/servers/bugtracker/jira/
      12/01 16:49:23 error Deployer Service failed to deploy file:/C:/JRun4/servers/bugtracker/jira/
      	* null
      [2]java.lang.NullPointerException
      	at org.picocontainer.defaults.DefaultPicoContainer.registerComponentInstance(DefaultPicoContainer.java:210)
      	at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:313)
      	at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:188)
      	at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:181)
      	at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:169)
      	at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:164)
      	at com.atlassian.jira.web.filters.gzip.GzipFilter.init(GzipFilter.java:39)
      	at jrun.servlet.FilterObject.init(FilterObject.java:63)
      	at jrun.servlet.FilterManager.loadFilter(FilterManager.java:195)
      	at jrun.servlet.FilterManager.init(FilterManager.java:155)
      	at jrun.servlet.FilterManager.create(FilterManager.java:74)
      	at jrun.servlet.WebApplicationService.start(WebApplicationService.java:223)
      	at jrun.deployment.DeployerService.initModules(DeployerService.java:710)
      	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
      	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
      	at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
      	at jrun.deployment.DeployerService.run(DeployerService.java:891)
      	at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
      	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
      	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
      	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      [1]java.lang.ExceptionInInitializerError
      	at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:164)
      	at com.atlassian.jira.web.filters.gzip.GzipFilter.init(GzipFilter.java:39)
      	at jrun.servlet.FilterObject.init(FilterObject.java:63)
      	at jrun.servlet.FilterManager.loadFilter(FilterManager.java:195)
      	at jrun.servlet.FilterManager.init(FilterManager.java:155)
      	at jrun.servlet.FilterManager.create(FilterManager.java:74)
      	at jrun.servlet.WebApplicationService.start(WebApplicationService.java:223)
      	at jrun.deployment.DeployerService.initModules(DeployerService.java:710)
      	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
      	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
      	at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
      	at jrun.deployment.DeployerService.run(DeployerService.java:891)
      	at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
      	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
      	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
      	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      Caused by: java.lang.NullPointerException
      	at org.picocontainer.defaults.DefaultPicoContainer.registerComponentInstance(DefaultPicoContainer.java:210)
      	at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:313)
      	at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:188)
      	at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:181)
      	at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:169)
      	... 17 more
      [0]jrun.deployment.DeploymentException: Deployer Service failed to deploy file:/C:/JRun4/servers/bugtracker/jira/
      	* null
      	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:315)
      	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
      	at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
      	at jrun.deployment.DeployerService.run(DeployerService.java:891)
      	at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
      	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
      	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
      	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      
      12/01 16:49:23 error Deployer Service failed to deploy C:\JRun4\servers\bugtracker\jira
      [2]java.lang.NullPointerException
      	at org.picocontainer.defaults.DefaultPicoContainer.registerComponentInstance(DefaultPicoContainer.java:210)
      	at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:313)
      	at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:188)
      	at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:181)
      	at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:169)
      	at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:164)
      	at com.atlassian.jira.web.filters.gzip.GzipFilter.init(GzipFilter.java:39)
      	at jrun.servlet.FilterObject.init(FilterObject.java:63)
      	at jrun.servlet.FilterManager.loadFilter(FilterManager.java:195)
      	at jrun.servlet.FilterManager.init(FilterManager.java:155)
      	at jrun.servlet.FilterManager.create(FilterManager.java:74)
      	at jrun.servlet.WebApplicationService.start(WebApplicationService.java:223)
      	at jrun.deployment.DeployerService.initModules(DeployerService.java:710)
      	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
      	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
      	at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
      	at jrun.deployment.DeployerService.run(DeployerService.java:891)
      	at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
      	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
      	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
      	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      [1]java.lang.ExceptionInInitializerError
      	at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:164)
      	at com.atlassian.jira.web.filters.gzip.GzipFilter.init(GzipFilter.java:39)
      	at jrun.servlet.FilterObject.init(FilterObject.java:63)
      	at jrun.servlet.FilterManager.loadFilter(FilterManager.java:195)
      	at jrun.servlet.FilterManager.init(FilterManager.java:155)
      	at jrun.servlet.FilterManager.create(FilterManager.java:74)
      	at jrun.servlet.WebApplicationService.start(WebApplicationService.java:223)
      	at jrun.deployment.DeployerService.initModules(DeployerService.java:710)
      	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
      	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
      	at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
      	at jrun.deployment.DeployerService.run(DeployerService.java:891)
      	at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
      	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
      	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
      	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      Caused by: java.lang.NullPointerException
      	at org.picocontainer.defaults.DefaultPicoContainer.registerComponentInstance(DefaultPicoContainer.java:210)
      	at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:313)
      	at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:188)
      	at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:181)
      	at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:169)
      	... 17 more
      [0]jrun.deployment.DeploymentException: Deployer Service failed to deploy file:/C:/JRun4/servers/bugtracker/jira/
      	* null
      	at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:315)
      	at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
      	at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
      	at jrun.deployment.DeployerService.run(DeployerService.java:891)
      	at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
      	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
      	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
      	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
      	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
      
      
      

      I hope that you guys might be able to shed some light on the possible cause of the NPE.

              Assignee:
              Unassigned
              Reporter:
              Michael Hagin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: