java.lang.UnsupportedOperationException

Atlassian JIRA | Martin Meinhold | 4 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

    Seen in JBACs logs today: {noformat} 2013-09-30 03:02:56,576 ERROR [QuartzScheduler_Worker-2] [BambooPluginUtils] class com.atlassian.bamboo.build.artifact.S3ArtifactHandler was unable to move artifacts Root POM (from GH-GHMVN-40) java.lang.UnsupportedOperationException at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.moveArtifactToGlobalStorage(S3ArtifactHandler.java:117) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$10.run(AbstractArtifactManager.java:534) at com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:145) at com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:135) at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:86) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.moveArtifactToGlobalStorage(AbstractArtifactManager.java:529) at com.atlassian.bamboo.build.artifact.LocalArtifactManager.moveArtifactToGlobalStorage(LocalArtifactManager.java:107) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:207) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1030) at sun.reflect.GeneratedMethodAccessor1903.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy45.removeArtifacts(Unknown Source) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:283) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.performPlanExpiry(BuildExpiryBean.java:156) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:109) at com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) {noformat} Not sure if this is something to be concerned of. But if it is a handled error case, then please don't log the exception not on error but debug level instead. Thank you

    Atlassian JIRA | 4 years ago | Martin Meinhold
    java.lang.UnsupportedOperationException
  2. 0

    Seen in JBACs logs today: {noformat} 2013-09-30 03:02:56,576 ERROR [QuartzScheduler_Worker-2] [BambooPluginUtils] class com.atlassian.bamboo.build.artifact.S3ArtifactHandler was unable to move artifacts Root POM (from GH-GHMVN-40) java.lang.UnsupportedOperationException at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.moveArtifactToGlobalStorage(S3ArtifactHandler.java:117) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$10.run(AbstractArtifactManager.java:534) at com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:145) at com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:135) at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:86) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.moveArtifactToGlobalStorage(AbstractArtifactManager.java:529) at com.atlassian.bamboo.build.artifact.LocalArtifactManager.moveArtifactToGlobalStorage(LocalArtifactManager.java:107) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:207) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1030) at sun.reflect.GeneratedMethodAccessor1903.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy45.removeArtifacts(Unknown Source) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:283) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.performPlanExpiry(BuildExpiryBean.java:156) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:109) at com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) {noformat} Not sure if this is something to be concerned of. But if it is a handled error case, then please don't log the exception not on error but debug level instead. Thank you

    Atlassian JIRA | 4 years ago | Martin Meinhold
    java.lang.UnsupportedOperationException

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.moveArtifactToGlobalStorage()
    2. com.atlassian.bamboo
      BuildResultsSummaryManagerImpl.removeArtifacts
      1. com.atlassian.bamboo.build.artifact.S3ArtifactHandler.moveArtifactToGlobalStorage(S3ArtifactHandler.java:117)
      2. com.atlassian.bamboo.build.artifact.AbstractArtifactManager$10.run(AbstractArtifactManager.java:534)
      3. com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:145)
      4. com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:135)
      5. com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:86)
      6. com.atlassian.bamboo.build.artifact.AbstractArtifactManager.moveArtifactToGlobalStorage(AbstractArtifactManager.java:529)
      7. com.atlassian.bamboo.build.artifact.LocalArtifactManager.moveArtifactToGlobalStorage(LocalArtifactManager.java:107)
      8. com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:207)
      9. com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1030)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1903.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. com.atlassian.bamboo
      AuthorityOverrideMethodSecurityInterceptor.invoke
      1. com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29)
      1 frame
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    9. Unknown
      $Proxy45.removeArtifacts
      1. $Proxy45.removeArtifacts(Unknown Source)
      1 frame
    10. com.atlassian.bamboo
      BuildExpiryScheduler$BuildExpiryJob.execute
      1. com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:283)
      2. com.atlassian.bamboo.build.expiry.BuildExpiryBean.performPlanExpiry(BuildExpiryBean.java:156)
      3. com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:109)
      4. com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113)
      4 frames
    11. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      1 frame
    12. com.atlassian.bamboo
      SystemAuthorizedThreadPool$1.run
      1. com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38)
      1 frame
    13. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      1 frame