Home > Unable To > Error Occurred While Retrieving Gadget Spec

Error Occurred While Retrieving Gadget Spec

Contents

Show 1 more links (1 mentioned in) Activity People Assignee: Oswaldo Hernandez [Atlassian] Reporter: Chin Kim Loong Votes: 8 Vote for this issue Watchers: 13 Start watching this issue Dates Created: Reproduce steps: 1) Deploy pure EPP 5.0.0 and visit the portal under "/portal/". It wasn't accurate It wasn't clear It wasn't relevant Submit feedback Cancel Have a question about this article? Yes No Thanks for your feedback!

Make sure that your OS, database, Java version, web browser, and application server are supported. Right after the first login the System Dashboard shows the following "Gadget Error":Error loading gadget from rest/gadgets/1.0/g/com.atlassian.studio.theme.jira:admin-gadget/com/atlassian/studio/jira/gadgets/admin-gadget.xml: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. Test if the domain name of proxy server can be detected on JIRA application server; for example wget https://support.atlassian.com:443/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:assigned-to-me-gadget/gadgets/assigned-to-me-gadget.xml If the proxy's domain can't be detected on JIRA application server, adjust Local Gadget can be added and displayed finely. 2.b) While visit the portal under "/ecmdemo/". check here

Error Occurred While Retrieving Gadget Spec

The JIRA Home directory should be different than the installation directory, or where the webapp is deployed. HTTP error 504 at com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl.getGadgetSpec(GadgetSpecFactoryImpl.java:169) at com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl.getGadgetSpec(GadgetSpecFactoryImpl.java:86) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at See questions about this article Powered by Confluence and Scroll Viewport Atlassian Support Ask the community Provide product feedback Contact technical support Atlassian Privacy Policy Terms of use Security Copyright ©

I will mark this issue as resolved with resolution is cannot reproduce. Resolution Shutdown JIRA Remove the content within the following directory: /caches/indexes/ /plugins/.bundled-plugins/ /plugins/.osgi-plugins/ /work/ Start JIRA again Re-index your JIRA instance Other Causes and Solutions An incompatible plugin in JIRA causes Report a bug Atlassian News Atlassian Linked ApplicationsLoading… DashboardsProjectsIssuesAgileCaptureGetting started Help Online Help JIRA Agile Help Keyboard Shortcuts About JIRA JIRA Credits Log In Export Tools eXo ECMSECMS-1656"Unable to retrieve gadget Jira Gadgets Thank you very much.

Linked ApplicationsLoading…DashboardsProjectsIssuesCaptureGetting Started Give feedback to Atlassian Help JIRA Core help Keyboard Shortcuts About JIRA JIRA Credits Log In JIRA (including JIRA Core)JRA-35223Get exception Unable to retrieve gadget xml. Unable To Retrieve Gadget Xml. Http Error 500 Hide Permalink Minh Dang (Inactive) added a comment - 10/Nov/10 5:32 AM We cannot reproduce this problem in current version of WCM. It wasn't accurate It wasn't clear It wasn't relevant Submit feedback Cancel Have a question about this article? https://jira.atlassian.com/browse/JRA-35223 If nothing above helps, Please make a backup of your database and then try the workaround from this bug : JSW-9991 - JIRA Agile hangs on installation Resolved Was this helpful?

Cause JIRA Gadgets use the extensible REST Plugin Module framework, which provides access to resources via URI paths. Report a bug Atlassian News Atlassian Atlassian Documentation  Log in Confluence Knowledge Base Unable to Register External Gadgets Due to Invalid gadget URL or 500 Error Response Symptoms When trying HTTP error 504 at com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider.validateGadgetSpec(ConfigurableExternalGadgetSpecDirectoryEntryProvider.java:140) at com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider.access$100(ConfigurableExternalGadgetSpecDirectoryEntryProvider.java:32) at com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider$1.doInTransaction(ConfigurableExternalGadgetSpecDirectoryEntryProvider.java:77) at com.atlassian.sal.co re.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy98.doInTransaction(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy98.doInTransaction(Unknown Local Gadget can be added and displayed finely. 2) Deploy exo-wcm-2.0.0-tech-preview-for-epp-5.0.0.GA.zip following the guide. 2.a) While visit the portal under "/porta/".

Unable To Retrieve Gadget Xml. Http Error 500

You have JIRA Mobile plugin (com.atlassian.mobile.jira-mobile) installed in JIRA. https://answers.atlassian.com/questions/74323/org-apache-shindig-gadgets-gadgetexception-unable-to-retrieve-gadget-xml-http-error-500 Was this helpful? Error Occurred While Retrieving Gadget Spec HTTP error 40410-1NWIMar 19, 2014I ordered JIRA Agile OnDemand. Jira This Gadget Cannot Be Displayed On Your Dashboard Why was this unhelpful?

