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)

Atlassian JIRA | Shannon Mackie [Atlassian] | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    # Click . . . Next to Calendar, select *Subscribe* # Copy the .ics link # In iCal, *File > New Calendar Subscription...* # Paste .ics URL. # Error: {quote}There was an error subscribing to the calendar. There was an unexpected error with the request on subscribed calendars (error -1).{quote} !Screen Shot 2014-11-10 at 16.22.36.jpg|thumbnail! Error generated in the logs: {noformat}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{noformat} h4. 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.

    Atlassian JIRA | 2 years ago | Shannon Mackie [Atlassian]
    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)
  2. 0

    # Click . . . Next to Calendar, select *Subscribe* # Copy the .ics link # In iCal, *File > New Calendar Subscription...* # Paste .ics URL. # Error: {quote}There was an error subscribing to the calendar. There was an unexpected error with the request on subscribed calendars (error -1).{quote} !Screen Shot 2014-11-10 at 16.22.36.jpg|thumbnail! Error generated in the logs: {noformat}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{noformat} h4. 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.

    Atlassian JIRA | 2 years ago | Shannon Mackie [Atlassian]
    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)

    Root Cause Analysis

    1. 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)

      at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo()
    2. jersey-core
      StreamingOutputProvider.writeTo
      1. com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
      2. com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
      2 frames