Jenkins war update caused issue

Initially got this error :

AWT is not properly configured on this server. 
Perhaps you need to run your container with "-Djava.awt.headless=true"? 
See also:

Fixed it using this : * sudo apt install fontconfig

Post this am getting the below error :

Help is appreciated

java.lang.NoClassDefFoundError: org/jruby/javasupport/proxy/InternalJavaProxy
at org.jenkinsci.jruby.JRubyMapper.serializedClass(
at hudson.util.xstream.MapperDelegate.serializedClass(
at com.thoughtworks.xstream.mapper.MapperWrapper.serializedClass(
at com.thoughtworks.xstream.core.TreeMarshaller.start(
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(
at com.thoughtworks.xstream.XStream.marshal(
at com.thoughtworks.xstream.XStream.marshal(
at com.thoughtworks.xstream.XStream.toXML(
at hudson.XmlFile.write(
at jenkins.model.Jenkins.(
at hudson.model.Hudson.(
at hudson.model.Hudson.(
at hudson.WebAppMain$
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$

There may be deprecated plugins installed on your system that need to be removed.

The Jenkins project stopped distributing the Ruby runtime plugin, the Python runtime plugin, and plugins that depend on those two plugins in January 2022. You can find a detailed list of plugins and more information in the blog post:

1 Like

Thanks for pointing it out .

I had disabled ruby and python plugins and now am getting this error , while loading .

Restarted Jenkins, upgraded to Aug 2nd WAR file , still no luck .

A problem occurred while processing the request.

Logging ID=31aef4a2-31d8-430b-9fb6-c3f5fd008c50

That ID is written to the Jenkins log file with a stack trace. Read the Jenkins log to see if it guides you on your next step.

I assume that disabling the deprecated plugins is enough, but ultimately you’ll want to remove them completely. They are no longer usable.

The ruby runtime plugin does not support Java 11 at all. Jenkins weekly already requires Java 11 as its minimum Java version. Jenkins LTS 2.361.1 in September 2022 will require Java 11 as its minimum Java version.

Deprecating non-Java plugins has the full list of plugins you should remove.