Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Quick reply/replyAll fails if identity has null doCcList or doBccList #662

nauhygon opened this Issue · 1 comment

2 participants


Whenever I hit the quick Reply or ReplyAll button, the To and Cc fields were not populated. In the Error console, I saw this error message:

Error: [Exception... "'TypeError: aDefault is null' when calling method: [nsIStreamListener::onStopRequest]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "native frame :: :: :: line 0" data: no]

Digging a little deeper, I found that in stub.composed-ui.js, the identity in ComposeSession instance has doCc set to true, but doCcList to null. This fails mergeDefault() in changeComposeFields(), leaving the To, Cc, and Bcc fields unfilled.

I am not sure if this is also happening to others. Looking through the issues, I am not seeing this particular issue. It may have been just a very special case for me as in about::config, I don't see mail.identity.<id>.doCcList.

Fix seems simple and hopefully safe. I will supply a patch shortly.

@nauhygon nauhygon referenced this issue from a commit in nauhygon/GMail-Conversation-View
U-morrisville\nauhygon #662: Safe guard null doCcList/doBccList in changeComposeFields. 4131d6b

Patch merged, thanks for the detailed explanation and rationale!

@protz protz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.