Details
-
Bug
-
Resolution: Fixed
-
Low
-
8.2.2
-
None
-
2
-
Severity 3 - Minor
-
Description
Issue Summary
Creating a Task list without label results in 500 internal server error in the Logs
This is reproducible on Data Center: Yes
Steps to Reproduce
- Install Confluence 8.2.2
- Turn ON Collaborative editting
- Create a New Page
- Publish the page
- Add a Task box and Label it
- Check the Box
- Now create another Task box and don't enter the label
- Click on Save
Expected Results
The Page should be saved without any error
Actual Results
"Unable to communicate with server. Saving is not possible at the moment." observed while saving the page
The below exception is thrown in the atlassian-confluence.log file:
2023-07-18 05:53:17,901 WARN [http-nio-8090-exec-2 url: /rest/api/content/1671169; user: admin] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:\n ->[com.atlassian.confluence.api.impl.service.content.draft.ContentDraftServiceImpl.publishEditDraft]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #2059 710776)\n [null]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #1858139542) -- url: /rest/api/content/1671169 | userName: admin | referer: https://instenv-129861-tcve.instenv.internal.atlassian.com/pages/resumedraft.action?draftId=1671170&draftShareId=21b61c f9-08e2-4c53-9fa9-b7594c4462b4& | traceId: d7380a57399bba4a 2023-07-18 05:53:17,904 ERROR [http-nio-8090-exec-2 url: /rest/api/content/1671169; user: admin] [rest.api.model.ExceptionConverter] convertServiceException No status code found for e xception, converting to internal server error : -- url: /rest/api/content/1671169 | userName: admin | referer: https://instenv-129861-tcve.instenv.internal.atlassian.com/pages/resumedraft.action?draftId=1671170&draftShareId=21b61c f9-08e2-4c53-9fa9-b7594c4462b4& | traceId: d7380a57399bba4a org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
Caused by: java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </xml>; expected </ac:task>. at [row,col {unknown-source}]: [12,15] at org.codehaus.stax2.ri.evt.Stax2FilteredEventReader.hasNext(Stax2FilteredEventReader.java:60) at com.atlassian.confluence.content.render.xhtml.XmlFragmentEventReader.hasNext(XmlFragmentEventReader.java:42) at com.atlassian.confluence.content.render.xhtml.XmlFragmentBodyEventReader.hasNext(XmlFragmentBodyEventReader.java:36) at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:105) at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:108) at jdk.internal.reflect.GeneratedMethodAccessor1391.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at com.atlassian.confluence.util.profiling.ConfluenceMonitoringMethodInterceptor.invoke(ConfluenceMonitoringMethodInterceptor.java:36) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy477.updateOutgoingLinks(Unknown Source) at com.atlassian.confluence.impl.content.DefaultContentEntityManager.lambda$updateOutgoingLinks$2(DefaultContentEntityManager.java:296) at com.atlassian.confluence.impl.content.links.LinkManagerEventListener.onLinkManagerEvent(LinkManagerEventListener.java:36) at jdk.internal.reflect.GeneratedMethodAccessor1390.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42) ... 435 more Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </xml>; expected </ac:task>. at [row,col {unknown-source}]: [12,15] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:634) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:504) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:488) at com.ctc.wstx.sr.BasicStreamReader.reportWrongEndPrefix(BasicStreamReader.java:3356) at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3273) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2920) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1122) at com.ctc.wstx.evt.WstxEventReader.peek(WstxEventReader.java:392) at org.codehaus.stax2.ri.evt.Stax2FilteredEventReader.peek(Stax2FilteredEventReader.java:107) at org.codehaus.stax2.ri.evt.Stax2FilteredEventReader.hasNext(Stax2FilteredEventReader.java:58)
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available