Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,175
Community Members
 
Community Events
176
Community Groups

Java error when stating the runner

Hi guys,

I did some proof of concept (PoC) tests on a controlled network and everything was working perfectly. 

The second test was supposed to be linking our test environment to the pipelines, on an actual server with real projects. Unfortunately I'm facing the following error when trying to start the runner.

+ ./entrypoint.sh
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/atlassian/pipelines/runner/core/RunnerImpl has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 5
2.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

 

The PoC environment was an Ubuntu Server 20.04 and had no problem, it was surprisingly easy and smoothly.

The second env is a CentOS 7. On this server the runner din't even started.

Any suggestion to fix that?

4 comments

I'm not on the BBC team, but recognize the error, that is a Java runtime compatibility error.   Version 52.0 is JDK 8, 55 is JDK 11. 

But not sure how that is happening...

You are starting the runner within the provided docker container?

Edit: I was able to recreate and raising internally.

Like Mark Tsyrulnyk likes this

Same problem here, seems like latest version of runners images is broken

lassian Atlassian Team Mar 18, 2021

Hi Mark,

Apologies for this I have just released a fix for this issue.

Kind Regards,

Nathan Burrell

Like Mark Tsyrulnyk likes this

 

For Windows Runner, i am seeing below error while executing. I have JDK 17.

 

.\start.ps1 -accountUuid '{9b7e1a7c-6fbe-4113-ba2a-ab62eac9231d}' -repositoryUuid '{070ed17f-775f-47b7-907b-36e76f4aa554}' -runnerUuid '{4549c788-7778-5dd5-aea7-268bec708b28}' -OAuthClientId YHAdwTnpqrTYwH1W67fDFp3rGjejxwfB -OAuthClientSecret ATOA0Q1lYqXJw6SzQJpnb3ob-UsmzrUJ0Rh8f_bcRE_e2b3tUzzlPqNkj3OluKfXpljeC24D066F -workingDirectory 'C:\BIT\temp'

 

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/atlassian/pipelines/runner/core/ApplicationImpl : Unsupported major.minor version 55.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events