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

[2.1.0.0] NullReferenceException in SendCommand method #3

Closed
LordBenjamin opened this issue Jul 18, 2015 · 2 comments
Closed

[2.1.0.0] NullReferenceException in SendCommand method #3

LordBenjamin opened this issue Jul 18, 2015 · 2 comments
Labels

Comments

@LordBenjamin
Copy link

SendCommand(MessageType messageType, Action dataAction) throws an NRE when using the FileZillaApi class as the Log property is not initialized.

I worked around this by wrapping the log line in a null check:
if (Log != null) {
Log.WriteLine("Send: {0}", messageType);
}

@PolarbearDK
Copy link
Owner

Fixed in 2.1.1.0

@LordBenjamin
Copy link
Author

Updated to 2.1.1.0 - thanks!

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

No branches or pull requests

2 participants