Restart Confluence and JIRA. If updating some configuration could solve the problem, maybe we could fix the issue in our WCM2.0.0-tp version. See questions about this article Powered by Confluence and Scroll Viewport Atlassian Support Ask the community Provide product feedback Contact technical support Atlassian Privacy Policy Terms of use Security Copyright © E.G: The plugin is working but when i add any of this components: Obviously changing the class for the components i use, the gadgets that previously worked fine, now have dissapeared Jira Not All Gadgets Have Loaded

The local gadget is created by Application Registry->Gadget->Create a new gadget. HTTP error 500 -- url: /admin/addgadget.action | userName: aj | referer: http://confluence-URL/admin/addgadget.action | action: addgadget Around the same time, the following appears in theatlassian-jira.logJIRA log: 2012-10-02 08:01:03,381 http-8080-11 ERROR [500ErrorPage.jsp] Exception Cause 4 The problem is caused to outdated indexes/corrupted work directory. Edit /conf/server.xml (Standalone), or /conf/server.xml for Ear-War deployment.

Page Loading... I've also tested the "sample-portal" shipped by JBoss EPP 5.0 I don't see the same issue regarding to the local gadget. Why was this unhelpful?

HTTP error 50010-1AndrewAug 02, 2012 In My DashBoard´╝îit appear this notice: Error loading gadget from rest/gadgets/1.0/g/com.atlassian.jira.ext.calendar:issuescalendar-gadget/templates/plugins/jira/portlets/calendar/gadget/calendar-gadget.xml: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml.

Because we now using WCM2.0.0-tp, and can not update it to WCM2.1.x for project reason for this moment. HTTP error 404" is received when access local gadget created from the Portlet UI in ecmdemoAgile Board ExportXMLWordPrintable Details Type: Bug Status: Closed (View Workflow) Priority: Minor Resolution: Cannot Reproduce Affects People Assignee: Le Thanh Hai (Inactive) Reporter: Gary Hu Votes: 0 Vote for this issue Watchers: 0 Start watching this issue Dates Created: 27/Oct/10 2:49 PM Updated: 13/Apr/11 8:52 AM Resolved: Error loading gadget from rest/gadgets/1.0/g/jira-timesheet-plugin:timesheet-gadget/gadget.xml: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml.

This problem comes from a wrong parser. If we tried the URL of http://:/ecmdemo/rest-ecmdemo/jcr/repository/portal-system/production/app:gadgets/app:helloworld/app:data/app:resources/helloworld.xml , the Gadget xml could be visited. HTTP error 504 at org.apache.shindig.gadgets.DefaultGadgetSpecFactory.fetchObjectAndCache(DefaultGadgetSpecFactory.java:127) at org.apache.shindig.gadgets.DefaultGadgetSpecFactory.getGadgetSpec(DefaultGadgetSpecFactory.java:90) at com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory.getGadgetSpec(LocalGadgetSpecFactory.java:82) at com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory.getGadgetSpec(LocalGadgetSpecFactory.java:64) at com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl.getGadgetSpec(GadgetSpecFactoryImpl.java:140) Steps to reproduce the problem Setup 2 JIRA instances Turn on "Use gzip compression" setting in first JIRA So, if you cannot upgrade to newer version of WCM then could you try to remove pull-parser-2.jar inside gatein-ecmdemo-extension-2.0.0-GA.ear\lib and try again?

If updating some configuration could solve the problem, maybe we could fix the issue in our WCM2.0.0-tp version. See questions about this article Powered by Confluence and Scroll Viewport Atlassian Support Ask the community Provide product feedback Contact technical support Atlassian Privacy Policy Terms of use Security Copyright © You will need a .p7b and .jks file: keytool -import -trustcacerts -alias server -file .p7b -keystore .jks Add the following line to iptables: iptables -t nat -A OUTPUT -p tcp -d JIRA or GreenHopper gadget): 2012-10-02 08:01:03,432 WARN [http-8090-6] [gadgets.renderer.internal.GadgetSpecFactoryImpl] getGadgetSpec Error occurred while retrieving gadget spec for http://jira-URL/rest/gadgets/1.0/g/com.pyxis.greenhopper.jira:greenhopper-gadget-project-dashboard/gadgets/greenhopper-project-dashboard.xml -- url: /admin/addgadget.action | userName: aj | referer: http://confluence-URL/admin/addgadget.action | action: addgadget 2012-10-02

Try JIRA - bug tracking software for your team.