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.

  • When running the removeNotification action against a preconfigured plan I got the following error message :- Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. on running the command again with the -v option, it appears that the final request is missing the /chain part of the URL cli/bamboo.sh --action removeNotification --plan PLAN --id -1 -v Server address: https://bamboo.xxxxxxxxx Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/org.swift.bamboo.cli/latest/validatelicense? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxxrest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Request type: POST Content type: text/html Post data: Response code: 404, message: Not Found, url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - response: 404: Not Found Problem determination - response url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - request url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed. at org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification(NotificationHelper.java:323) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:728) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:441) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)
    via by Mark Wilkinson,
  • When running the removeNotification action against a preconfigured plan I got the following error message :- Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. on running the command again with the -v option, it appears that the final request is missing the /chain part of the URL cli/bamboo.sh --action removeNotification --plan PLAN --id -1 -v Server address: https://bamboo.xxxxxxxxx Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/org.swift.bamboo.cli/latest/validatelicense? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxxrest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Request type: POST Content type: text/html Post data: Response code: 404, message: Not Found, url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - response: 404: Not Found Problem determination - response url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - request url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed. at org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification(NotificationHelper.java:323) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:728) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:441) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)
    via by Mark Wilkinson,
    • org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed. at org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification(NotificationHelper.java:323) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:728) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:441) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)
    No Bugmate found.