[JIRA] (JENKINS-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-20 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 Code changed in jenkins User: Claudiu Guiman Path: src/main/java/com/microsoft/azure/vmagent/AzureVMAgentTemplate.java src/main/java/com/microsoft/azure/vmagent/AzureVMManagementServiceDelegate.java http://jenkins-ci.org/commit/azure-vm-agents-plugin/6dd8a285a699a097ffa264698a3a606ce94ad250 Log: Provide default vm size list when the region was not yet selected [FIXED JENKINS-42853]  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-20 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42853  
 
 
  NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
Change By: 
 SCM/JIRA link daemon  
 
 
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 from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread clgui...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claudiu Guiman started work on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Claudiu Guiman  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread cgro...@node54.io (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Corey Groves commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 The exception occurs when the Add Azure Virtual Machine Template section is loading, I don't have a chance to pick anything before the error occurs.  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread clgui...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claudiu Guiman commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 Have you selected the desired region before selecting the VM size? From the exception call stack it looks like the region was null.  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread cgro...@node54.io (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Corey Groves commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 If I ignore the error and fill out the other fields then save the configuration, when I return to the setup screen it populates the Virtual Machine Size list with no error. But the error occurs every time when clicking on the Add button for a new template for the first time.  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread cgro...@node54.io (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Corey Groves edited a comment on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 If I ignore the error and fill out the other fields then save the configuration, when I return to the setup screen it populates the Virtual Machine Size list with no error. But the error occurs every time when clicking on the Add button for a new template for the first time.  With this workaround it is no longer a blocker for us.  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread clgui...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claudiu Guiman commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 Is this blocking you or you managed to go over the NPE and select a VM size?  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread cgro...@node54.io (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Corey Groves commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 Yes, I picked a service principle and verified it using the Verify Configuration button before clicking on Add.  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread clgui...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claudiu Guiman commented on  JENKINS-42853  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
 Did you pick a service principal for your cloud? (Azure 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread clgui...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claudiu Guiman assigned an issue to Claudiu Guiman  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42853  
 
 
  NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
Change By: 
 Claudiu Guiman  
 
 
Assignee: 
 Azure DevOps Claudiu Guiman  
 

  
 
 
 
 

 
 
 

 
 
 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-42853) NPE on Virtual Machine Size when selecting Azure template

2017-03-16 Thread cgro...@node54.io (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Corey Groves created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42853  
 
 
  NPE on Virtual Machine Size when selecting Azure template   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Azure DevOps  
 
 
Components: 
 azure-vm-agents-plugin  
 
 
Created: 
 2017/Mar/16 5:33 PM  
 
 
Environment: 
 Jenkins 2.50 in Tomcat 8.5  CentOS 7.3  jdk1.8.0_121  Azure VM Agents 0.4.3  Azure Credentials 1.0   
 
 
Priority: 
  Major  
 
 
Reporter: 
 Corey Groves  
 

  
 
 
 
 

 
 When in the Manage Jenkins -> Configure System page trying to add a VM template to an existing Azure cloud (no templates added yet). Exception page is displayed right below the Virtual Machine Size field showing this stack trace: 

java.lang.NullPointerException     at com.microsoft.azure.vmagent.AzureVMAgentTemplate$DescriptorImpl.doFillVirtualMachineSizeItems(AzureVMAgentTemplate.java:506)     at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)     at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)     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.MetaClass$5.doDispatch(MetaClass.java:248)     at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)     at