java.lang.RuntimeException: Application Context not initialised.

Atlassian JIRA | Felipe Kraemer | 6 years ago
  1. 0

    Hi, I'm following the [Enabling Access Logging in FishEye|http://confluence.atlassian.com/display/FISHEYE/Enabling+Access+Logging+in+FishEye] document. However, when I start my FishEye instance after creating the {{jetty-web.xml}} file, I see this error: {noformat} 2011-04-25 17:04:56,099 ERROR [main ] fisheye.app com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer-doStart - Could not start DefaultReviewItemIndexer schedule: Application Context not initialised. java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.doStart(DefaultReviewItemIndexer.java:599) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:246) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 2011-04-25 17:04:56,107 WARN [main ] fisheye.app com.cenqua.fisheye.config.DefaultRepositoryManager-runRepositories - Problem starting repository java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73) at com.cenqua.fisheye.rep.RepositoryHandle.getIndexingContext(RepositoryHandle.java:572) at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:306) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:259) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:287) at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:497) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:250) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 2011-04-25 17:04:56,109 ERROR [main ] fisheye.app com.cenqua.fisheye.ctl.Run-mainImpl - Could not start quartz schedule: Application Context not initialised. java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponent(SpringContext.java:65) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:254) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) {noformat} This problem is not reproducible in MAC neither in Linux, only on Windows, but I'm not sure why.

    Atlassian JIRA | 6 years ago | Felipe Kraemer
    java.lang.RuntimeException: Application Context not initialised.
  2. 0

    Hi, I'm following the [Enabling Access Logging in FishEye|http://confluence.atlassian.com/display/FISHEYE/Enabling+Access+Logging+in+FishEye] document. However, when I start my FishEye instance after creating the {{jetty-web.xml}} file, I see this error: {noformat} 2011-04-25 17:04:56,099 ERROR [main ] fisheye.app com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer-doStart - Could not start DefaultReviewItemIndexer schedule: Application Context not initialised. java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.doStart(DefaultReviewItemIndexer.java:599) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:246) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 2011-04-25 17:04:56,107 WARN [main ] fisheye.app com.cenqua.fisheye.config.DefaultRepositoryManager-runRepositories - Problem starting repository java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73) at com.cenqua.fisheye.rep.RepositoryHandle.getIndexingContext(RepositoryHandle.java:572) at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:306) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:259) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:287) at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:497) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:250) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 2011-04-25 17:04:56,109 ERROR [main ] fisheye.app com.cenqua.fisheye.ctl.Run-mainImpl - Could not start quartz schedule: Application Context not initialised. java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponent(SpringContext.java:65) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:254) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) {noformat} This problem is not reproducible in MAC neither in Linux, only on Windows, but I'm not sure why.

    Atlassian JIRA | 6 years ago | Felipe Kraemer
    java.lang.RuntimeException: Application Context not initialised.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hi, I'm following the [Enabling Access Logging in FishEye|http://confluence.atlassian.com/display/FISHEYE/Enabling+Access+Logging+in+FishEye] document. However, when I start my FishEye instance after creating the {{jetty-web.xml}} file, I see this error: {noformat} 2011-04-25 17:04:56,099 ERROR [main ] fisheye.app com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer-doStart - Could not start DefaultReviewItemIndexer schedule: Application Context not initialised. java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.doStart(DefaultReviewItemIndexer.java:599) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:246) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 2011-04-25 17:04:56,107 WARN [main ] fisheye.app com.cenqua.fisheye.config.DefaultRepositoryManager-runRepositories - Problem starting repository java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73) at com.cenqua.fisheye.rep.RepositoryHandle.getIndexingContext(RepositoryHandle.java:572) at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:306) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:259) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:287) at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:497) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:250) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 2011-04-25 17:04:56,109 ERROR [main ] fisheye.app com.cenqua.fisheye.ctl.Run-mainImpl - Could not start quartz schedule: Application Context not initialised. java.lang.RuntimeException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34) at com.cenqua.fisheye.config.SpringContext.getComponent(SpringContext.java:65) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:254) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) {noformat} This problem is not reproducible in MAC neither in Linux, only on Windows, but I'm not sure why.

    Atlassian JIRA | 6 years ago | Felipe Kraemer
    java.lang.RuntimeException: Application Context not initialised.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Application Context not initialised.

      at com.cenqua.fisheye.config.SpringContext.getApplicationContext()
    2. com.cenqua.fisheye
      Run.main
      1. com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34)
      2. com.cenqua.fisheye.config.SpringContext.getComponent(SpringContext.java:65)
      3. com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:254)
      4. com.cenqua.fisheye.ctl.Run.main(Run.java:71)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.cenqua.fisheye
      FishEyeCtl.main
      1. com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114)
      2. com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
      2 frames