[JIRA] (JENKINS-55647) java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Describable

25 views
Skip to first unread message

spsuriyah@gmail.com (JIRA)

unread,
Jan 17, 2019, 6:17:02 AM1/17/19
to jenkinsc...@googlegroups.com
surya prakash created an issue
 
Jenkins / Bug JENKINS-55647
java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Describable
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screenshot from 2019-01-17 16-40-43.png
Components: envinject-plugin
Created: 2019-01-17 11:16
Priority: Critical Critical
Reporter: surya prakash

Hi Team,

I am getting below mentioned error message after upgrading the Jenkins   

This issue is comming when i am going to Manage Jenkins > Configure System and clicking on save button. Please have a look into this issue.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 18, 2019, 4:06:02 AM1/18/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 18, 2019, 4:07:03 AM1/18/19
to jenkinsc...@googlegroups.com

siphomangena@outlook.com (JIRA)

unread,
Jun 27, 2019, 10:29:02 AM6/27/19
to jenkinsc...@googlegroups.com

Got the same issue after upgrading to 1.176.1 using an existing config.xml.

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 11:20:03 AM6/27/19
to jenkinsc...@googlegroups.com

The core code has not been edited for years. It looks like some of the implementations improperly defines the Describable generic., but I cannot pin point to the failing plugin. It is likely a plugin with a really old core dependency.

Somebody could add some diagnostics to the core. to track down failing descriptors in the rebuild() call. It could be logging on FIEST level or just runtime exception handler

 

 

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 11:20:03 AM6/27/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 11:20:03 AM6/27/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 11:21:02 AM6/27/19
to jenkinsc...@googlegroups.com
 
Re: java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Describable

I am coinverting it to the Core issue for better error handling and diagnostics. Whatever is the failing plugin, Jenkins should be robust against such issues.

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 5:51:03 AM6/30/19
to jenkinsc...@googlegroups.com

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 5:51:04 AM6/30/19
to jenkinsc...@googlegroups.com
Egor Voronyansky started work on Bug JENKINS-55647
 
Change By: Egor Voronyansky
Status: Open In Progress

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 11:20:03 AM6/30/19
to jenkinsc...@googlegroups.com

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 11:21:02 AM6/30/19
to jenkinsc...@googlegroups.com
Egor Voronyansky commented on Bug JENKINS-55647
 
Re: java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Describable

Oleg Nenashev, surya prakash, sipho mangena

Hi all! I start investigate this issue and faced with problem that I can't reproduce it.

Could anyone provide some extra information about configuration which fail. 

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 11:21:02 AM6/30/19
to jenkinsc...@googlegroups.com
Egor Voronyansky edited a comment on Bug JENKINS-55647
[~oleg_nenashev], [~spsuriyah], [~sipho]


Hi all! I start investigate this issue and faced with problem that I can't reproduce it.

Could anyone provide some extra information about configuration which fail. 


 

! version.png|thumbnail!

 

 

 

!
plugin.png!

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 11:21:03 AM6/30/19
to jenkinsc...@googlegroups.com
Egor Voronyansky stopped work on Bug JENKINS-55647
 
Change By: Egor Voronyansky
Status: In Progress Open

vrnsky@protonmail.ch (JIRA)

unread,
Jun 30, 2019, 11:22:02 AM6/30/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages