Error: reference to undefined XML name http://schemas.microsoft.com/exchange/services/2006/types::CalendarItemType

Bug #723594 reported by Patrik Martinsson on 2011-02-23
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exchange Data Provider for Lightning
Undecided
Unassigned

Bug Description

I'm trying to use this together with our Exchange 2010 and I got it to work partially, half of my calendar loads and everything seems to be fine, but after a while it stops loading and the following error-message is shown,

Error: reference to undefined XML name http://schemas.microsoft.com/exchange/services/2006/types::CalendarItemType
Source File: file:///usr/lib64/mozilla/extensions/%7B3550f703-e582-4d05-9a08-453d09bdfdc6%7D/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///home/user/.thunderbird<email address hidden>/js/soapin.js
Line: 532

I don't really know how to debug it further, but I'm glad to help if I get some guidelines of what to do.
I've enabled the calendar.debug.log and there is a lot printed to the console, however I don't really feel comfortable giving away my whole calendar, but if there is some way to isolate the error, I'm glad to help as stated earlier.

Last line is from the terminal is,
 70a37049-f0b1-42a5-9d35-a03c4102b5dc/testcalendar: getItemReply

I've also got alot of these errors in the error console,
Error: nextOcc is null
Source File: file:///usr/lib64/mozilla/extensions/%7B3550f703-e582-4d05-9a08-453d09bdfdc6%7D/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///home/a001584/.thunderbird<email address hidden>/js/soapin.js
Line: 392

Thanks !

Simon Schubert (corecode) wrote :

That is weird... can you capture a full debug log with the latest version?

Changed in lightning-exchange-provider:
status: New → Incomplete
Simon Schubert (corecode) wrote :

Likely related to this: <http://groups.google.com/group/netscape.public.mozilla.jseng/msg/1e756e711720e1c5>. For that I need a full debug log.

Stefan Bn (stefanbn) wrote :
Download full text (9.2 KiB)

Obviously I have the same issue; I can't use the calender at all. Obviously it connects and transmits several calendar items, finally there is:

ERROR: reference to undefined XML name http://schemas.microsoft.com/exchange/services/2006/types::CalendarItemType
Source: resource://calendar/modules/calUtils.jsm -> file:///C:/Dokumente%20und%20Einstellungen/Stefan/Anwendungsdaten/Thunderbird/<email address hidden>/js/soapin.js
Line: 533

I highly would appreciate if this could be fixed, since I can't use TB otherwise :-(

Here's my full log:

 ----------
unknown [object Object]: User:XXX\xxxxxx

 ----------
unknown [object Object]: Server: https://XXX\<email address hidden>/EWS/Exchange.asmx

 ----------
[...]
 ----------
getInterfaces called

 ----------
[calCachedCalendar] Doing full sync for calendar https://XXX%<email address hidden>/EWS/Exchange.asmx
 ----------
getInterfaces called

 ----------
[...]
 ----------
getInterfaces called

 ----------
WARNING: getAttributeNodeNS() sollte nicht mehr verwendet werden. Verwenden Sie stattdessen getAttributeNS().
Quelldatei: chrome://messenger/content/messenger.xul
 ----------
getInterfaces called

 ----------
[...]
 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: Init

 ----------
getInterfaces called

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: queueRequest

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: queueRequest

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: do init

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: getAccount

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: USER: XXX\xxxxxxxxx

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: setup req to https://XXX\<email address hidden>/EWS/Exchange.asmx user XXX\xxxxxxx

 ----------
getInterfaces called

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: Sending: <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2007_SP1"/>
  </soap:Header>
  <soap:Body>
    <m:FindItem Traversal="Shallow">
      <m:ItemShape>
        <t:BaseShape>IdOnly</t:BaseShape>
        <t:AdditionalProperties>
          <t:FieldURI FieldURI="calendar:UID"/>
          <t:FieldURI FieldURI="calendar:CalendarItemType"/>
        </t:AdditionalProperties>
      </m:ItemShape>
      <m:Restriction>
        <t:IsEqualTo>
          <t:FieldURI FieldURI="item:ItemClass"/>
          <t:FieldURIOrConstant>
            <t:Constant Value="IPM.Schedule.Meeting.Request"/>
          </t:FieldURIOrConstant>
        </t:IsEqualTo>
      </m:Restriction>
      <m:ParentFolderIds>
        <t:DistinguishedFolderId Id="inbox"/>
      </m:ParentFolderIds>
    </m:FindItem>
  </soap:Body>
</soap:Envelope>

 ----------
2dee7ca4-06ab-4790-a502-b72d40e5cb0d/ICCAS: setup req to https://XXX\<email address hidden>/EWS/Exchange.asmx user XXX\xxxxxx

 ----------
getInterfaces called

 ----------
2dee7ca4-06ab-4790...

Read more...

Simon Schubert (corecode) wrote :

Hi, could you please give me the output of all items, or if you want to look yourself, check if there is one CalendarItem that does *not* have a CalendarItemType?

Changed in lightning-exchange-provider:
status: Incomplete → Confirmed
Stefan Bn (stefanbn) wrote :

I've checked all items. All do have a CalendarItem.

Each has either:

<t:CalendarItemType>Single</t:CalendarItemType>

or

<t:CalendarItemType>RecurringMaster</t:CalendarItemType>

That's the only two types.

Simon Schubert (corecode) wrote :

Then I don't know what causes this bug. Could you please provide the full output of the FindItemResponse? You should remove personal data.

Stefan Bn (stefanbn) wrote :

Is it okay if I send you the full output via private message? I'm not sure how to keep personal data safe :-) (Will to this tomorrow).

Simon Schubert (corecode) wrote :

No problem! Send it to 2@0x2c.org.

Stefan Bn (stefanbn) wrote :

Did you receive my full log? Did you find out something?

Simon Schubert (corecode) wrote :

Yes, thanks. Odd thing.

Essentially it is a non-bounded search query, and it also contains a random Message between the CalendarItems. I'll have to see what needs to be done.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers