[JIRA] (JENKINS-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-14 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50750  
 
 
  Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Status: 
 Resolved Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-14 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-50750  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
 Code changed in jenkins User: Daniel Spilker Path: docs/Home.md job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/LookupStrategy.java http://jenkins-ci.org/commit/job-dsl-plugin/50f78603067d4bd0ed77646d801b5ccd771def3d Log: fixed anonymous class warning [FIXES JENKINS-50750]  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-14 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-50750  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
 Code changed in jenkins User: Daniel Spilker Path: docs/Home.md job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/LookupStrategy.java http://jenkins-ci.org/commit/job-dsl-plugin/0466f20650d2a7dd9e201848406abe311d9120e6 Log: Merge pull request #1122 from daspilker/JENKINS-50750 JENKINS-50750 fixed anonymous class warning Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/c094cd7e82b6...0466f20650d2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-14 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50750  
 
 
  Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
Change By: 
 SCM/JIRA link daemon  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-12 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker commented on  JENKINS-50750  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
 PR: https://github.com/jenkinsci/job-dsl-plugin/pull/1122  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-12 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-50750  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
 Enums are whitelisted in JEP-200. It is not a JEP-200, but a warning introduced by Jesse Glick for JENKINS-49795. This enum is really a nested class though it could be refactored (e.g. you could create static handlers and store them in a field)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-12 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker commented on  JENKINS-50750  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
 I can reproduce this issue. Even when running the job-dsl build step on master. This should only be caused by XStream (de-)serialization of ExecuteDslScripts.lookupStrategy. Oleg Nenashev: LookupStrategy$2 is an enum. It gets serialized as SEED_JOB, so it should be save to (de-)serialize. Can't we make an exception for enums?  https://github.com/jenkinsci/job-dsl-plugin/blob/job-dsl-1.68/job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/LookupStrategy.java  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-11 Thread wypyche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Emil Wypych updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50750  
 
 
  Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
Change By: 
 Emil Wypych  
 
 
Environment: 
 Jenkins 2. 106 116 Job DSL Plugin 1.68  
 

  
 
 
 
 

 
 After upgrade Jenkins to 2. 106 116  I see in the logs the following error:{noformat}Apr 11, 2018 9:06:15 PM WARNING org.jenkinsci.remoting.util.AnonymousClassWarnings warnAttempt to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2 in file:/var/lib/jenkins/plugins/job-dsl/WEB-INF/lib/classes.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/{noformat}It is not related to the plugin version - I tried to downgrade to 1.67 - problem still exists in this version. Before Jenkins upgrade (it was a direct upgrade from 2. 104 114  to 2. 106 116 ) I hadn't had such errors.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

[JIRA] (JENKINS-50750) Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2

2018-04-11 Thread wypyche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Emil Wypych created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50750  
 
 
  Attemp to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Daniel Spilker  
 
 
Components: 
 job-dsl-plugin  
 
 
Created: 
 2018-04-11 19:14  
 
 
Environment: 
 Jenkins 2.106  Job DSL Plugin 1.68  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Emil Wypych  
 

  
 
 
 
 

 
 After upgrade Jenkins to 2.106 I see in the logs the following error: 

 
Apr 11, 2018 9:06:15 PM WARNING org.jenkinsci.remoting.util.AnonymousClassWarnings warn
Attempt to (de-)serialize anonymous class javaposse.jobdsl.plugin.LookupStrategy$2 in file:/var/lib/jenkins/plugins/job-dsl/WEB-INF/lib/classes.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ 

 It is not related to the plugin version - I tried to downgrade to 1.67 - problem still exists in this version. Before Jenkins upgrade (it was a direct upgrade from 2.104 to 2.106) I hadn't had such errors.