-
Bug
-
Resolution: Fixed
-
High
-
8.9.0
-
1
-
Severity 2 - Major
-
1
-
Issue Summary
While on Confluence 8.9.0 with Confluence questions 4.6.3 when going into any space and clicking on questions on the sidebar, Confluence will throw an error: "Oops - an error has occurred"
This is reproducible on the Data Center: yes
Steps to Reproduce
- Confluence 8.9.0
- Download Confluence questions version 4.6.3
- Go into any space
- In the sidebar click on Questions
- The error will be thrown
Expected Results
Confluence should not throw any errors while using questions.
Actual Results
The below exception is thrown in the confluence.log file:
2024-04-19 15:27:25,975 INFO [http-nio-6890-exec-8 url: /c890/500page.jsp; user: admin] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog \nRequest Unique ID : 6e725311-9f41-4f79-be72-dd151512c4b1\n--------------------------\nJVM Stats\n--------------------------\nxmx = 1073741824\nusedNonHeap = 657616520\navailableHeap = 308734848\navailableNonHeap = -1\nallocatedHeap = 1073741824\nfreeAllocatedHeap = 308734848\nmaxNonHeap = -1\navailablePermGen = 0\nmaxPermGen = -1\nmaxHeap = 1073741824\nusedHeap = 765006976\nusedPermGen = -1\nxms = 1073741824\n--------------------------\nRequest Information\n--------------------------\nURL: http://localhost:6890/c890/500page.jsp\nScheme: http\nServer: localhost\nPort: 6890\nURI: /c890/500page.jsp\nContext Path: /c890\nServlet Path: /500page.jsp\nPath Info: null\nQuery String: null\n--------------------------\nAttributes\n--------------------------\njavax.servlet.forward.request_uri: /c890/cq/doaskquestion.action\njavax.servlet.forward.context_path: /c890\njavax.servlet.forward.servlet_path: /cq/doaskquestion.action\njavax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@4c21de3d\norg.apache.catalina.AccessLog.RemoteAddr: 0:0:0:0:0:0:0:1\n__prepare_recursion_counter: 1\nstruts.actionMapping: noActionMapping\njavax.servlet.error.status_code: 500\nbrave.SpanCustomizer: SpanCustomizer(RealSpan(63f1e1237cbd34d2/63f1e1237cbd34d2))\ncom.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@3894a75\norg.apache.struts2.dispatcher.filter.StrutsPrepareFilter.REQUEST_EXCLUDED_FROM_ACTION_MAPPING: false\ncom.opensymphony.sitemesh.APPLIED_ONCE: true\natlas.webInterfaceContext: com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext@431952d\ncom.atlassian.confluence.util.message.MessagesDecoratorFilter__already_filtered__: true\n__wrap_recursion_counter: 1\ncom.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true\natlassian.core.seraph.original.url: /500page.jsp\ncom.atlassian.labs.botkiller.BotKillerFilter: true\norg.apache.catalina.AccessLog.Protocol: HTTP/1.1\ncom.atlassian.gzipfilter.GzipFilter_already_filtered: true\nConfluence-Request-Time: 1713551245921\nstruts.valueStack: com.opensymphony.xwork2.ognl.OgnlValueStack@6a2f0338\ncom.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true\ncom.atlassian.seraph.auth.LoginReason: OK\nsitemesh.secondaryStorageLimit: -1\nconfluence.messages: {websudo-message=com.atlassian.confluence.security.websudo.WebSudoMessage@283df876}\norg.apache.catalina.AccessLog.ServerPort: 6890\njavax.servlet.error.message: Cannot invoke \"com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)\" because \"this.webInterfaceManager\" is null\njavax.servlet.error.servlet_name: default\norg.apache.tomcat.request.forwarded: true\nbrave.propagation.TraceContext: 63f1e1237cbd34d2/63f1e1237cbd34d2\nbrave.servlet.TracingFilter$SendHandled: true\norg.apache.tomcat.remoteAddr: 0:0:0:0:0:0:0:1\ncom.opensymphony.sitemesh.USINGSTREAM: false\norg.apache.catalina.AccessLog.ServerName: localhost\nB3-TraceId: b77f7a073522\nloginfilter.already.filtered: true\njavax.servlet.jsp.jspException: java.lang.NullPointerException: Cannot invoke \"com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)\" because \"this.webInterfaceManager\" is null\njavax.servlet.error.request_uri: /c890/cq/doaskquestion.action\ncom.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true\ncom.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true\norg.apache.catalina.AccessLog.RemoteHost: 0:0:0:0:0:0:0:1\njavax.servlet.error.exception: java.lang.NullPointerException: Cannot invoke \"com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)\" because \"this.webInterfaceManager\" is null\nos_securityfilter_already_filtered: true\ncom.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true\n--------------------------\nParameters\n--------------------------\nspaceKey : S3\ntitle : Vaultec? \nquestion-body-id : \nbody : <p>Where are everyone?</p>\ntopics : \ndraftId : 360471\natl_token : 6993ca2838df70a0dc467823d8d0d5a2e45a88bb\ncaused by: java.lang.NullPointerException: Cannot invoke \"com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)\" because \"this.webInterfaceManager\" is null\nat com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.buildLinkBrowserItems(QuestionActionSupport.java:228)\n 2024-04-19 15:27:25,976 ERROR [http-nio-6890-exec-8 url: /c890/500page.jsp; user: admin] [atlassian.confluence.status.SystemErrorInformationLogger] logException Unhandled exception 6e725311-9f41-4f79-be72-dd151512c4b1: Cannot invoke \"com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)\" because \"this.webInterfaceManager\" is null -- traceId: 63f1e1237cbd34d2java.lang.NullPointerException: Cannot invoke "com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)" because "this.webInterfaceManager" is null at com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.buildLinkBrowserItems(QuestionActionSupport.java:228) at com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.setSpaceContext(QuestionActionSupport.java:214) at com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.setSpace(QuestionActionSupport.java:198) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:41) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256) at com.atlassian.confluence.security.interceptors.ConfluenceAccessInterceptor.intercept(ConfluenceAccessInterceptor.java:32) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256) at com.atlassian.confluence.xwork.FlashScopeInterceptor.intercept(FlashScopeInterceptor.java:21) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:154) 2024-04-19 15:27:37,329 WARN [http-nio-6890-exec-10 url: /c890/display/S3/questions/all, /c890/cq/questions.action; user: admin] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:\n ->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1272397138) -- url: /c890/display/S3/questions/all | userName: admin | referer: http://localhost:6890/c890/display/S3/Shelter+32 | traceId: 347c53fbbe50f2b6 2024-04-19 15:27:37,331 ERROR [http-nio-6890-exec-10 url: /c890/display/S3/questions/all, /c890/cq/questions.action; user: admin] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: Cannot invoke \"com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)\" because \"this.webInterfaceManager\" is null -- url: /c890/display/S3/questions/all | userName: admin | referer: http://localhost:6890/c890/display/S3/Shelter+32 | traceId: 347c53fbbe50f2b6java.lang.NullPointerException: Cannot invoke "com.atlassian.plugin.web.WebInterfaceManager.getDisplayableItems(String, java.util.Map)" because "this.webInterfaceManager" is null at com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.buildLinkBrowserItems(QuestionActionSupport.java:228) at com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.setSpaceContext(QuestionActionSupport.java:214) at com.atlassian.confluence.plugins.questions.actions.QuestionActionSupport.setSpace(QuestionActionSupport.java:198) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:41) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:256) at com.atlassian.confluence.security.interceptors.ConfluenceAccessInterceptor.intercept(ConfluenceAccessInterceptor.java:32)
In the Confluence UI, the following error message is shown:
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available