Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-8360

Error commenting on snippet review

XMLWordPrintable

      Summary

      Commenting on a snippet review fails with the following error presented in the web interface:

      Steps to Reproduce

      1. Create a snippet review having any content
      2. Click on source lines to add a comment
      3. Type anything in the comment box and click "Post"

      Expected Results

      The comment should be posted.

      Actual Results

      The comment is not posted and the below exception is thrown in the atlassian-fisheye.log file:

      2018-11-27 16:43:03,697 DEBUG [qtp2017797638-211 ] fisheye ProfilingServletFilter-logRequest - start request POST /gwt/SnippetRPCService sessionid=on0io8ei3xdk1u8m8fwbwgz3n
      2018-11-27 16:43:03,701 DEBUG [qtp2017797638-211 ] com.atlassian.crowd.manager.application.ApplicationServiceGeneric ApplicationServiceGeneric-findUserByName - Located user 'fkraemer' in directory 1 'Internal Directory'
      2018-11-27 16:43:03,704 DEBUG [qtp2017797638-211 ] com.atlassian.crowd.manager.application.ApplicationServiceGeneric ApplicationServiceGeneric-findUserByName - Located user 'fkraemer' in directory 1 'Internal Directory'
      2018-11-27 16:43:03,708 DEBUG [qtp2017797638-211 ] fisheye TxHelperStylePlatformTransactionManager-rollback - Rolled back transaction started from:
      java.lang.Throwable: (Stack trace at transaction depth 0 start)
      	at com.cenqua.crucible.hibernate.SessionState.pushTxBeginStacktrace(SessionState.java:71) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.SessionState.beginTx(SessionState.java:61) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.HibernateUtil.beginTransaction(HibernateUtil.java:372) [fisheye.jar:?]
      	at com.atlassian.fecru.tx.TxHelperStylePlatformTransactionManager.getTransaction(TxHelperStylePlatformTransactionManager.java:34) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.TxHelper.beginTx(TxHelper.java:19) [fisheye.jar:?]
      	at com.atlassian.fecru.gwt.snippet.server.SnippetRPCServiceImpl.beginTx(SnippetRPCServiceImpl.java:92) [fisheye.jar:?]
      	at com.atlassian.fecru.gwt.snippet.server.SnippetRPCServiceImpl.createInlineComment(SnippetRPCServiceImpl.java:160) [fisheye.jar:?]
      	...
      2018-11-27 16:43:03,711 DEBUG [qtp2017797638-211 ] fisheye ProfilingServletFilter-logRequest - end request in 14ms POST /gwt/SnippetRPCService sessionid=on0io8ei3xdk1u8m8fwbwgz3n 200 mem=1.390MB
      

      Notes

      Probably related to the bug reported at CRUC-7410, because the error reported at CRUC-7410 happens after clicking on source lines to add a comment (which is the second step for replicating this bug here)

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

              Unassigned Unassigned
              fkraemer Felipe Kraemer
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: