Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
6.1.0, 6.2.3, 6.13.4
-
9
-
Severity 2 - Major
-
1
-
Description
Summary
Four Crucible gadgets are not working in Confluence. You can find them in the Macro Browser and also configure the gadgets. However, after clicking on the "Insert" button, nothing happens and you are not able to save/update the page anymore.
Environment
- Confluence 6.2.3
- FeCru 4.4.2
Steps to Reproduce
- Create an AppLink between FeCru.
- Register an External Feed in Confluence:
FeCru feed url
http://gviana:8060/rest/gadgets/1.0/g/feed
- Clear the plugins cache to ensure that no corrupted cache will cause the problem.
- Open the macro browser and select one of the following gadgets:
- Hassle Review Blockers
- Overdue Reviews
- Review Inbox
- Review Coverage
Expected Results
Confluence will render the gadgets properly as how it happens with JIRA.
Actual Results
Nothing happens and the following is logged in atlassian-confluence.log
2017-08-22 14:52:07,376 ERROR [http-nio-8093-exec-7] [[Standalone].[localhost].[/confluence].[servlet-module-container-servlet]] log Servlet.service() for servlet servlet-module-container-servlet threw exception -- referer: http://gviana:8093/confluence/pages/editpage.action?useDraft=true&spaceKey=TES&draftId=327700&pageId=327683&& | url: /confluence/s/7/_/plugins/servlet/gadgets/placeholder | traceId: c3130659bd3b9ac4 | userName: admin java.lang.NullPointerException at com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService.newHttpClient(HttpClientHttpRetrievalService.java:149) at com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService.get(HttpClientHttpRetrievalService.java:45) at com.atlassian.confluence.util.http.BaseHttpRetrievalService.get(BaseHttpRetrievalService.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Request Information -------------------------- URL: http://gviana:8093/confluence/500page.jsp Scheme: http Server: gviana Port: 8093 URI: /confluence/500page.jsp Context Path: /confluence Servlet Path: /500page.jsp Path Info: null Query String: gadgetId=aHR0cDovL2d2aWFuYTo4MDYwL3Jlc3QvZ2FkZ2V0cy8xLjAvZy9jb20uYXRsYXNzaWFuLmNydWNpYmxlLnBsdWdpbnMucmV2aWV3LWNvdmVyYWdlLXJlcG9ydDpyZWNlbnQtY2hhbmdlc2V0cy9nYWRnZXQvcmVjZW50LWNoYW5nZXNldHMueG1s -------------------------- Attributes -------------------------- javax.servlet.forward.request_uri: /confluence/s/7/_/plugins/servlet/gadgets/placeholder javax.servlet.forward.context_path: /confluence javax.servlet.forward.servlet_path: /s javax.servlet.forward.path_info: /7/_/plugins/servlet/gadgets/placeholder javax.servlet.forward.query_string: gadgetId=aHR0cDovL2d2aWFuYTo4MDYwL3Jlc3QvZ2FkZ2V0cy8xLjAvZy9jb20uYXRsYXNzaWFuLmNydWNpYmxlLnBsdWdpbnMucmV2aWV3LWNvdmVyYWdlLXJlcG9ydDpyZWNlbnQtY2hhbmdlc2V0cy9nYWRnZXQvcmVjZW50LWNoYW5nZXNldHMueG1s javax.servlet.error.status_code: 500 _statichash: 7 com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@399161df com.opensymphony.sitemesh.APPLIED_ONCE: true __cleanup_recursion_counter: 0 javax.servlet.error.message: javax.servlet.error.servlet_name: noop com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true atlassian.core.seraph.original.url: /500page.jsp?gadgetId=aHR0cDovL2d2aWFuYTo4MDYwL3Jlc3QvZ2FkZ2V0cy8xLjAvZy9jb20uYXRsYXNzaWFuLmNydWNpYmxlLnBsdWdpbnMucmV2aWV3LWNvdmVyYWdlLXJlcG9ydDpyZWNlbnQtY2hhbmdlc2V0cy9nYWRnZXQvcmVjZW50LWNoYW5nZXNldHMueG1s com.atlassian.labs.botkiller.BotKillerFilter: true com.atlassian.gzipfilter.GzipFilter_already_filtered: true Confluence-Request-Time: 1503424327306 loginfilter.already.filtered: true javax.servlet.error.request_uri: /confluence/s/7/_/plugins/servlet/gadgets/placeholder com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true javax.servlet.error.exception: java.lang.NullPointerException os_securityfilter_already_filtered: true com.atlassian.seraph.auth.LoginReason: OK com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true -------------------------- Parameters -------------------------- gadgetId : aHR0cDovL2d2aWFuYTo4MDYwL3Jlc3QvZ2FkZ2V0cy8xLjAvZy9jb20uYXRsYXNzaWFuLmNydWNpYmxlLnBsdWdpbnMucmV2aWV3LWNvdmVyYWdlLXJlcG9ydDpyZWNlbnQtY2hhbmdlc2V0cy9nYWRnZXQvcmVjZW50LWNoYW5nZXNldHMueG1s caused by: java.lang.NullPointerException at com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService.newHttpClient(HttpClientHttpRetrievalService.java:149)
The inspect will throw a 500 HTTP error:
Request URL:http://gviana:8093/confluence/s/6/_/plugins/servlet/gadgets/placeholder?gadgetId=aHR0cDovL2d2aWFuYTo4MDYwL3Jlc3QvZ2FkZ2V0cy8xLjAvZy9jb20uYXRsYXNzaWFuLmZlY3J1LmZlY3J1LWdhZGdldHMtcGx1Z2luOmhhc3NsZS9nYWRnZXRzL2hhc3NsZS54bWw Request Method:GET Status Code:500 Internal Server Error Remote Address:127.0.0.1:8093 Referrer Policy:no-referrer-when-downgrade Response Headers view source Cache-Control:public Cache-Control:max-age=31536000 Connection:close Content-Type:text/html;charset=UTF-8 Date:Tue, 22 Aug 2017 17:42:10 GMT Expires:Wed, 22 Aug 2018 17:42:10 GMT Server:Apache-Coyote/1.1 Transfer-Encoding:chunked X-Accel-Buffering:no X-AUSERNAME:admin X-Confluence-Request-Time:1503423730308 X-Seraph-LoginReason:OK Request Headers view source Accept:image/webp,image/apng,image/*,*/*;q=0.8 Accept-Encoding:gzip, deflate Accept-Language:en-US,en;q=0.8 Connection:keep-alive Cookie:seraph.confluence=360449%3A41bfe7898e827482df293ab75eeb8ca48a0e1c11; JSESSIONID=9FEBAB0039A9B4A881BD2E09E2E817D3; FESESSIONID=1tpay3uau8iql106jixs74x26h; atl.xsrf.token.slash=176bce825ea44e107ec9f028f0aca08b1486d534; remember=admin2:1:cab196d32f9b80b17a53396fc99ed98a; crucibleprefs1="D%3D1503422674005" Host:gviana:8093 Referer:http://gviana:8093/confluence/pages/editpage.action?useDraft=true&spaceKey=TES&draftId=327700&pageId=327683&& User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 Query String Parameters view source view URL encoded gadgetId:aHR0cDovL2d2aWFuYTo4MDYwL3Jlc3QvZ2FkZ2V0cy8xLjAvZy9jb20uYXRsYXNzaWFuLmZlY3J1LmZlY3J1LWdhZGdldHMtcGx1Z2luOmhhc3NsZS9nYWRnZXRzL2hhc3NsZS54bWw
Notes
- JIRA is able to render those 4 mentioned gadgets, although you need to add them manually in JIRA.
- Using JIRA Feed URL won't bring those 4 mentioned gadgets, so you need to manually register a feed in Confluence.
Workaround
No workarounds so far.
Attachments
Issue Links
- mentioned in
-
Page Loading...