ognl.MethodFailedException: Method "setAfterPosition" failed for object com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository@56aa6242 [java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;)]

Atlassian JIRA | Sepideh Setayeshfar | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When moving saved repositories under plan's repository tab using the drag/drop feature, following error shows up in Bamboo logs. Though it's not affecting the build process if configuration is correct, it can cause confusion: {code} 2014-09-16 17:59:15,661 WARN [http-bio-8085-exec-228] [OgnlValueStack] Error setting expression 'afterPosition' with value '[Ljava.lang.String;@4c190781' ognl.MethodFailedException: Method "setAfterPosition" failed for object com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository@56aa6242 [java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;)] at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1305) at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1494) at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:85) .... at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;) at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1246) ... 215 more {code}

    Atlassian JIRA | 3 years ago | Sepideh Setayeshfar [Atlassian]
    ognl.MethodFailedException: Method "setAfterPosition" failed for object com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository@56aa6242 [java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;)]
  2. 0

    When moving saved repositories under plan's repository tab using the drag/drop feature, following error shows up in Bamboo logs. Though it's not affecting the build process if configuration is correct, it can cause confusion: {code} 2014-09-16 17:59:15,661 WARN [http-bio-8085-exec-228] [OgnlValueStack] Error setting expression 'afterPosition' with value '[Ljava.lang.String;@4c190781' ognl.MethodFailedException: Method "setAfterPosition" failed for object com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository@56aa6242 [java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;)] at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1305) at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1494) at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:85) .... at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;) at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1246) ... 215 more {code}

    Atlassian JIRA | 3 years ago | Sepideh Setayeshfar
    ognl.MethodFailedException: Method "setAfterPosition" failed for object com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository@56aa6242 [java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;)]

    Root Cause Analysis

    1. ognl.MethodFailedException

      Method "setAfterPosition" failed for object com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository@56aa6242 [java.lang.NoSuchMethodException: com.atlassian.bamboo.ww2.actions.build.admin.config.repository.MoveRepository.setAfterPosition([Ljava.lang.String;)]

      at ognl.OgnlRuntime.callAppropriateMethod()
    2. OGNL - Object Graph Navigation Library
      ObjectPropertyAccessor.setPossibleProperty
      1. ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1305)
      2. ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1494)
      3. ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:85)
      3 frames