[JIRA] (JENKINS-49106) buildpipeline plugin "Error in hasPermission"
Title: Message Title Akanchha Gupta started work on JENKINS-49106 Change By: Akanchha Gupta Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49106) buildpipeline plugin "Error in hasPermission"
Title: Message Title Craig Rodrigues assigned an issue to Unassigned Jenkins / JENKINS-49106 buildpipeline plugin "Error in hasPermission" Change By: Craig Rodrigues Assignee: Craig Rodrigues Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49106) buildpipeline plugin "Error in hasPermission"
Title: Message Title Martin Proffitt commented on JENKINS-49106 Re: buildpipeline plugin "Error in hasPermission" I see this exception raised when building pipelines using Jenkins DSL scripts. Component Version jenkins 2.109 Job DSL Plugin 1.68 Build Pipline Plugin 1.5.8 The view is created but not accessible until the configuration is accessed and re-saved. For example: http[s]://my.jenkins.url/view// Will throw an exception. http[s]://my.jenkins.url/view//configure Shows the view properties, saving without changing anything then allows the view to be accessed correctly. This issue seems to occur when using Jenkins DSL as it fails to set the following properties: buildCard rowHeaders columnHeaders Using empty rowHeaders and columnHeaders closures within pipeline configuration causes a NullPointerException to be raised when the view is created: 09:57:11 java.lang.NullPointerException: Cannot invoke method attributes() on null object 09:57:11 at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) 09:57:11 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) 09:57:11 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) 09:57:11 at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:35) 09:57:11 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) 09:57:11 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) 09:57:11 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) 09:57:11 at javaposse.jobdsl.dsl.ContextHelper.toNamedNode(ContextHelp