Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-20168

org.codehaus.xfire.XFireRuntimeException on ActiveUserCount value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Medium
    • None
    • 4.0
    • None

    Description

      Trying to check the Active User Count using com.atlassian.jira.user.util.UserUtilImpl.getActiveUserCount(), one of my customer encounters the following exception :

      com.atlassian.util.concurrent.LazyReference$InitializationException: org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
      	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)
      	at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)
      	at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:73)
      	at com.atlassian.jira.user.util.UserUtilImpl.getActiveUserCount(UserUtilImpl.java:370)
      

      The calls is done in a Service initied during the start of JIRA (See http://www.minyaa.com/jira/browse/MYAA-465).

      What is the way to avoid such error : May I catch the exception and try in loop ?

      Regards
      Vincent

      Attachments

        Activity

          People

            Unassigned Unassigned
            5d77aaa81033 Vincent Thoulé
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: