[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2019-07-02 Thread brunoc.conr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Conrado Santos edited a comment on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Hi,I have the same problem  using the last Jenkins LTS version and plugins . We can`t call super methods when super is abstract or not. {code:java}hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: br.com.itau.devopspipelinelibrary.pipeline.impl.JavaPipelineImpl.initialize() is applicable for argument types: (java.lang.String, java.lang.String) values: [migrate-jobs, EB4]{code}Do you have some prediction to fix it?  Thanks   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.170015.1461584127000.14621.1562079124530%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2019-07-02 Thread brunoc.conr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Conrado Santos assigned an issue to Andrew Bayer  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-34428  
 
 
  workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
Change By: 
 Bruno Conrado Santos  
 
 
Assignee: 
 Bruno Conrado Santos Andrew Bayer  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.170015.1461584127000.14508.1562077800436%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2019-07-02 Thread brunoc.conr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Conrado Santos edited a comment on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Hi,I have the same problem. We can`t call super methods when super is abstract or not.  {code:java} hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: br.com.itau.devopspipelinelibrary.pipeline.impl.JavaPipelineImpl.initialize() is applicable for argument types: (java.lang.String, java.lang.String) values: [migrate-jobs, EB4] {code}    Do you have some prediction to fix it?  Thanks   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.170015.1461584127000.14491.1562077740575%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2019-07-02 Thread brunoc.conr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Conrado Santos commented on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Hi, I have the same problem. We can`t call super methods when super is abstract or not.  hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: br.com.itau.devopspipelinelibrary.pipeline.impl.JavaPipelineImpl.initialize() is applicable for argument types: (java.lang.String, java.lang.String) values: [migrate-jobs, EB4]   Do you have some prediction to fix it?    Thanks    
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.170015.1461584127000.14488.1562077680612%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2019-07-02 Thread brunoc.conr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Conrado Santos assigned an issue to Bruno Conrado Santos  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-34428  
 
 
  workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
Change By: 
 Bruno Conrado Santos  
 
 
Assignee: 
 Andrew Bayer Bruno Conrado Santos  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.170015.1461584127000.14455.1562077380508%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2018-08-23 Thread joshf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Theisen edited a comment on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Yes, it's definitely not specific to HashMap. Here's a more complete example: {code:java}abstract class AbstractClass implements Serializable {  def jenkins  AbstractClass(jenkins) {this.jenkins = jenkins  }  def someMethod(Map input) {performSomething(input)  }  abstract def performSomething(Map input)}{code}Then in my implementation class{code:java}ImplClass extends AbstractClass {  //setup stuff here for the class  @Override  def someMethod(Map input) {// Do some extra work here for this specific class // Then do the rest of the work in the super  classsuper .someMethod(input)  }}{code}When calling the "someMethod" with a Map as input from the implementation class, Jenkins will fail with something like this:{code:java}hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: someMethod() is applicable for argument types: (java.util.LinkedHashMap){code}Just below, it then even gives possible solutions:{code:java}Possible solutions: someMethod(java.util.Map), someMethod(java.util.Map){code}If I stop overriding the super method with a bit of extra work, Jenkins will call into the abstract class no problem.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-34428) workflow-cps-global-lib: inheritance (extends) not working

2018-08-23 Thread joshf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Theisen edited a comment on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Yes, it's definitely not specific to HashMap. Here's a more complete example:    {code:java}abstract class AbstractClass implements Serializable {  def jenkins  AbstractClass(jenkins) {this.jenkins = jenkins  }  def someMethod(Map input) {performSomething(input)  }  abstract def performSomething(Map input)}{code}Then in my implementation class   {code:java}ImplClass extends AbstractClass {  //setup stuff here for the class  @Override  def someMethod(Map input) {// Do some extra work here for this specific classsuper.someMethod(input)  }}{code}When calling the "someMethod" with a Map as input from the implementation class, Jenkins will fail with something like this:{code:java}hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: someMethod() is applicable for argument types: (java.util.LinkedHashMap){code}Just below, it then even gives possible solutions:{code:java}Possible solutions: someMethod(java.util.Map), someMethod(java.util.Map){code}If I stop overriding the super method with a bit of extra work, Jenkins will call into the abstract class no problem.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-34428) workflow-cps-global-lib: inheritance (extends) not working

2018-08-23 Thread joshf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Theisen commented on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Yes, it's definitely not specific to HashMap. Here's a more complete example:     

 

abstract class AbstractClass implements Serializable {
  def jenkins
  AbstractClass(jenkins) {
this.jenkins = jenkins
  }
  def someMethod(Map input) {
performSomething(input)
  }
  abstract def performSomething(Map input)
}
 

 Then in my implementation class   

 

ImplClass extends AbstractClass {
  //setup stuff here for the class

  @Override
  def someMethod(Map input) {
// Do some extra work here for this specific class
super.someMethod(input)
  }
}
 

 When calling the "someMethod" with a Map as input from the implementation class, Jenkins will fail with something like this: 

 

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: someMethod() is applicable for argument types: (java.util.LinkedHashMap)
 

 Just below, it then even gives possible solutions: 

 

Possible solutions: someMethod(java.util.Map), someMethod(java.util.Map) 

 If I stop overriding the super method with a bit of extra work, Jenkins will call into the abstract class no problem.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

[JIRA] (JENKINS-34428) workflow-cps-global-lib: inheritance (extends) not working

2018-08-23 Thread joerg.schwaerz...@infineon.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Joerg Schwaerzler commented on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 No sure whether this is really the same issue like JENKINS-47143. Are you able to reproduce this using a custom base class without extending HashMap?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-34428) workflow-cps-global-lib: inheritance (extends) not working

2018-08-23 Thread joshf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Theisen commented on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Is there any update to this? I'm running into this same issue... attempting to call 

 

super.method() 

 appears to result in an exception. As shown below, I'm passing in a map but it doesn't think that I am... even the possible solutions show that I should pass a map. 

 

groovy.lang.MissingMethodException: No signature of method: method() is applicable for argument types: (java.util.LinkedHashMap)
Possible solutions: method(java.util.Map), method(java.util.Map) 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-34428) workflow-cps-global-lib: inheritance (extends) not working

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 Probably a groovy-cps issue not specific to global libraries.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-34428) workflow-cps-global-lib: inheritance (extends) not working

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-34428  
 
 
  workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Component/s: 
 workflow-cps-plugin  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-34428) workflow-cps-global-lib: inheritance (extends) not working

2016-06-21 Thread jel...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Zhelyan Panchev commented on  JENKINS-34428  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: workflow-cps-global-lib: inheritance (extends) not working   
 

  
 
 
 
 

 
 I can extend abstract classes but calling super.somemethod() from the implementation throws StackOverflow exception   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.