[JIRA] (JENKINS-40728) Invalid class cast in Disk Usage Plugin when ItemGroup is not a TopLevelItem

4 views
Skip to first unread message

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

unread,
Dec 30, 2016, 2:13:03 PM12/30/16
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Jenkins / Bug JENKINS-40728
Invalid class cast in Disk Usage Plugin when ItemGroup is not a TopLevelItem
Change By: Oleg Nenashev
Summary: Managed scripts 1.3 breaks promotions Invalid class cast in Disk Usage Plugin when ItemGroup is not a TopLevelItem
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

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

unread,
Dec 30, 2016, 2:14:02 PM12/30/16
to jenkinsc...@googlegroups.com

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

unread,
Dec 30, 2016, 2:14:03 PM12/30/16
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: disk-usage-plugin
Component/s: config-file-provider-plugin
Component/s: managed-scripts-plugin
Component/s: promoted-builds-plugin

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

unread,
Dec 30, 2016, 2:14:04 PM12/30/16
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-40728
 
Re: Invalid class cast in Disk Usage Plugin when ItemGroup is not a TopLevelItem

Reassigned the plugin to Lucie Votypkova, who is a maintainer of the Disk Usage plugin

brysoncg@gmail.com (JIRA)

unread,
Jan 19, 2017, 6:59:01 PM1/19/17
to jenkinsc...@googlegroups.com

I have a new stack trace, after again upgrading to Config File Provider Plugin version 2.15.5 (previously upgraded to Config File provider version 2.15.1, which is now flagged as "DO NOT INSTALL" due to issues with Managed scripts/configs). This time the promotion fails quickly rather than endlessly running, and the exception now appears in the UI as follows:
FATAL: can not determine current context/parent for: MyJob/promotion of type class hudson.plugins.promoted_builds.JobPropertyImpl
java.lang.IllegalArgumentException: can not determine current context/parent for: MyJob/promotion of type class hudson.plugins.promoted_builds.JobPropertyImpl
at org.jenkinsci.plugins.configfiles.ConfigFiles.getByIdOrNull(ConfigFiles.java:114)
at org.jenkinsci.plugins.configfiles.ConfigFiles.getByIdOrNull(ConfigFiles.java:140)
at org.jenkinsci.plugins.configfiles.ConfigFiles.getByIdOrNull(ConfigFiles.java:164)
at org.jenkinsci.plugins.managedscripts.PowerShellBuildStep.getContents(PowerShellBuildStep.java:126)
at hudson.tasks.CommandInterpreter.createScriptFile(CommandInterpreter.java:161)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:93)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:65)
at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:405)
at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:347)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1729)
at hudson.model.Run.run(Run.java:1688)
at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:286)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)

brysoncg@gmail.com (JIRA)

unread,
Feb 2, 2017, 1:44:02 PM2/2/17
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Feb 11, 2020, 8:30:10 AM2/11/20
to jenkinsc...@googlegroups.com
Oliver Gondža assigned an issue to Unassigned
 
Change By: Oliver Gondža
Assignee: Lucie Votypkova
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages