Closed Bug 419926 Opened 18 years ago Closed 11 years ago

Error: convertToHTML: Cannot create itipItem: TypeError: msgUrl.msgWindow has no properties

Categories

(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Parasyte, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12 Build Identifier: 2007102303 My boss forwarded an email he received which contained a VCAL event attachment. The email was forwarded as an attachment. On my end, I now have an email with two attachments: the VCAL, and the forwarded email. The latter also has a copy of the VCAL attachment. Lightning detects the first VCAL attachment and woks fine. Double clicking on the forwarded email attachment will open that email in a new window where Lightning will then throw the following error, as it sees the VCAL sub-attachment. Error: convertToHTML: Cannot create itipItem: TypeError: msgUrl.msgWindow has no properties Source File: file:///home/<user>/.mozilla-thunderbird/wy55v6is.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/lightningTextCalendarConverter.js Line: 183 Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgMessageService.messageURIToMsgHdr]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://lightning/content/imip-bar.js :: getMsgImipMethod :: line 225" data: no] Source File: chrome://lightning/content/imip-bar.js Line: 225 The following is the email source (private information stripped) which caused the problem, as described above: From - Wed Feb 27 08:45:06 2008 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Received: from localhost ([127.0.0.1]) by xxxxx (IceWarp 9.1.1) with SMTP id HRT40446 for <xxxxx>; Wed, 27 Feb 2008 08:44:46 -0700 Date: Wed, 27 Feb 2008 08:44:45 -0700 From: xxxxx <xxxxx> Reply-To: xxxxx <xxxxx> To: xxxxx Subject: Fw: xxxxx Message-ID: <a0212efe725ef2f54814a676f1dfd07a@xxxxx> X-Mailer: IceWarp Web Mail 5.6.7 X-Originating-IP: 192.168.0.21 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--8865A7AA561E2665BFBE9E0BE847875A" This is a multi-part message in MIME format. ----8865A7AA561E2665BFBE9E0BE847875A Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit -----Original message----- From: "xxxxx" xxxxx Date: Mon, 11 Feb 2008 08:07:41 -0700 To: "xxxxx" xxxxx Subject: xxxxx BEGIN:VCALENDAR PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN VERSION:2.0 METHOD:REQUEST BEGIN:VEVENT ATTENDEE;CN="xxxxx";ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:xxxxx ORGANIZER:MAILTO:xxxxx DTSTART:20080222T160000Z DTEND:20080222T230000Z LOCATION:xxxxx TRANSP:OPAQUE SEQUENCE:0 UID:040000008200E00074C5B7101A82E00800000000E0520D2C856CC8010000000000000000100 000008447DB7D71B73D408B3CDEEA27CD6024 DTSTAMP:20080211T150740Z DESCRIPTION:*~*~*~*~*~*~*~*~*~*\n\n SUMMARY:xxxxx PRIORITY:5 CLASS:PUBLIC END:VEVENT END:VCALENDAR ----8865A7AA561E2665BFBE9E0BE847875A Content-Type: message/rfc822; name="xxxxx" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xxxxx" Received: from xxxxx ([192.168.0.21]) by xxxxx (IceWarp 9.1.1) with SMTP id RRS90345; Mon, 11 Feb 2008 08:07:45 -0700 From: "xxxxx" <xxxxx> To: "xxxxx" <xxxxx> Subject: xxxxx Date: Mon, 11 Feb 2008 08:07:41 -0700 Message-ID: <PJEHIKHKIBMPKHNDGOEHIENOEBAA.xxxxx> MIME-Version: 1.0 Content-Type: text/calendar; method=REQUEST; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 BEGIN:VCALENDAR PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN VERSION:2.0 METHOD:REQUEST BEGIN:VEVENT ATTENDEE;CN=3D"xxxxx";ROLE=3DREQ-PARTICIPANT;RSVP=3DTRUE:MAILTO:xxxxx ORGANIZER:MAILTO:xxxxx DTSTART:20080222T160000Z DTEND:20080222T230000Z LOCATION:xxxxx TRANSP:OPAQUE SEQUENCE:0 UID:040000008200E00074C5B7101A82E00800000000E0520D2C856CC8010000000000000= 000100 000008447DB7D71B73D408B3CDEEA27CD6024 DTSTAMP:20080211T150740Z DESCRIPTION:*~*~*~*~*~*~*~*~*~*\n\n SUMMARY:xxxxx PRIORITY:5 CLASS:PUBLIC END:VEVENT END:VCALENDAR ----8865A7AA561E2665BFBE9E0BE847875A-- Reproducible: Always Steps to Reproduce: 1. Open an attachment which contains a VCAL sub-attachment 2 [review]. Check Error Console
What Lightning version do you use? What Thunderbird version do you use?
It would be probably helpful too if you could export the entire email from Thunderbird and attach it here.
Thunderbird: latest stable Ubuntu Gutsy build: "Gutsy (2.0.0.6+nobinonly-0ubuntu1): main/web" Lightning: latest stable Linux x86 version available from mozilla.org: https://addons.mozilla.org/en-US/thunderbird/addon/2313 I am not sure where else to find the requested information about the build versions. About attaching the email, I will mark it on my TODO list for tomorrow when I get into work.
This bug also appears in the following Ubuntu builds: 2.0.0.8~pre071022+nobinonly-0ubuntu0.7.10 2.0.0.12+nobinonly-0ubuntu0.7.10.0
I can confirm the error message by opening the attached .eml file using Lightning 0.8pre (2008022908) + Thunderbird 2.0.0.13pre (2008022903) on Windows XP. Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMessageService.messageURIToMsgHdr]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://lightning/content/imip-bar.js :: getMsgImipMethod :: line 205" data: no] http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/calendar/lightning/content/imip-bar.js&rev=1.1.2.11&mark=204-205#199
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Lightning Only → E-mail based Scheduling (iTIP/iMIP)
QA Contact: lightning → email-scheduling
Using Lightning 0.9pre 2008-08-21 18 / Thunderbird 2.0.0.16 / WinXP I receive this error every time that Thunderbird downloads meetings invitations, it doesn't matter if I'm in the Inbox when Thunderbird downloads it, and it doesn't matter if the invitation is from Lightning or Outlook 2007: Error: convertToHTML: Cannot create itipItem: TypeError: msgUrl.msgWindow has no properties Source File: file:///C:/Data/Databases/Thunderbird/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/lightningTextCalendarConverter.js Line: 235 I don't receive the additional errors that the other bug posters mentioned. (I'm curious why Lightning parses all downloaded mail. I would think that Lightning would wait until the user clicks on an invitation email.)
@Pete, I think this is the invitation-counter searching for unanswered invites?
The error message is different with Thunderbird 2.0.0.17/Lightning 0.9, but the general problem remains; no blue invitation bar above the message body (instead, it shows above the message body in the _Preview Pane_ and not in the new message window ... even if the message in the preview pane belongs to an entirely different message or account!) For reference, here are the errors that show up when opening the attached^ .eml file while the Preview Pane is hidden (by selecting the account name instead of a folder, so that the common tasks page appears) ~ Error: msgHdr.folder has no properties Source File: chrome://lightning/content/imip-bar.js Line: 349 Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMessenger.msgHdrFromURI]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://lightning/content/imip-bar.js :: getMsgRecipient :: line 335" data: no] Source File: chrome://lightning/content/imip-bar.js Line: 335 FWIW, with a message displayed in the Preview Pane, only the first error message is logged. I can't seem to gather the full build IDs for Thunderbird/Lightning, if those would be helpful to anyone, just let me know how I can get this information! Thanks.
Depends on: 467001
Jason, is this still anissue with Lightning 3.3.1?
Flags: needinfo?(parasyte)
@MakeMyDay Sorry, I'm no longer using Thunderbird/Lightning.
Flags: needinfo?(parasyte)
Thanks, Jason. Resolving WFM due to a missing current confirmation. If the issue still exists for anybody, feel free to reopen or file a new bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: