[
https://issues.apache.org/jira/browse/CLOUDSTACK-9790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871760#comment-15871760
]
ASF GitHub Bot commented on CLOUDSTACK-9790:
--------------------------------------------
GitHub user sgoeminn opened a pull request:
https://github.com/apache/cloudstack/pull/1952
CLOUDSTACK-9790: fix NPE in case of Basic zone.
This PR fixes the creation of a basic zone.
https://issues.apache.org/jira/browse/CLOUDSTACK-9790
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sgoeminn/cloudstack CLOUDSTACK-9790
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1952.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1952
----
commit a01f7e76c34342974749e90a64c062b304a39bd1
Author: Sigert Goeminne <[email protected]>
Date: 2017-02-17T10:05:58Z
CLOUDSTACK-9790: fix NPE in case of Basic zone.
----
> Can't create a Basic Zone (networking problem)
> ----------------------------------------------
>
> Key: CLOUDSTACK-9790
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9790
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Controller
> Affects Versions: 4.10
> Reporter: Mike Tutkowski
> Assignee: Kris Sterckx
> Priority: Blocker
> Fix For: 4.10
>
>
> A NullPointerException is thrown when trying to create a Basic Zone:
> java.lang.NullPointerException
> at com.cloud.utils.net.NetUtils.getCidrNetmask(NetUtils.java:956)
> at com.cloud.configuration.ConfigurationManagerImpl.
> validateIpRange(ConfigurationManagerImpl.java:2924)
> This appears to be related to PR 1579.
> In ConfigurationManagerImpl.java, it seems the new lines on 2924 – 2926 are
> the problem: https://github.com/apache/cloudstack/pull/1579/files
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)