[
https://issues.apache.org/jira/browse/OFBIZ-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Carlow updated OFBIZ-6375:
------------------------------------
Attachment: OFBIZ-6375.patch
This patch checks that the timezone isn't null before attempting the getVTimeZone method.
> Visiting iCalendar/${workEffortId}/ causes ICalConverter.java null exception due to empty ICal timezone registry
> ----------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-6375
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6375> Project: OFBiz
> Issue Type: Bug
> Components: workeffort
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Attachments: OFBIZ-6375.patch
>
>
> calendar.getComponents().add(timezone.getVTimeZone()); throws null exception because it doesn't exist in the registry:
> registry: net.fortuna.ical4j.model.TimeZone timezone = registry.getTimeZone(tz.getID());
> because the registry gets returns empty:
> TimeZoneRegistryFactory.getInstance().createRegistry();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)