java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Felipe Kraemer,
  • 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.
    via by Felipe Kraemer,
    • 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)
    No Bugmate found.