Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CBB7E6BB for ; Wed, 6 Feb 2013 17:19:17 +0000 (UTC) Received: (qmail 48395 invoked by uid 500); 6 Feb 2013 17:19:16 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 48346 invoked by uid 500); 6 Feb 2013 17:19:16 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 48298 invoked by uid 99); 6 Feb 2013 17:19:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 17:19:16 +0000 Date: Wed, 6 Feb 2013 17:19:16 +0000 (UTC) From: "Marcus Sorensen (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-1168) Create firewall rule broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Sorensen resolved CLOUDSTACK-1168. ----------------------------------------- Resolution: Fixed Fix Version/s: 4.1.0 fixed in commit ec6fdc7471a327a30c16426012a6132fab4e40a2 > Create firewall rule broken > --------------------------- > > Key: CLOUDSTACK-1168 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1168 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: 4.1.0 > Environment: devcloud > Reporter: Marcus Sorensen > Assignee: Jayapal Reddy > Fix For: 4.1.0 > > > Following code, get null pointer in server/src/com/cloud/network/firewall/FirewallManagerImpl.java at 484 due to object 'trafficType'. > Follow this up to createFirewallRule, then to createIngressFirewallRule, where we see rule.getTrafficType() then to file CreateFirewallRuleCmd.java: > public TrafficType getTrafficType() { > return null; > } > I think we should modify createIngressFirewallRule and createEgressFirewallRule to pass FirewallRule.TrafficType.Ingress and FirewallRule.TrafficType.Egress, but does anyone who is responsible for this code want to take a look? Maybe we need to look at other places that might be affected? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira