Damn, I found it

I had to rename $JENKINS_HOME/plugins/ruby-runtime.api to 
$JENKINS_HOME/plugins/ruby-runtime.api.disabled.

Chris

On Wednesday, December 7, 2022 at 3:48:25 PM UTC-5 [email protected] wrote:

> More logs, this is the first log I see. Again I renamed the 
> $HOME_JENKINS/plugins dir.
>
> 2022-12-07 20:46:03.252+0000 [id=33]    INFO   
>  jenkins.InitReactorRunner$1#onAttained: Listed all plugins
>
> 2022-12-07 20:46:09.644+0000 [id=30]    INFO   
>  ruby.RubyRuntimePlugin#start: Injecting JRuby into XStream
>
> 2022-12-07 20:46:09.715+0000 [id=30]    WARNING   
>  jenkins.model.Jenkins$5#runTask: Loading plugin ruby-runtime v0.12 
> (ruby-runtime) failed perhaps due to plugin dependency issues
>
> java.lang.RuntimeException: unsupported Java version: 11
>
>    at 
> org.jruby.RubyInstanceConfig.initGlobalJavaVersion(RubyInstanceConfig.java:1674)
>
>    at org.jruby.RubyInstanceConfig.<clinit>(RubyInstanceConfig.java:1387)
>
> Caused: java.lang.ExceptionInInitializerError
>
>    at 
> org.jruby.embed.internal.AbstractLocalContextProvider.<init>(AbstractLocalContextProvider.java:42)
>
>    at 
> org.jruby.embed.internal.SingleThreadLocalContextProvider.<init>(SingleThreadLocalContextProvider.java:43)
>
>    at 
> org.jruby.embed.ScriptingContainer.getProviderInstance(ScriptingContainer.java:242)
>
>    at 
> org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:226)
>
>    at 
> org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:192)
>
>    at org.kohsuke.stapler.jelly.jruby.JRubyFacet.<init>(JRubyFacet.java:65)
>
>    at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:39)
>
>    at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:30)
>
>    at 
> hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:417)
>
>    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:406)
>
> Caused: java.io.IOException: Failed to initialize
>
>    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:409)
>
>    at hudson.PluginManager$2$1$1.run(PluginManager.java:549)
>
>    at 
> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
>
>    at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
>
>    at jenkins.model.Jenkins$5.runTask(Jenkins.java:1161)
>
> On Wednesday, December 7, 2022 at 3:41:09 PM UTC-5 [email protected] wrote:
>
>> I updated Java to no avail
>>
>> $ java -version
>>
>> openjdk version "11.0.16" 2022-07-19 LTS
>>
>> OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.amzn2.0.1) (build 
>> 11.0.16+8-LTS)
>>
>> OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.amzn2.0.1) (build 
>> 11.0.16+8-LTS, mixed mode, sharing)
>>
>> On Wednesday, December 7, 2022 at 3:29:18 PM UTC-5 [email protected] 
>> wrote:
>>
>>> I have
>>>
>>> $ java -version
>>>
>>> openjdk version "1.8.0_342"
>>>
>>> OpenJDK Runtime Environment (build 1.8.0_342-b07)
>>>
>>> OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
>>>
>>> On Wednesday, December 7, 2022 at 3:26:06 PM UTC-5 [email protected] 
>>> wrote:
>>>
>>>> Also I see this in the logs, and looking for info on 
>>>> Jenkins.getInstanceOrNull provides nothing.
>>>>
>>>> 2022-12-07 20:24:26.772+0000 [id=190]    WARNING   
>>>>  o.e.jetty.server.HttpChannel#handleException: /login
>>>>
>>>> java.lang.IllegalStateException: Jenkins.instance is missing. Read the 
>>>> documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
>>>>
>>>>    at jenkins.model.Jenkins.get(Jenkins.java:813)
>>>>
>>>>    at 
>>>> org.jenkinsci.plugins.matrixauth.AuthorizationContainer.hasPermission(AuthorizationContainer.java:144)
>>>>
>>>>    at 
>>>> hudson.security.GlobalMatrixAuthorizationStrategy$AclImpl.hasPermission(GlobalMatrixAuthorizationStrategy.java:133)
>>>>
>>>>    at hudson.security.SidACL._hasPermission(SidACL.java:73)
>>>>
>>>>    at hudson.security.SidACL.hasPermission2(SidACL.java:54)
>>>>
>>>>    at hudson.security.ACL.checkPermission(ACL.java:76)
>>>>
>>>> On Wednesday, December 7, 2022 at 3:23:21 PM UTC-5 [email protected] 
>>>> wrote:
>>>>
>>>>> I'm attempting to update from 2.263.1 to 2.375.1 (huge gap I know), 
>>>>> and I'm getting this on the Jenkins page. It just shows 2 Jenkins butler 
>>>>> pics, a large black circle, and a large blue circle with a question mark 
>>>>> in 
>>>>> the middle.
>>>>>
>>>>> I've even renamed my $JENKINS_HOME/plugins and 
>>>>> $JENKINS_HOME/plugins.txt files in case there are incompatible 
>>>>> plugins which I expect from a huge version gap.
>>>>>
>>>>> Any clues?
>>>>>
>>>>> java.lang.NoClassDefFoundError: 
>>>>> org/jruby/javasupport/proxy/InternalJavaProxy    at 
>>>>> org.jenkinsci.jruby.JRubyMapper.serializedClass(JRubyMapper.java:20)    
>>>>> at 
>>>>> hudson.util.xstream.MapperDelegate.serializedClass(MapperDelegate.java:41)
>>>>>  
>>>>>    at 
>>>>> com.thoughtworks.xstream.mapper.MapperWrapper.serializedClass(MapperWrapper.java:121)
>>>>>  
>>>>>    at 
>>>>> com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
>>>>>  
>>>>>    at 
>>>>> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
>>>>>  
>>>>>    at com.thoughtworks.xstream.XStream.marshal(XStream.java:1266)    at 
>>>>> com.thoughtworks.xstream.XStream.marshal(XStream.java:1255)    at 
>>>>> com.thoughtworks.xstream.XStream.toXML(XStream.java:1228)    at 
>>>>> hudson.XmlFile.write(XmlFile.java:213)    at 
>>>>> jenkins.model.Jenkins.save(Jenkins.java:3547)    at 
>>>>> jenkins.model.Jenkins.<init>(Jenkins.java:1007)    at 
>>>>> hudson.model.Hudson.<init>(Hudson.java:86)    at 
>>>>> hudson.model.Hudson.<init>(Hudson.java:82)    at 
>>>>> hudson.WebAppMain$3.run(WebAppMain.java:247) Caused: 
>>>>> hudson.util.HudsonFailedToLoad    at 
>>>>> hudson.WebAppMain$3.run(WebAppMain.java:261) 
>>>>>
>>>>> Thanks,
>>>>> Chris
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6d75b667-7911-4e2f-9061-ef2716df72c8n%40googlegroups.com.

Reply via email to