Symptom
Getting below error while running Schedule Offering Connector:
Unexpected Error.while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName' java.lang.NullPointerException: while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName' at sun.util.calendar.ZoneInfoFile.readZoneInfoFile(ZoneInfoFile.java:1042) at sun.util.calendar.ZoneInfoFile.createZoneInfo(ZoneInfoFile.java:596) at sun.util.calendar.ZoneInfoFile.getZoneInfo(ZoneInfoFile.java:566) at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:663) at java.util.TimeZone.getTimeZone(TimeZone.java:566) at java.util.TimeZone.getTimeZone(TimeZone.java:562) at com.plateausystems.connector.consumer.scheduleoffering.impl.ScheduleOfferingConnectorServiceImpl.processData(ScheduleOfferingConnectorServiceImpl.java:55) at com.plateausystems.connector.consumer.impl.BaseConnectorServiceImpl.processPlateauInterfaceEntity(BaseConnectorServiceImpl.java:881) at sun.reflect.GeneratedMethodAccessor2533.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.plateausystems.elms.framework.perfmonitor.impl.ServicePerformanceMonitorInterceptor.invoke(ServicePerformanceMonitorInterceptor.java:41) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.plateausystems.elms.framework.usagestatistics.impl.UsageStatisticsInterceptor.invoke(UsageStatisticsInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.plateausystems.elms.framework.authorization.impl.ServiceAuthorizationInterceptor.invoke(ServiceAuthorizationInterceptor.java:127) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.plateausystems.elms.framework.localization.DataLocalizationInterceptor.invoke(DataLocalizationInterceptor.java:72) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy1974.processPlateauInterfaceEntity(Unknown Source) at com.plateausystems.connector.consumer.impl.BaseConsumerControllerServiceImpl.invokeConnector(BaseConsumerControllerServiceImpl.java:502) at com.plateausystems.connector.consumer.impl.BaseConsumerControllerServiceImpl. |
Environment
SuccessFactor Learning
Learning Management System
Reproducing the Issue
- Goto System Admin -> Connectors -> Schedule Offering Connector
- Scheudle the connector job
- The Connector will get failed with below error details:
Unexpected Error.while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName'
java.lang.NullPointerException: while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName'
at sun.util.calendar.ZoneInfoFile.readZoneInfoFile(ZoneInfoFile.java:1042)
at sun.util.calendar.ZoneInfoFile.createZoneInfo(ZoneInfoFile.java:596)
at sun.util.calendar.ZoneInfoFile.getZoneInfo(ZoneInfoFile.java:566)
at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:663)
at java.util.TimeZone.getTimeZone(TimeZone.java:566)
at java.util.TimeZone.getTimeZone(TimeZone.java:562)
Cause
This issue is due to the default time zone is not mapped to Schedule Offering connector under System admin - > Configuration - > System Configuration - > Connector property file:
scheduleoffering.connector.defaultValue.timezone=
Resolution
Update the time zone field for Schedule Offering connector under:
- System Admin -> Configuration -> System Configuration
- Under CONNECTORS, update the time zone field for the property "scheduleoffering.connector.defaultValue.timezone="
- For example, scheduleoffering.connector.defaultValue.timezone=America/New_York
Keywords
Schedule Offering Connector null object loaded from local variable 'fileName' , KBA , LOD-SF-LMS-CON , Connectors , Problem
Product
SAP SuccessFactors Learning all versions