Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CandidateAttribute.clone() causes NullPointerException #22

Open
GoogleCodeExporter opened this issue Apr 13, 2015 · 0 comments
Open

CandidateAttribute.clone() causes NullPointerException #22

GoogleCodeExporter opened this issue Apr 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant