org.swift.common.cli.CliClient$ClientException: Successful adds: 143 errors: 1

JIRA | Kurt Young | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Please assist with this error we recently started receving. ( This looks similar to CSOAP-103. ) When running a nightly 11:00 PM batch process we see errors after about 2 minutes. while creating new groups with the commands: # Add Confluence groups using a file. # There is no Confluence CLI action called "addGroupWithFile". # The userid "_This_Is_Not_A_Valid_User_" is used to accomplish this. addGroups() { echo "Start" $(date +"%Y-%m-%d %H:%M:%S") \"$1\". sh $cli --action addUser --userId _This_Is_Not_A_Valid_User_ --userEmail x sh $cli --action addUserToGroupWithFile --autoGroup --encoding "UTF-8" --file "$1" RC=$? if [[ $RC -ne 0 ]] ; then email "Failed adding Confluence groups using $1. RC=$RC" exit 1 fi echo "End " $(date +"%Y-%m-%d %H:%M:%S") \"$1\". return 0 } The error occurs at a consistent location in the log: User: _This_Is_Not_A_Valid_User_ added to group: Unit 26000-BRENTWOOD ESSE (503)Service Temporarily Unavailable User: _This_Is_Not_A_Valid_User_ added to group: Unit 26000-LONDON ... 1e74545919 logged out. Client error: Successful adds: 143 errors: 1 org.swift.common.cli.CliClient$ClientException: Successful adds: 143 errors: 1 at org.swift.common.cli.AbstractUserHelper.addOrRemoveUserToOrFromGroupWithFile(AbstractUserHelper.java:499) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:588) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119) at org.swift.common.cli.CliClient.doWork(CliClient.java:298) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:130) Failed adding Confluence groups using new/UnitLocationMultipleGroups.csv. RC=255 [main.xml, Alert from Group Builder, Failed adding Confluence groups using new/UnitLocationMultipleGroups.csv. RC=255] Jul 26, 2015 11:02:31 PM com.dstsystems.groups.util.Emailer send INFO: Email sent. We receive the email alert, Failed adding Confluence groups using new/UnitLocationMultipleGroups.csv. RC=255 Thank you!

    JIRA | 2 years ago | Kurt Young
    org.swift.common.cli.CliClient$ClientException: Successful adds: 143 errors: 1
  2. 0

    Please assist with this error we recently started receving. ( This looks similar to CSOAP-103. ) When running a nightly 11:00 PM batch process we see errors after about 2 minutes. while creating new groups with the commands: # Add Confluence groups using a file. # There is no Confluence CLI action called "addGroupWithFile". # The userid "_This_Is_Not_A_Valid_User_" is used to accomplish this. addGroups() { echo "Start" $(date +"%Y-%m-%d %H:%M:%S") \"$1\". sh $cli --action addUser --userId _This_Is_Not_A_Valid_User_ --userEmail x sh $cli --action addUserToGroupWithFile --autoGroup --encoding "UTF-8" --file "$1" RC=$? if [[ $RC -ne 0 ]] ; then email "Failed adding Confluence groups using $1. RC=$RC" exit 1 fi echo "End " $(date +"%Y-%m-%d %H:%M:%S") \"$1\". return 0 } The error occurs at a consistent location in the log: User: _This_Is_Not_A_Valid_User_ added to group: Unit 26000-BRENTWOOD ESSE (503)Service Temporarily Unavailable User: _This_Is_Not_A_Valid_User_ added to group: Unit 26000-LONDON ... 1e74545919 logged out. Client error: Successful adds: 143 errors: 1 org.swift.common.cli.CliClient$ClientException: Successful adds: 143 errors: 1 at org.swift.common.cli.AbstractUserHelper.addOrRemoveUserToOrFromGroupWithFile(AbstractUserHelper.java:499) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:588) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119) at org.swift.common.cli.CliClient.doWork(CliClient.java:298) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:130) Failed adding Confluence groups using new/UnitLocationMultipleGroups.csv. RC=255 [main.xml, Alert from Group Builder, Failed adding Confluence groups using new/UnitLocationMultipleGroups.csv. RC=255] Jul 26, 2015 11:02:31 PM com.dstsystems.groups.util.Emailer send INFO: Email sent. We receive the email alert, Failed adding Confluence groups using new/UnitLocationMultipleGroups.csv. RC=255 Thank you!

    JIRA | 2 years ago | Kurt Young
    org.swift.common.cli.CliClient$ClientException: Successful adds: 143 errors: 1

    Root Cause Analysis

    1. org.swift.common.cli.CliClient$ClientException

      Successful adds: 143 errors: 1

      at org.swift.common.cli.AbstractUserHelper.addOrRemoveUserToOrFromGroupWithFile()
    2. org.swift.common
      AbstractUserHelper.addOrRemoveUserToOrFromGroupWithFile
      1. org.swift.common.cli.AbstractUserHelper.addOrRemoveUserToOrFromGroupWithFile(AbstractUserHelper.java:499)
      1 frame
    3. org.swift.confluence
      ConfluenceClient.handleRequest
      1. org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:588)
      1 frame
    4. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:298)
      2 frames
    5. org.swift.confluence
      ConfluenceClient.main
      1. org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:130)
      1 frame