Skip to content

CandidateAttribute.clone() causes NullPointerException #22

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Clone SDP attributes of a message (e.g. create a response to a 407 message 
using JainSip). At some point, this will call clone() on an instance of 
CandidateAttribute.

What is the expected output? What do you see instead?
- return a reference to the attribute; 
- clone() always returns null;

What version of the product are you using? On what operating system?
Release 413; building from Eclipse; the operating system is Windows 8.1


Please provide any additional information below.
Replacing “return null;” with “return this;” solved the issue for us



Original issue reported on code.google.com by stefanoa...@gmail.com on 22 Jul 2014 at 1:15

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions