Atlas-run -- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher Edited

We are currently in the process of upgrading to the latest Bamboo version,  however for the time being we are on 5.6.

Until the upgrade is complete, I need functionality to Trigger Deployment from Tasks.

I've created a Plugin as per official documenation -- which default to the latest Bamboo version. 

Due to backwards compatiablity issues around the Deployment Execution Service, I've update the plugin for 5.6 support. 

See code @:

https://github.com/vicsz/Bamboo-Deployment-Trigger-Task-Plugin

However, once I've down graded to 5.6 .. I've been unable to succesfully run atlas-run. 

I'm running into the following errors:

Caused by: java.lang.IllegalStateException: AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher

SEVERE: Exception sending context initialized event to listener instance of class com.atlassian.bamboo.ww2.actions.setup.BambooContextLoaderListener

FATAL [localhost-startStop-1] [UpgradeLauncher] Failed to initialise Bamboo container

[INFO] [talledLocalContainer] java.lang.NullPointerException

 

Either I missed something in my configuration ?? or the previous run of atlas-run at a newer version is some how polluting the current invocation. 

Note, that I am using a current JDK (1.8), and I've tried mvn-cleaning including completly wipping the /target dir. 

1 answer

1 accepted

1 vote

I think you need to use older Java (7?), it looks like your Java 8 is not recognised.

Thought so too .. but I've explicitly specified complication to 1.6 in the maven-compiler-plugin settings. Which I would assume would do the trick, not so. 

It won't because it does not affect the reported JVM version.

You seem to be correct ...  it's rare that I see software not working on newer versions of the JVM.  

Though the issue that I'm running into now is that the latest version of Atlas-SDK is compiled with 1.8,  and I can't seem to find older versions with brew on OSX. 

Lots of Yak Shaving .. sigh

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,491 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you