SAP Knowledge Base Article - Public

2802777 - Class Connector Error - Unexpected Error.while trying to invoke the method java.sql.Timestamp.toString() of a null object loaded from local variable 'timestamp'

Symptom

The Class Connector 'View Errors' report shows an unexpected error message:


Unexpected Error.while trying to invoke the method java.sql.Timestamp.toString() of a null object loaded from local variable 'timestamp'
java.lang.NullPointerException: while trying to invoke the method java.sql.Timestamp.toString() of a null object loaded from local variable 'timestamp'
 at com.plateau.common.i18n.api.I18nUtil.convertTimestamp(I18nUtil.java:411)
 at com.plateausystems.elms.util.helper.I18nUtil.convertTimestamp(I18nUtil.java:363)
 at com.plateausystems.connector.consumer.scheduleoffering.api.Segment.convertToTimezone(Segment.java:171)
 at com.plateausystems.connector.consumer.scheduleoffering.api.Segment.getScheduledSegmentVO(Segment.java:109)
 at com.plateausystems.connector.consumer.scheduleoffering.impl.ScheduleOfferingConnectorServiceImpl.processData(ScheduleOfferingConnectorServiceImpl.java:92)
 at com.plateausystems.connector.consumer.impl.BaseConnectorServiceImpl.processPlateauInterfaceEntity(BaseConnectorServiceImpl.java:885)
 at sun.reflect.GeneratedMethodAccessor2429.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 org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 at com.sun.proxy.$Proxy1252.processPlateauInterfaceEntity(Unknown Source)
 at com.plateausystems.connector.consumer.impl.BaseConsumerControllerServiceImpl.invokeConnector(BaseConsumerControllerServiceImpl.java:548)
 at com.plateausystems.connector.consumer.impl.BaseConsumerControllerServiceImpl.invokeConnector(BaseConsumerContr

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Create the file to feed the Class Connector >
  2. Upload the file to SFTP >
  3. Schedule and Run the connector >
  4. Failed with errors.

Cause

The column START_TME (Start Time) or END_TME (End Time) were left blank in the input file.

Resolution

The columns START_TME are END_TME are required fields and must be provided. If one of them are left blank in the input file, this error will happen.

START_TME: This field is the segment start time.

END_TME: This field is the segment end time.

Note: This value should be in the time zone in the Users or Class Time Zones (according to field DISPLAY_IN_SCHD_TZ (Time Zone Display Flag)) or in the  system default time zone.

Format Note: MON-DD-YYYY HH24:MI:SS

See Also

  • Connectors
  • 2291341 - Classes not added to Libraries after creation via Connector - LMS 

Keywords

unexpected, error, class, connector, java, classes, START_TME, END_TME, End Time, start, time , KBA , LOD-SF-LMS-SCH , Class - Scheduled Offerings , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning all versions