JavaScript error: resource://gre/components/nsMailNewsCommandLineHandler.js, line 41: uncaught exception: 2147942487

UNCONFIRMED
Unassigned

Status

MailNews Core
Backend
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: Martin Mokrejs, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
Build ID: 20160218002054

Steps to reproduce:

Please refer to bug #1219015 . The message is logged by seamonkey-2.38 and 2.39 at least.

Comment 1

2 years ago
(not sure where this should go, but Mailnews Core seems wrong)
Component: Backend → General
Product: MailNews Core → Thunderbird
Version: 39 → 39 Branch

Comment 2

2 years ago
The file actually is in /mailnews so let's keep it there for now. Maybe it is only a problem in SM.

The line 41 is this:
mailURL = aCommandLine.handleFlagWithParam("mail", false);

Martin, do you start TB or SM with a command line argument -mail or something like that?
Component: General → Backend
Flags: needinfo?(mmokrejs)
Product: Thunderbird → MailNews Core
Version: 39 Branch → Trunk
(Reporter)

Comment 3

2 years ago
I have somewhere in settings that mailer comes up by default upon seamonkey is executed, so I assume it is the same as -mailer on a command line.
Flags: needinfo?(mmokrejs)

Comment 4

2 years ago
I can't reproduce that on TB with the command line argument and TB does not have that setting which window should come up at start up (it only has a single window). Maybe this can only be seen on Seamonkey.
Flags: needinfo?(philip.chee)

Comment 5

2 years ago
It's inside a try catch block so I don't know why it's an uncaught error.

2147942487 == NS_ERROR_ILLEGAL_VALUE
Flags: needinfo?(philip.chee)

Comment 6

2 years ago
(In reply to Philip Chee from comment #5)
> It's inside a try catch block so I don't know why it's an uncaught error.
> 
> 2147942487 == NS_ERROR_ILLEGAL_VALUE

XPCOM components if they throw an error will get logged, even if protected by try/catch. There's a bug somewhere complaining about this, marked WONTFIX.
You need to log in before you can comment on or make changes to this bug.