MyProjectType doesn't have a onLoad() at all!
I simply was expecting Project
(http://javadoc.jenkins-ci.org/hudson/model/Project.html) to do it for
me.
Thanks, I'll investigate further the problem...
On Sun, Jul 5, 2015 at 10:48 AM, Oleg Nenashev wrote:
> It would be better if you post the code
It would be better if you post the code of your action somewhere.
Seems your Item type does not reference the ItemGroup storing it. Actuallu
it means that MyProjectType#parent is null after the restart. Probably, you
have a wrong implementation of the onLoad() method.
четверг, 2 июля 2015 г., 1
Hi all,
I have developed a custom action, which is being attached to a build.
This action has a submission method and this method, while checking for ACL
project.checkPermission(AbstractProject.BUILD);
throws a
java.lang.IllegalStateException: no parent set on
my.namespace.MyProjectType[null]
T