Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-49992

Adding a recurring events is throwing NullPointerExceptons when generating notification

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      While trying to diagnose an issue for a BTF customer, we noticed a large number of the following in the Confluence logs

      @40000000526e4fa92f134ec4 Caused by: java.lang.NullPointerException
      @40000000526e4fa92f135694 	at javax.mail.util.ByteArrayDataSource.<init>(ByteArrayDataSource.java:87)
      @40000000526e4fa92f135a7c 	at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:216)
      @40000000526e4fa92f13624c 	at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:184)
      @40000000526e4fa92f136634 	at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager.createBaseEventNotification(DefaultCalendarNotificationManager.java:435)
      @40000000526e4fa92f1371ec 	at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager.sendEventAddedNotification(DefaultCalendarNotificationManager.java:360)
      @40000000526e4fa92f13818c 	at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager.notifyEventAdded(DefaultCalendarNotificationManager.java:233)
      @40000000526e4fa92f13895c 	... 288 more
      

      The problem is coming out of /com/atlassian/confluence/extra/calendar3/notification/DefaultCalendarNotificationManager.java:435

      infoIconBodyPart.setDataHandler(new DataHandler(dataSourceFactory.getServletContainerResource("/images/icons/emoticons/information.gif", "information.gif")));
      

      That resource was previously being pulled from
      confluence-webapp/src/main/webapp/images/icons/emoticons/information.gif

      but was removed by d67dbc5 on 11/01/2013

      Attachments

        Issue Links

          Activity

            People

              dchui DavidA
              igerges Issac Gerges (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: