Bug 984337

Summary: [abrt] firewall-config-0.3.3-2.fc19: firewall-config:1591:onChangeService:AttributeError: 'NoneType' object has no attribute 'getPorts'
Product: [Fedora] Fedora Reporter: Kevin <mephisto>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:68a6afe596015e236b204388363fc29464e4c601
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-22 16:13:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Kevin 2013-07-15 01:10:13 UTC
Description of problem:
GUI firewall-config interface crashed while I was trying to add a new service/port.

Version-Release number of selected component:
firewall-config-0.3.3-2.fc19

Additional info:
reporter:       libreport-2.1.5
cmdline:        /usr/bin/python /usr/bin/firewall-config
core_backtrace: 60363ff895931066c15e303f494df3bbb37526fa 0x637 onChangeService /usr/bin/firewall-config -
executable:     /usr/bin/firewall-config
kernel:         3.9.9-301.fc19.x86_64
runlevel:       N 5
uid:            1006

Truncated backtrace:
firewall-config:1591:onChangeService:AttributeError: 'NoneType' object has no attribute 'getPorts'

Traceback (most recent call last):
  File "/usr/bin/firewall-config", line 1591, in onChangeService
    ports = settings.getPorts()
AttributeError: 'NoneType' object has no attribute 'getPorts'

Local variables in innermost frame:
args: (<TreeSelection object at 0x1c76be0 (GtkTreeSelection at 0x1a05370)>,)
service: <firewall.client.FirewallClientConfigService object at 0x1c80c50>
settings: None
active_service: 'mysql'
self: <__main__.FirewallConfig object at 0x187b350>
destination: {}
modules: []
old_handler: <bound method FirewallConfig._exception_handler of <__main__.FirewallConfig object at 0x187b350>>
ports: []

Comment 1 Kevin 2013-07-15 01:10:23 UTC
Created attachment 773460 [details]
File: backtrace

Comment 2 Kevin 2013-07-15 01:10:26 UTC
Created attachment 773461 [details]
File: environ

Comment 3 Jiri Popelka 2013-07-15 11:10:28 UTC
I can't reproduce this and have no idea how
firewall.client.FirewallClientConfigService.getSettings() could have returned None.

Kevin, are you able to reproduce the crash, or did it happen only once ?

Comment 4 Jiri Popelka 2013-08-22 16:13:58 UTC

*** This bug has been marked as a duplicate of bug 1000054 ***