[TIME-278] Error display in Timesheet gadget after upgrade to 2.3.6 from 2.3.5 - The resource /rest/timesheet-gadget/1.0/timesheet.json, cannot be found.

Issue #278 resolved
Andriy Zhdanov created an issue

This is the log message

2012-08-30 14:47:49,837 http-9081-14 ERROR jgordon 887x1265x6 kntrmo 192.168.51.176 /rest/timesheet-gadget/1.0/timesheet.json atlassian.plugin.servlet.DefaultServl etModuleManager Unable to create filter

Caused by: java.lang.IllegalStateException: Cannot autowire object because the Spring context is unavailable. Ensure your OSGi bundle contains the 'Spring-Context' header.
at com.atlassian.plugin.osgi.factory.OsgiPluginInstalledHelper.assertSpringContextAvailable(OsgiPluginInstalledHelper.java:217)
at com.atlassian.plugin.osgi.factory.OsgiPluginInstalledHelper.autowire(OsgiPluginInstalledHelper.java:118)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.autowire(OsgiPlugin.java:331)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.autowire(OsgiPlugin.java:321)
at com.atlassian.plugins.rest.module.OsgiComponentProviderFactory$AutowiredOsgiComponentProvider.getInstance(OsgiComponentProviderFactory.java:100)
at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory$SingletonWrapper.<init>(IoCProviderFactory.java:121)
at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory.wrap(IoCProviderFactory.java:94)
at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory._getComponentProvider(IoCProviderFactory.java:87)
at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvider(ProviderFactory.java:146)
at com.sun.jersey.core.spi.component.ProviderServices.getComponent(ProviderServices.java:185)
at com.sun.jersey.core.spi.component.ProviderServices.getProviders(ProviderServices.java:95)
at com.sun.jersey.server.impl.application.ExceptionMapperFactory.<init>(ExceptionMapperFactory.java:67)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:515)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.initiate(RestDelegatingServletFilter.java:177)
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:449)
at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:169)
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:599)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.initServletContainer(RestDelegatingServletFilter.java:96)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.init(RestDelegatingServletFilter.java:61)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.init(DelegatingPluginFilter.java:43)
at com.atlassian.plugin.servlet.DefaultServletModuleManager$LazyLoadedFilterReference.create(DefaultServletModuleManager.java:442)
at com.atlassian.plugin.servlet.DefaultServletModuleManager$LazyLoadedFilterReference.create(DefaultServletModuleManager.java:427)
at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)
... 113 more

By jamiegordon/Jamie Gordon on Thu, 30 Aug 2012 14:52:31 -0700

Comments (4)

  1. Andriy Zhdanov reporter

    Plugin working well on version 2.3.5. Existing 'DEPRICATED' gadgets as well as newly created gadgets exhibit the problem in both https and http.

    Reverting to 2.3.5 fixes the problem.

    By jamiegordon on Thu, 30 Aug 2012 14:54:52 -0700

  2. Andriy Zhdanov reporter

    It appears build for Jira 5.1 is backward incompatible with Jira 5.0. So I rebuilt it for 5.0. It used to be compatible with 5.1 also.

    Please try again to update or install plugin 2.3.6.

    Committed revision 169472: build against 5.0 for compatibility

    By azhdanov on Fri, 31 Aug 2012 02:33:44 -0700

  3. Log in to comment