Attachment herewith.
On Oct 1, 2014 11:15 AM, "Suresh Ajja" <[email protected]> wrote:
> I ticked the 'full reconciliation' and provided change column number with
> timestamp value in connector configuration. Getting null pointer exception
> now.
>
> PFA the error.
>
> - Suresh
> On Sep 30, 2014 11:47 AM, "Francesco Chicchiriccò" <[email protected]>
> wrote:
>
>> On 30/09/2014 07:20, Suresh Ajja wrote:
>>
>>> Hi,
>>>
>>> Created a synchronization task for an end application resource.
>>> While executing this task, it throws an error. Attached herewith is the
>>> error.
>>>
>>
>> The error says "Changelog column name configuration property is empty":
>> you are using the database table connector, whose configuration reference
>> [1] says
>>
>> The adapter also supports Active Sync to poll for account changes. To
>>> allow Active Sync capabilities, specify the changeLogColumn.
>>>
>>
>> What is happening then? You haven't configured the active synchronization
>> for this connector, but since the "Full reconciliation" option of the
>> synchronization task was not set, Syncope is querying the connector for
>> active synchronization. Then the error.
>>
>> This was working in Syncope 1.1.8
>>>
>>
>> I don't think so, given what said above.
>>
>> Regards.
>>
>> Kindly provide us some fix.
>>>
>>> Thanks and Regards,
>>> Suresh
>>>
>>
>> [1] https://connid.atlassian.net/wiki/display/BASE/Database+
>> Table#DatabaseTable-Configuration
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
>> http://people.apache.org/~ilgrosso/
>>
>>
>>
JobExecutionException: While syncing on connector
org.quartz.JobExecutionException: While syncing on connector [See nested
exception: java.lang.NullPointerException]
at
org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:186)
at
org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:56)
at
org.apache.syncope.core.sync.impl.AbstractSyncJob.doExecute(AbstractSyncJob.java:338)
at
org.apache.syncope.core.quartz.AbstractTaskJob.execute(AbstractTaskJob.java:125)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1106)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:955)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:948)
at java.text.DateFormat.format(DateFormat.java:336)
at org.apache.syncope.core.util.DataFormat.format(DataFormat.java:65)
at org.apache.syncope.core.util.DataFormat.format(DataFormat.java:56)
at org.apache.syncope.core.util.DataFormat.format(DataFormat.java:52)
at
org.apache.syncope.core.persistence.beans.AbstractAttrValue.getValueAsString(AbstractAttrValue.java:243)
at
org.apache.syncope.core.connid.ConnObjectUtil.getSubjectTOFromConnObject(ConnObjectUtil.java:336)
at
org.apache.syncope.core.connid.ConnObjectUtil.getSubjectTO(ConnObjectUtil.java:159)
at
org.apache.syncope.core.connid.ConnObjectUtil$$FastClassBySpringCGLIB$$ddf4b7c0.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
at
org.apache.syncope.core.connid.ConnObjectUtil$$EnhancerBySpringCGLIB$$2d1dbc91.getSubjectTO(<generated>)
at
org.apache.syncope.core.sync.impl.AbstractSubjectSyncResultHandler.create(AbstractSubjectSyncResultHandler.java:142)
at
org.apache.syncope.core.sync.impl.AbstractSubjectSyncResultHandler.doHandle(AbstractSubjectSyncResultHandler.java:567)
at
org.apache.syncope.core.sync.impl.AbstractSubjectSyncResultHandler.handle(AbstractSubjectSyncResultHandler.java:90)
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy$2.handle(ConnectorFacadeProxy.java:397)
at
org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHandlerAdapter.handle(StreamHandlerUtil.java:89)
at
org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(BufferedResultsProxy.java:255)
at
org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:94)
at com.sun.proxy.$Proxy208.search(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy.java:77)
at com.sun.proxy.$Proxy208.search(Unknown Source)
at
org.identityconnectors.framework.impl.api.AbstractConnectorFacade.search(AbstractConnectorFacade.java:173)
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy.search(ConnectorFacadeProxy.java:522)
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy.getAllObjects(ConnectorFacadeProxy.java:387)
at
org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:153)
... 5 more
NullPointerException:
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1106)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:955)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:948)
at java.text.DateFormat.format(DateFormat.java:336)
at org.apache.syncope.core.util.DataFormat.format(DataFormat.java:65)
at org.apache.syncope.core.util.DataFormat.format(DataFormat.java:56)
at org.apache.syncope.core.util.DataFormat.format(DataFormat.java:52)
at
org.apache.syncope.core.persistence.beans.AbstractAttrValue.getValueAsString(AbstractAttrValue.java:243)
at
org.apache.syncope.core.connid.ConnObjectUtil.getSubjectTOFromConnObject(ConnObjectUtil.java:336)
at
org.apache.syncope.core.connid.ConnObjectUtil.getSubjectTO(ConnObjectUtil.java:159)
at
org.apache.syncope.core.connid.ConnObjectUtil$$FastClassBySpringCGLIB$$ddf4b7c0.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
at
org.apache.syncope.core.connid.ConnObjectUtil$$EnhancerBySpringCGLIB$$2d1dbc91.getSubjectTO(<generated>)
at
org.apache.syncope.core.sync.impl.AbstractSubjectSyncResultHandler.create(AbstractSubjectSyncResultHandler.java:142)
at
org.apache.syncope.core.sync.impl.AbstractSubjectSyncResultHandler.doHandle(AbstractSubjectSyncResultHandler.java:567)
at
org.apache.syncope.core.sync.impl.AbstractSubjectSyncResultHandler.handle(AbstractSubjectSyncResultHandler.java:90)
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy$2.handle(ConnectorFacadeProxy.java:397)
at
org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHandlerAdapter.handle(StreamHandlerUtil.java:89)
at
org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(BufferedResultsProxy.java:255)
at
org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:94)
at com.sun.proxy.$Proxy208.search(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy.java:77)
at com.sun.proxy.$Proxy208.search(Unknown Source)
at
org.identityconnectors.framework.impl.api.AbstractConnectorFacade.search(AbstractConnectorFacade.java:173)
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy.search(ConnectorFacadeProxy.java:522)
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy.getAllObjects(ConnectorFacadeProxy.java:387)
at
org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:153)
at
org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:56)
at
org.apache.syncope.core.sync.impl.AbstractSyncJob.doExecute(AbstractSyncJob.java:338)
at
org.apache.syncope.core.quartz.AbstractTaskJob.execute(AbstractTaskJob.java:125)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)