Incorrect property initialization

Description

IQ type property is being initialized with null value. It will cause an unhandled exception in the method.
Initialising it with a blank String solves the issue, as it throws an IllegalArgumentException if no value is found in the IQ.

Environment

Plataform-Independent

Attachments

1

Activity

Thiago Rocha Camargo 
October 11, 2006 at 5:04 AM

Assigned a default value to the "type" instance variable. https://igniterealtime.atlassian.net/browse/SMACK-176#icft=SMACK-176

Thiago Rocha Camargo 
October 6, 2006 at 9:25 AM

A simple fix

Thiago Rocha Camargo 
October 6, 2006 at 5:00 AM

A simple fix.

Fixed

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged10m remaining

Components

Fix versions

Affects versions

Priority

Created October 6, 2006 at 4:58 AM
Updated October 11, 2006 at 5:04 AM
Resolved October 6, 2006 at 9:25 AM

Flag notifications