Menu

#674 NullpointerException when dismissing a calendar reminder + spamming co-workers

v4.8.3
closed-fixed
nobody
None
5
2018-06-15
2018-03-12
No

Davmail v4.8.3. Thunderbird 60 (Nightly)

The following log output occurs everytime I dismiss an event:

2018-03-12 11:51:17,222 WARN  [CaldavConnection-40992] davmail.exchange.ExchangeSession  - Overwritten event /users/my.name@
company.com/calendar/AAMkADI0N2E4xxxxxYjEtNDg0YS05ZmE5LTAzZDFhYzkyZmZjMgBGAxxxxxCVvx2TgStrQ4KCx6p9-qlvBwA69Myct
3YeR7470XhEH-m7xxxxx6VxEAAA69Myct3YeR7470XhEH-m7AAAA6fOyAAA=.EML
2018-03-12 11:51:17,222 ERROR [CaldavConnection-40992] davmail  - java.lang.NullPointerException
java.lang.NullPointerException
        at davmail.exchange.ews.ItemId.<init>(ItemId.java:59)
        at davmail.exchange.ews.ItemId.<init>(ItemId.java:39)
        at davmail.exchange.ews.EwsExchangeSession$Event.createOrUpdate(EwsExchangeSession.java:2098)
        at davmail.exchange.ews.EwsExchangeSession.internalCreateOrUpdateEvent(EwsExchangeSession.java:2588)
        at davmail.exchange.ExchangeSession.createOrUpdateItem(ExchangeSession.java:3158)
        at davmail.caldav.CaldavConnection.handleFolderOrItem(CaldavConnection.java:289)
        at davmail.caldav.CaldavConnection.handleRequest(CaldavConnection.java:227)
        at davmail.caldav.CaldavConnection.run(CaldavConnection.java:170)

Also, co-workers are complaining I keep sending invite acceptances every half an hour.
Not entirely sure if they're related but I can't seem to find more info.

Discussion

  • Mjasnik

    Mjasnik - 2018-03-19

    Hi,

    I don't have nullpointer exception, but have the same issue with a lot of response messages to meeting organizers.
    Thunderbird informs me about upcoming meeting, as soon as I press "Dismiss", reply is sent out.
    I have:
    Thunderbird 52.6.0 (64-bit)
    Davmail: davmail_4.8.3-2554-1
    Ubuntu: 16.04.4
    MS: Microsoft Exchange Server 2010

    When I use 4.8.0 there is no issue like this.
    I can try to obfuscate logs a little and attach them to this bug report.

     
  • googlebleh

    googlebleh - 2018-03-20

    I'm having the same problem. My coworkers report that I've sent multiple RSVPs "Yes" to their events, even if I don't accept. However, it only occurs when I click "Dismiss" on an event I've been invited to (I have not accepted the event). If I X out of the window, it doesn't RSVP for me.

    System Info:
    Thunderbird 52.6.0 (64-bit)
    Davmail 4.8.3-2554
    Ubuntu 17.10

    Someone else using Davmail+Thunderbird on Arch is also reporting the same problem, but he's getting NullpointerExceptions as well.

    Let me know if there's any tests I should run and provide logs for!

     
  • Mickael Guessant

    Sorry for this, it's a regression related to Caldav EWS refactoring...
    The null pointer exception should be fixed in trunk, however I still haven't a fix for the other issue:
    Notification on snooze/dismiss.

    Basically this should be detected as a simple event update, not a meeting response.
    => can someone pleas try latest svn revision ?

     
    • Mjasnik

      Mjasnik - 2018-03-21

      I built davmail from SVN and I can not accept meeting.
      Before everything, in Lighting I go to particular meeting, in "Reply" I see "I will confirm later", then I try to accept (choose "I will attend"), window closes, nothing really happens, acceptance is not sent out, after that I go into that meeting again, meeting is not accepted and "Reply" is empty, selection itself have 3 selections.

       
  • David Holm

    David Holm - 2018-04-10

    I just upgraded to DavMail 4.8.4.2570 and the NullPointerException is still happening. I don't know about the spurious event notifications yet but I'll post an update if I hear any complaints.

    2018-04-10 09:24:41,458 ERROR [CaldavConnection-39352] davmail  - java.lang.NullPointerException
    java.lang.NullPointerException
            at davmail.exchange.ews.ItemId.<init>(ItemId.java:59)
            at davmail.exchange.ews.ItemId.<init>(ItemId.java:39)
            at davmail.exchange.ews.EwsExchangeSession$Event.createOrUpdate(EwsExchangeSession.java:2100)
            at davmail.exchange.ews.EwsExchangeSession.internalCreateOrUpdateEvent(EwsExchangeSession.java:2596)
            at davmail.exchange.ExchangeSession.createOrUpdateItem(ExchangeSession.java:3158)
            at davmail.caldav.CaldavConnection.handleFolderOrItem(CaldavConnection.java:290)
            at davmail.caldav.CaldavConnection.handleRequest(CaldavConnection.java:228)
            at davmail.caldav.CaldavConnection.run(CaldavConnection.java:171)
    
     
    • David Holm

      David Holm - 2018-04-16

      It's still sending the spurious event notifications.

       
  • Mickael Guessant

    Ok, still don't exactly when response item is empty, but added a test to avoid nullpointerException in this case

     
  • Mickael Guessant

    • status: open --> pending-fixed
     
  • googlebleh

    googlebleh - 2018-04-16

    Now I'm getting NullPointerExceptions when trying to accept an event invite. After click "Accept," Thunderbird pops two error windows up: one reporting

    Processing message failed. Status: 80040111

    and the other saying

    An error occurred when writing to the calendar ***!

    Error code: MODIFICATION_FAILED
    Description: Status Code: 2147746065, The request cannot be processed.
    Server Replied with 503

    I was able to accept the event invite on a non-davmail, non-microsoft mobile app.

    System Info:
    Thunderbird 52.7.0
    Davmail 4.8.5-2589
    Ubuntu 17.10 x64

     

    Last edit: googlebleh 2018-04-16
    • Mickael Guessant

      Can you please provide more details, at least the stack trace under 4.8.5 ?

       
      • googlebleh

        googlebleh - 2018-06-01

        I'm a bit new to debugging Java. Could you point me to a resource on how to get the stack trace? When I try to launch the logger while the problem is happening, davmail consistently crashes.

        My calendar is currently in a state where the problem repeatedly happens. There was a recurring event some time ago, to which several people were invited. Technically I never accepted that I'd attend the event, but it is still in my calendar (as tentative, I guess?). Anyway, even though it happened more than a month ago, I still get daily reminders about the event. When i try to "Snooze," "Dismiss," or even just X out of the window, the same problem happens.

        Same version of davmail, Thunderbird is now 52.8.0.

         
        • Mickael Guessant

          The stack trace will be in davmail.log, please see:
          http://davmail.sourceforge.net/faq.html

           
  • Mickael Guessant

    • status: pending-fixed --> closed-fixed
     
  • Mickael Guessant

    Sould work better with 4.8.6

     

Log in to post a comment.

Monday.com Logo