[JIRA] (JENKINS-46172) error when I change ssh server settings for authorization

2018-04-08 Thread ljader...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Łukasz Jąder resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 This has been fixed with 2.6 version by saving SSH sites only when they have at least hostname and credentials selected. (the NPE exception handling was also improved)  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-46172  
 
 
  error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
Change By: 
 Łukasz Jąder  
 
 
Status: 
 In Progress 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 

[JIRA] (JENKINS-46172) error when I change ssh server settings for authorization

2018-03-27 Thread jnorton....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Norton commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 Hi Łukasz Jąder, I believe it is entirely possible that this was caused by migration code changes. I have been having to edit manually to add users and have been over the code many times as I was also suspecting this to be the issue.   
 

  
 
 
 
 

 
 
 

 
 
 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-46172) error when I change ssh server settings for authorization

2018-03-25 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 Code changed in jenkins User: Lukasz Jader Path: src/main/java/org/jvnet/hudson/plugins/CredentialsSSHSite.java http://jenkins-ci.org/commit/ssh-plugin/d18d0ed20e0fecb08dd22dadb87e28a166b167c9 Log: JENKINS-46172 Prevent NPE when binding incomplete definitions of ssh host Proper ssh host should have at least: 1. hostname not empty 2. attached credentials  
 

  
 
 
 
 

 
 
 

 
 
 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-46172) error when I change ssh server settings for authorization

2018-03-25 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 Code changed in jenkins User: Lukasz Jader Path: src/main/java/org/jvnet/hudson/plugins/SSHBuildWrapper.java http://jenkins-ci.org/commit/ssh-plugin/6f443e7c293f547e2c5e9950d74683b1d935996c Log: JENKINS-46172 Prevent Jenkins/configure submit if ssh host definition is incomplete. Proper ssh host should have at least: 1. hostname not empty 2. attached credentials  
 

  
 
 
 
 

 
 
 

 
 
 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-46172) error when I change ssh server settings for authorization

2018-03-25 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 Code changed in jenkins User: Lukasz Jader Path: pom.xml http://jenkins-ci.org/commit/ssh-plugin/a08598db301d19515b47ec8c4ec6233c93613d38 Log: JENKINS-46172 bump ssh-credentials dependency to 1.12 New version is the same as jsch-plugin v. 0.1.54.1 requires. Compare: https://github.com/jenkinsci/ssh-plugin/compare/52bd63a77354...a08598db301d  
 

  
 
 
 
 

 
 
 

 
 
 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-46172) error when I change ssh server settings for authorization

2018-03-24 Thread 1137325...@qq.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 金 波 commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 Similar problems occur when saving system settings Stack trace java.lang.NullPointerException at org.jvnet.hudson.plugins.CredentialsSSHSite.(CredentialsSSHSite.java:73) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:529) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:783) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:474) at org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:512) at org.jvnet.hudson.plugins.SSHBuildWrapper$DescriptorImpl.configure(SSHBuildWrapper.java:193) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:3681) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:3645) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at 

[JIRA] (JENKINS-46172) error when I change ssh server settings for authorization

2018-03-22 Thread ljader...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Łukasz Jąder commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 Hi Kelly Hickel and Jason Norton - did you previously have ssh-plugin installed with version < 2.5 ? I'm wondering if the error was caused by "migration code" during update from previous (2.4 or lower) plugin version.  
 

  
 
 
 
 

 
 
 

 
 
 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-46172) error when I change ssh server settings for authorization

2018-03-13 Thread jnorton....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Norton edited a comment on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 I see this error and my fields are filled. When I try to apply changes to and existing setup or add a new one it bails with the above. I can successfully test the setup prior to saving. Also, I can alter users manually in the code without issue. Dies on the GUI save. I do not get this anywhere else. I am up to date.  CORE  Core  is 2.89.4. (but I've had this issue for awhile). Plugin is latest.  Write issue?h2. Stack tracejava.lang.NullPointerException at org.jvnet.hudson.plugins.CredentialsSSHSite.(CredentialsSSHSite.java:73) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:529) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:783) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:474) at org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:519) at org.jvnet.hudson.plugins.SSHBuildWrapper$DescriptorImpl.configure(SSHBuildWrapper.java:193) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:3710) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:3674) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at com.marvelution.jenkins.plugins.jira.filter.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:51) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at com.marvelution.jenkins.plugins.jira.filter.OAuthFilter.doFilter(OAuthFilter.java:87) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at 

[JIRA] (JENKINS-46172) error when I change ssh server settings for authorization

2018-03-13 Thread jnorton....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Norton commented on  JENKINS-46172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: error when I change ssh server settings for authorization   
 

  
 
 
 
 

 
 I see this error and my fields are filled. When I try to apply changes to and existing setup or add a new one it bails with the above. I can successfully test the setup prior to saving. Also, I can alter users manually in the code without issue. Dies on the GUI save. I do not get this anywhere else. I am up to date. CORE is 2.89.4. (but I've had this issue for awhile). Plugin is latest.  
 

  
 
 
 
 

 
 
 

 
 
 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.