org.swift.common.cli.CliClient$ClientException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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!
    via by Kurt Young,
  • 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!
    via by Kurt Young,
    • 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)
    No Bugmate found.