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

NPE When Subscribing to .ics Calendar

    XMLWordPrintable

Details

    Description

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

      1. Click . . . Next to Calendar, select Subscribe
      2. Copy the .ics link
      3. In iCal, File > New Calendar Subscription...
      4. Paste .ics URL.
      5. Error:

        There was an error subscribing to the calendar.

        There was an unexpected error with the request on
        subscribed calendars (error -1).

      Error generated in the logs:

      2014-11-10 14:03:44.369730500 2014-11-10 14:03:44,364 ERROR [TP-Processor26] [common.error.jersey.ThrowableExceptionMapper] toResponse Server Error in REST: 500: com.sun.jersey.core.spi.factory.ResponseImpl@7abdb9
      2014-11-10 14:03:44.369733500  -- url: /wiki/rest/calendar-services/1.0/calendar/export/subcalendar/private/7c733c4ecf6990abe9e3f8098ccf5735c10e4de2.ics | userName: anonymous
      2014-11-10 14:03:44.369733500 javax.ws.rs.WebApplicationException: java.lang.NullPointerException
      2014-11-10 14:03:44.369734500 	at com.atlassian.confluence.extra.calendar3.rest.CalendarResource$22.write(CalendarResource.java:1856)
      2014-11-10 14:03:44.369749500 	at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
      2014-11-10 14:03:44.369749500 	at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
      2014-11-10 14:03:44.369750500 	at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
      ...
      2014-11-10 14:03:44.369991500 Caused by: java.lang.NullPointerException
      2014-11-10 14:03:44.369992500 	at net.fortuna.ical4j.model.PropertyList.getProperty(PropertyList.java:99)
      2014-11-10 14:03:44.369992500 	at net.fortuna.ical4j.transform.PublishTransformer.transform(PublishTransformer.java:73)
      2014-11-10 14:03:44.369993500 	at com.atlassian.confluence.extra.calendar3.util.CalendarExportTransformer.transform(CalendarExportTransformer.java:72)
      2014-11-10 14:03:44.369995500 	at com.atlassian.confluence.extra.calendar3.DefaultICalendarExporter.getTransformedSubCalendarContent(DefaultICalendarExporter.java:144)
      2014-11-10 14:03:44.369996500 	at com.atlassian.confluence.extra.calendar3.DefaultICalendarExporter.export(DefaultICalendarExporter.java:64)
      2014-11-10 14:03:44.369997500 	at com.atlassian.confluence.extra.calendar3.rest.CalendarResource$22.write(CalendarResource.java:1852)
      2014-11-10 14:03:44.369999500 	... 232 more

      Temporary Workaround - Restart Confluence

      May be related to TEAMCAL-2527. This does not occur on all instances of Team Calendar, so it could still be part of the timezone issues.

      Attachments

        Issue Links

          Activity

            People

              tquanghua Thinh Quang Hua (Inactive)
              smackie@atlassian.com Shannon S
              Votes:
              6 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: