java.lang.IllegalArgumentException: Item reviewer-join:9943:true:50:57 cannot consolidate reviewer-join:9943:false:50:19

Atlassian JIRA | Tom Davies [Atlassian] | 5 years ago
  1. 0

    Because the implementation of ReviewerJoinActivityItemList.KeyComparator.compare is inconsistent with ReviewerJoinActivityItemList.Key.equals, and exception can be thrown: {noformat} INFO | jvm 1 | 2012/02/20 12:52:57 | java.lang.IllegalArgumentException: Item reviewer-join:9943:true:50:57 cannot consolidate reviewer-join:9943:false:50:19 INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.ReviewerJoinActivityItem.consolidate(ReviewerJoinActivityItem.java:67) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.ReviewerJoinActivityItemList.add(ReviewerJoinActivityItemList.java:53) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.searchIndex(LuceneReviewerJoinActivityItemProvider.java:135) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.getMoreActivityItems(LuceneReviewerJoinActivityItemProvider.java:115) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.getMoreActivityItems(LuceneReviewerJoinActivityItemProvider.java:38) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItemsAndCoalesce(CoalescingActivityItemProviderBase.java:27) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItems(CoalescingActivityItemProviderBase.java:60) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.findActivityItems(LuceneReviewerJoinActivityItemProvider.java:63) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.fisheye.activity.DefaultActivityItemManager.findActivityItems(DefaultActivityItemManager.java:44) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.fisheye.activity.ActivityStreamHandler.handleActivityStream(ActivityStreamHandler.java:158) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.cenqua.fisheye.web.ProjectPageAction.getActivityHandler(ProjectPageAction.java:338) INFO | jvm 1 | 2012/02/20 12:52:57 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2012/02/20 12:52:57 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2012/02/20 12:52:57 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2012/02/20 12:52:57 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2012/02/20 12:52:57 | at javax.el.BeanELResolver.getValue(BeanELResolver.java:293) INFO | jvm 1 | 2012/02/20 12:52:57 | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.sun.el.parser.AstValue.getValue(AstValue.java:138) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jsp.WEB_002dINF.jsp.project_jsp._jspx_meth_c_set_0(project_jsp.java:215) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jsp.WEB_002dINF.jsp.project_jsp._jspService(project_jsp.java:163) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109){noformat} This exception is caught, so the impact is limited to the loss of Review Join Activity Items in that request. h4. Workaround # Run the following query - replace the {{review_ID}} with value found in the stack after {{review-join}}: {code:sql}SELECT * FROM CRU_LOGITEM WHERE CRU_REVIEW_ID=<review_ID> ORDER BY CRU_CREATE_DATE;{code} E.g. the value in stack above is 9943 from {{reviewer-join:9943}}: {code:sql}SELECT * FROM CRU_LOGITEM WHERE CRU_REVIEW_ID=9943 ORDER BY CRU_CREATE_DATE;{code} # Identify rows with the same value in the {{CRU_CREATE_DATE}} that have the same {{CRU_REVIEW_ID}}. # Stop Crucible. # Backup the database. # Add one second to all of the entries ({{CRU_LOGITEM_ID}}) that you identified in step #2, e.g. {code:sql}update CRU_LOGITEM set CRU_CREATE_DATE=CRU_CREATE_DATE+1000 where CRU_LOGITEM_ID=4578 and CRU_REVIEW_ID=219;{code}. # Start Crucible.

    Atlassian JIRA | 5 years ago | Tom Davies [Atlassian]
    java.lang.IllegalArgumentException: Item reviewer-join:9943:true:50:57 cannot consolidate reviewer-join:9943:false:50:19
  2. 0

    Because the implementation of ReviewerJoinActivityItemList.KeyComparator.compare is inconsistent with ReviewerJoinActivityItemList.Key.equals, and exception can be thrown: {noformat} INFO | jvm 1 | 2012/02/20 12:52:57 | java.lang.IllegalArgumentException: Item reviewer-join:9943:true:50:57 cannot consolidate reviewer-join:9943:false:50:19 INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.ReviewerJoinActivityItem.consolidate(ReviewerJoinActivityItem.java:67) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.ReviewerJoinActivityItemList.add(ReviewerJoinActivityItemList.java:53) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.searchIndex(LuceneReviewerJoinActivityItemProvider.java:135) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.getMoreActivityItems(LuceneReviewerJoinActivityItemProvider.java:115) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.getMoreActivityItems(LuceneReviewerJoinActivityItemProvider.java:38) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItemsAndCoalesce(CoalescingActivityItemProviderBase.java:27) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItems(CoalescingActivityItemProviderBase.java:60) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.findActivityItems(LuceneReviewerJoinActivityItemProvider.java:63) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.fisheye.activity.DefaultActivityItemManager.findActivityItems(DefaultActivityItemManager.java:44) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.atlassian.fisheye.activity.ActivityStreamHandler.handleActivityStream(ActivityStreamHandler.java:158) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.cenqua.fisheye.web.ProjectPageAction.getActivityHandler(ProjectPageAction.java:338) INFO | jvm 1 | 2012/02/20 12:52:57 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2012/02/20 12:52:57 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2012/02/20 12:52:57 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2012/02/20 12:52:57 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2012/02/20 12:52:57 | at javax.el.BeanELResolver.getValue(BeanELResolver.java:293) INFO | jvm 1 | 2012/02/20 12:52:57 | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.sun.el.parser.AstValue.getValue(AstValue.java:138) INFO | jvm 1 | 2012/02/20 12:52:57 | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jsp.WEB_002dINF.jsp.project_jsp._jspx_meth_c_set_0(project_jsp.java:215) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jsp.WEB_002dINF.jsp.project_jsp._jspService(project_jsp.java:163) INFO | jvm 1 | 2012/02/20 12:52:57 | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109){noformat} This exception is caught, so the impact is limited to the loss of Review Join Activity Items in that request. h4. Workaround # Run the following query - replace the {{review_ID}} with value found in the stack after {{review-join}}: {code:sql}SELECT * FROM CRU_LOGITEM WHERE CRU_REVIEW_ID=<review_ID> ORDER BY CRU_CREATE_DATE;{code} E.g. the value in stack above is 9943 from {{reviewer-join:9943}}: {code:sql}SELECT * FROM CRU_LOGITEM WHERE CRU_REVIEW_ID=9943 ORDER BY CRU_CREATE_DATE;{code} # Identify rows with the same value in the {{CRU_CREATE_DATE}} that have the same {{CRU_REVIEW_ID}}. # Stop Crucible. # Backup the database. # Add one second to all of the entries ({{CRU_LOGITEM_ID}}) that you identified in step #2, e.g. {code:sql}update CRU_LOGITEM set CRU_CREATE_DATE=CRU_CREATE_DATE+1000 where CRU_LOGITEM_ID=4578 and CRU_REVIEW_ID=219;{code}. # Start Crucible.

    Atlassian JIRA | 5 years ago | Tom Davies [Atlassian]
    java.lang.IllegalArgumentException: Item reviewer-join:9943:true:50:57 cannot consolidate reviewer-join:9943:false:50:19
  3. 0

    [JIRA] (COMETD-589) can't start demo

    Google Groups | 2 years ago | pksinghus (JIRA)
    java.lang.IllegalArgumentException: IPv6 socket cannot join IPv4 multicast group<br />
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4281#229754501

    GitHub | 5 months ago | cotej
    java.lang.IllegalArgumentException: Bad join type: STRAIGHT_JOIN
  6. 0

    [JIRA] (COMETD-589) can't start demo

    Google Groups | 2 years ago | pksinghus (JIRA)
    java.lang.IllegalArgumentException: IPv6 socket cannot join IPv4 multicast group<br />

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Item reviewer-join:9943:true:50:57 cannot consolidate reviewer-join:9943:false:50:19

      at com.atlassian.crucible.activity.review.ReviewerJoinActivityItem.consolidate()
    2. com.atlassian.crucible
      LuceneReviewerJoinActivityItemProvider.findActivityItems
      1. com.atlassian.crucible.activity.review.ReviewerJoinActivityItem.consolidate(ReviewerJoinActivityItem.java:67)
      2. com.atlassian.crucible.activity.review.ReviewerJoinActivityItemList.add(ReviewerJoinActivityItemList.java:53)
      3. com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.searchIndex(LuceneReviewerJoinActivityItemProvider.java:135)
      4. com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.getMoreActivityItems(LuceneReviewerJoinActivityItemProvider.java:115)
      5. com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.getMoreActivityItems(LuceneReviewerJoinActivityItemProvider.java:38)
      6. com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItemsAndCoalesce(CoalescingActivityItemProviderBase.java:27)
      7. com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItems(CoalescingActivityItemProviderBase.java:60)
      8. com.atlassian.crucible.activity.review.LuceneReviewerJoinActivityItemProvider.findActivityItems(LuceneReviewerJoinActivityItemProvider.java:63)
      8 frames
    3. com.atlassian.fisheye
      ActivityStreamHandler.handleActivityStream
      1. com.atlassian.fisheye.activity.DefaultActivityItemManager.findActivityItems(DefaultActivityItemManager.java:44)
      2. com.atlassian.fisheye.activity.ActivityStreamHandler.handleActivityStream(ActivityStreamHandler.java:158)
      2 frames
    4. com.cenqua.fisheye
      ProjectPageAction.getActivityHandler
      1. com.cenqua.fisheye.web.ProjectPageAction.getActivityHandler(ProjectPageAction.java:338)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. EL
      ValueExpressionImpl.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:293)
      2. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
      3. com.sun.el.parser.AstValue.getValue(AstValue.java:138)
      4. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
      4 frames
    7. GWT dev
      PageContextImpl.evaluateExpression
      1. org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001)
      1 frame
    8. org.apache.jsp
      project_jsp._jspService
      1. org.apache.jsp.WEB_002dINF.jsp.project_jsp._jspx_meth_c_set_0(project_jsp.java:215)
      2. org.apache.jsp.WEB_002dINF.jsp.project_jsp._jspService(project_jsp.java:163)
      2 frames