-
Bug
-
Resolution: Fixed
-
High
-
8.9.5, 8.5.14
-
2
-
Severity 3 - Minor
-
9
-
Summary
Clicking on the "Saved for Later" option in the Profile dropdown leads to errors if there are any pages that are marked as Favourites using "Save for Later" option
When no page is marked as favourite
Reproduction Steps
- Install Confluence version 8.5.14
- Create a Page
- Mark it as Favourites ("Save for Later")
- Now click on Profiles and click "Saved for Later"
Issue can be replicated for both Java 11 and Java 17
Actual Result
Error in the Logs
2024-09-10 07:57:02,427 INFO [http-nio-8090-exec-23 url: /confluence/500page.jsp; user: admin] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog \nRequest Unique ID : f01002c5-49c9-4e5f-bb40-0aeddd48d12d\n--------- -----------------\nJVM Stats\n--------------------------\nxmx = 2147483648\nusedNonHeap = 618595448\navailableHeap = 1404665856\navailableNonHeap = -1\nallocatedHeap = 2147483648\nfreeAllocatedHeap = 1404665856\nmaxNonHeap = -1\navail ablePermGen = 0\nmaxPermGen = -1\nmaxHeap = 2147483648\nusedHeap = 742817792\nusedPermGen = -1\nxms = 2147483648\n--------------------------\nRequest Information\n--------------------------\nURL: https://linux-80343.prod.atl-cd.net/co nfluence/500page.jsp\nScheme: https\nServer: linux-80343.prod.atl-cd.net\nPort: 443\nURI: /confluence/500page.jsp\nContext Path: /confluence\nServlet Path: /500page.jsp\nPath Info: null\nQuery String: null\n--------------------------\ nAttributes\n--------------------------\njavax.servlet.forward.request_uri: /confluence/users/viewmyfavourites.action\njavax.servlet.forward.context_path: /confluence\njavax.servlet.forward.servlet_path: /users/viewmyfavourites.action \njavax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@74aa8e3f\n__prepare_recursion_counter: 1\nstruts.actionMapping: noActionMapping\njavax.servlet.error.status_code: 500\nbrave.SpanCustomizer: Span Customizer(RealSpan(a6797bc3bb7a4e7d/a6797bc3bb7a4e7d))\ncom.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@163768d\norg.apache.struts2.dispatcher.filter.StrutsPrepareFil ter.REQUEST_EXCLUDED_FROM_ACTION_MAPPING: false\ncom.opensymphony.sitemesh.APPLIED_ONCE: true\natlas.webInterfaceContext: com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext@7ed0a765\ncom.atlassian.confluence.uti l.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: /500p age.jsp\ncom.atlassian.labs.botkiller.BotKillerFilter: true\ncom.atlassian.gzipfilter.GzipFilter_already_filtered: true\nConfluence-Request-Time: 1725955022404\nstruts.valueStack: com.opensymphony.xwork2.ognl.OgnlValueStack@70102243\n com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true\ncom.atlassian.seraph.auth.LoginReason: OK\nsitemesh.secondaryStorageLimit: -1\nconfluence.messages: {websudo-message=com.atlassian.confluence.security.websud o.WebSudoMessage@506b9108}\nconfluence.themecontext: com.atlassian.confluence.themes.ThemeContext@4aa65296\njavax.servlet.error.message: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerEx ception: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78]\njavax.servlet.error.servlet_name: default\nbrave.propagation.TraceContext: a6797bc3bb7a4e7d/a6797bc3bb7a4e7d \nbrave.servlet.TracingFilter$SendHandled: true\ncom.opensymphony.sitemesh.USINGSTREAM: false\nB3-TraceId: 1fa6e984efcc89\nloginfilter.already.filtered: true\njavax.servlet.jsp.jspException: org.apache.velocity.exception.MethodInvocat ionException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78 ]\njavax.servlet.error.request_uri: /confluence/users/viewmyfavourites.action\ncom.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true\ncom.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true\njavax.servle t.error.exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" becau se \"ts\" is null at /users/myfavourites.vm[line 34, column 78]\nos_securityfilter_already_filtered: true\ncom.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true\n--------------------------\nParameters\n----------------------- ---\ncaused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78]\nat org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342)\ncaused by: java.lang.NullPointerException: Cannot invoke \"java.sql.Time stamp.getTime()\" because \"ts\" is null\nat java.sql/java.sql.Timestamp.compareTo(Timestamp.java:427)\n 2024-09-10 07:57:02,427 ERROR [http-nio-8090-exec-23 url: /confluence/500page.jsp; user: admin] [atlassian.confluence.status.SystemErrorInformationLogger] logException Unhandled exception f01002c5-49c9-4e5f-bb40-0aeddd48d12d: Invocati on of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78] -- traceId: a6797bc3bb7a4e7d org.apache.velocity.exception.MethodInvocationException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke "java.sql.Timestamp.getTime()" because "ts" is null at /u sers/myfavourites.vm[line 34, column 78] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
- is related to
-
CONFSERVER-94126 When a user checks the "Save for Later" Tab under Profiles and has pages created by other users marked as favourite, StackOverflowError is encountered
-
- Closed
-
- mentioned in
-
Page Failed to load
Clicking on the "Saved for Later" option under profiles , leads to system error
-
Bug
-
Resolution: Fixed
-
High
-
8.9.5, 8.5.14
-
2
-
Severity 3 - Minor
-
9
-
Summary
Clicking on the "Saved for Later" option in the Profile dropdown leads to errors if there are any pages that are marked as Favourites using "Save for Later" option
When no page is marked as favourite
Reproduction Steps
- Install Confluence version 8.5.14
- Create a Page
- Mark it as Favourites ("Save for Later")
- Now click on Profiles and click "Saved for Later"
Issue can be replicated for both Java 11 and Java 17
Actual Result
Error in the Logs
2024-09-10 07:57:02,427 INFO [http-nio-8090-exec-23 url: /confluence/500page.jsp; user: admin] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog \nRequest Unique ID : f01002c5-49c9-4e5f-bb40-0aeddd48d12d\n--------- -----------------\nJVM Stats\n--------------------------\nxmx = 2147483648\nusedNonHeap = 618595448\navailableHeap = 1404665856\navailableNonHeap = -1\nallocatedHeap = 2147483648\nfreeAllocatedHeap = 1404665856\nmaxNonHeap = -1\navail ablePermGen = 0\nmaxPermGen = -1\nmaxHeap = 2147483648\nusedHeap = 742817792\nusedPermGen = -1\nxms = 2147483648\n--------------------------\nRequest Information\n--------------------------\nURL: https://linux-80343.prod.atl-cd.net/co nfluence/500page.jsp\nScheme: https\nServer: linux-80343.prod.atl-cd.net\nPort: 443\nURI: /confluence/500page.jsp\nContext Path: /confluence\nServlet Path: /500page.jsp\nPath Info: null\nQuery String: null\n--------------------------\ nAttributes\n--------------------------\njavax.servlet.forward.request_uri: /confluence/users/viewmyfavourites.action\njavax.servlet.forward.context_path: /confluence\njavax.servlet.forward.servlet_path: /users/viewmyfavourites.action \njavax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@74aa8e3f\n__prepare_recursion_counter: 1\nstruts.actionMapping: noActionMapping\njavax.servlet.error.status_code: 500\nbrave.SpanCustomizer: Span Customizer(RealSpan(a6797bc3bb7a4e7d/a6797bc3bb7a4e7d))\ncom.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@163768d\norg.apache.struts2.dispatcher.filter.StrutsPrepareFil ter.REQUEST_EXCLUDED_FROM_ACTION_MAPPING: false\ncom.opensymphony.sitemesh.APPLIED_ONCE: true\natlas.webInterfaceContext: com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext@7ed0a765\ncom.atlassian.confluence.uti l.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: /500p age.jsp\ncom.atlassian.labs.botkiller.BotKillerFilter: true\ncom.atlassian.gzipfilter.GzipFilter_already_filtered: true\nConfluence-Request-Time: 1725955022404\nstruts.valueStack: com.opensymphony.xwork2.ognl.OgnlValueStack@70102243\n com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true\ncom.atlassian.seraph.auth.LoginReason: OK\nsitemesh.secondaryStorageLimit: -1\nconfluence.messages: {websudo-message=com.atlassian.confluence.security.websud o.WebSudoMessage@506b9108}\nconfluence.themecontext: com.atlassian.confluence.themes.ThemeContext@4aa65296\njavax.servlet.error.message: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerEx ception: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78]\njavax.servlet.error.servlet_name: default\nbrave.propagation.TraceContext: a6797bc3bb7a4e7d/a6797bc3bb7a4e7d \nbrave.servlet.TracingFilter$SendHandled: true\ncom.opensymphony.sitemesh.USINGSTREAM: false\nB3-TraceId: 1fa6e984efcc89\nloginfilter.already.filtered: true\njavax.servlet.jsp.jspException: org.apache.velocity.exception.MethodInvocat ionException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78 ]\njavax.servlet.error.request_uri: /confluence/users/viewmyfavourites.action\ncom.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true\ncom.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true\njavax.servle t.error.exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" becau se \"ts\" is null at /users/myfavourites.vm[line 34, column 78]\nos_securityfilter_already_filtered: true\ncom.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true\n--------------------------\nParameters\n----------------------- ---\ncaused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78]\nat org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342)\ncaused by: java.lang.NullPointerException: Cannot invoke \"java.sql.Time stamp.getTime()\" because \"ts\" is null\nat java.sql/java.sql.Timestamp.compareTo(Timestamp.java:427)\n 2024-09-10 07:57:02,427 ERROR [http-nio-8090-exec-23 url: /confluence/500page.jsp; user: admin] [atlassian.confluence.status.SystemErrorInformationLogger] logException Unhandled exception f01002c5-49c9-4e5f-bb40-0aeddd48d12d: Invocati on of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke \"java.sql.Timestamp.getTime()\" because \"ts\" is null at /users/myfavourites.vm[line 34, column 78] -- traceId: a6797bc3bb7a4e7d org.apache.velocity.exception.MethodInvocationException: Invocation of method 'after' in class java.sql.Timestamp threw exception java.lang.NullPointerException: Cannot invoke "java.sql.Timestamp.getTime()" because "ts" is null at /u sers/myfavourites.vm[line 34, column 78] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
- is related to
-
CONFSERVER-94126 When a user checks the "Save for Later" Tab under Profiles and has pages created by other users marked as favourite, StackOverflowError is encountered
-
- Closed
-
- mentioned in
-
Page Loading...