java.lang.RuntimeException: Failed to init broadcaster: application context is probably not web application context!: Failed to init broadcaster: application context is probably not web application context!

GitHub | shadeimi | 6 months ago
  1. 0

    Failed to init broadcaster: application context is probably not web application context

    GitHub | 6 months ago | shadeimi
    java.lang.RuntimeException: Failed to init broadcaster: application context is probably not web application context!: Failed to init broadcaster: application context is probably not web application context!
  2. 0

    App sometimes crash during startup when launched from the Android notification area. How to reproduce - Make sure app is not running - Receive push notifications for app - Click on push notification in the Android notification area to launch the app. - (If another notification is received at the moment the app is launching, it seems to greatly increase the chance of a crash.) - App sometimes crashes Crash log: E/AndroidRuntime(10783): FATAL EXCEPTION: main E/AndroidRuntime(10783): Process: hk.com.beamstyle.snakehead, PID: 10783 E/AndroidRuntime(10783): java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided E/AndroidRuntime(10783): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2856) E/AndroidRuntime(10783): at android.app.ActivityThread.access$1700(ActivityThread.java:156) E/AndroidRuntime(10783): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440) E/AndroidRuntime(10783): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(10783): at android.os.Looper.loop(Looper.java:157) E/AndroidRuntime(10783): at android.app.ActivityThread.main(ActivityThread.java:5872) E/AndroidRuntime(10783): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(10783): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(10783): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) E/AndroidRuntime(10783): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) E/AndroidRuntime(10783): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(10783): Caused by: java.lang.RuntimeException: Application context not provided E/AndroidRuntime(10783): at com.appcelerator.aps.Settings.props(Settings.java:58) E/AndroidRuntime(10783): at com.appcelerator.aps.Settings.useSingleCallback(Settings.java:83) E/AndroidRuntime(10783): at com.appcelerator.aps.APSCloudPush.processCallbackIfInstantiated(APSCloudPush.java:651) E/AndroidRuntime(10783): at com.appcelerator.aps.IntentReceiver.onReceive(IntentReceiver.java:72) E/AndroidRuntime(10783): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2845) E/AndroidRuntime(10783): ... 10 more E/ActivityManager( 719): App crashed! Process: hk.com.beamstyle.snakehead

    Appcelerator JIRA | 1 year ago | Andreas Hyden
    java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 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

      Failed to init broadcaster: application context is probably not web application context!: Failed to init broadcaster: application context is probably not web application context!

      at ru.yandex.qatools.camelot.web.core.AtmosphereClientBroadcastersProvider.initBroadcaster()
    2. ru.yandex.qatools
      LocalPluginFrontendNotifier$Notifier.notify
      1. ru.yandex.qatools.camelot.web.core.AtmosphereClientBroadcastersProvider.initBroadcaster(AtmosphereClientBroadcastersProvider.java:70)
      2. ru.yandex.qatools.camelot.web.core.AtmosphereClientBroadcastersProvider.getBroadcaster(AtmosphereClientBroadcastersProvider.java:50)
      3. ru.yandex.qatools.camelot.web.core.LocalPluginFrontendNotifier$Notifier.notify(LocalPluginFrontendNotifier.java:39)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor88.invoke(null)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    4. ru.yandex.qatools
      PluggableProcessor.process
      1. ru.yandex.qatools.camelot.common.AnnotatedMethodDispatcher.callMethod(AnnotatedMethodDispatcher.java:107)
      2. ru.yandex.qatools.camelot.common.AnnotatedMethodDispatcher.findSuitableMethodAndCall(AnnotatedMethodDispatcher.java:95)
      3. ru.yandex.qatools.camelot.common.AnnotatedMethodDispatcher.call(AnnotatedMethodDispatcher.java:66)
      4. ru.yandex.qatools.camelot.common.AnnotatedMethodDispatcher.dispatch(AnnotatedMethodDispatcher.java:42)
      5. ru.yandex.qatools.camelot.common.PluggableProcessor.dispatchMessage(PluggableProcessor.java:75)
      6. ru.yandex.qatools.camelot.common.PluggableProcessor.process(PluggableProcessor.java:61)
      6 frames
    5. Camel :: Core
      DefaultProducerTemplate.sendBodyAndHeaders
      1. org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
      2. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)
      3. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      4. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
      5. org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
      6. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      7. org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62)
      8. org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141)
      9. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)
      10. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      11. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
      12. org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
      13. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      14. org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62)
      15. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      16. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
      17. org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:68)
      18. org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:412)
      19. org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:380)
      20. org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:270)
      21. org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:380)
      22. org.apache.camel.impl.ProducerCache.send(ProducerCache.java:221)
      23. org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:124)
      24. org.apache.camel.impl.DefaultProducerTemplate.sendBodyAndHeaders(DefaultProducerTemplate.java:233)
      25. org.apache.camel.impl.DefaultProducerTemplate.sendBodyAndHeaders(DefaultProducerTemplate.java:379)
      25 frames
    6. ru.yandex.qatools
      MongodbClientSendersProvider.lambda$null$10
      1. ru.yandex.qatools.camelot.util.ServiceUtil$3.produce(ServiceUtil.java:184)
      2. ru.yandex.qatools.camelot.mongodb.MongodbClientSendersProvider.lambda$null$10(MongodbClientSendersProvider.java:101)
      2 frames
    7. ru.qatools.mongodb
      MongoTailableQueue.lambda$poll$4
      1. ru.qatools.mongodb.MongoTailableQueue.lambda$poll$4(MongoTailableQueue.java:82)
      1 frame
    8. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.Iterator.forEachRemaining(Iterator.java:116)
      2. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      3. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      3 frames
    9. ru.qatools.mongodb
      MongoTailableQueue.poll
      1. ru.qatools.mongodb.MongoTailableQueue.poll(MongoTailableQueue.java:82)
      1 frame
    10. ru.yandex.qatools
      MongodbClientSendersProvider.lambda$initPoller$11
      1. ru.yandex.qatools.camelot.mongodb.MongodbClientSendersProvider.lambda$initPoller$11(MongodbClientSendersProvider.java:101)
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames