10 Mart 2010

ODIP bug with Custom plugin

If you are getting the following error while trying to run a beatiful custom plugin:

java.util.Vector cannot be cast to [B
at oracle.ldap.odip.web.DIPSyncBean.mapExecute(DIPSyncBean.java:1021)
at oracle.ldap.odip.web.DIPSyncBean.execMapping(DIPSyncBean.java:474)
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(DIPSyncBean.java:352)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(DIPSync_2r3ocw_EOImpl.java:65)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(SyncQuartzJobImpl.java:178)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)



please make sure that there is no space chars between attribute mapping parameters. it is a nasty odip bug


I got this error caused by the following disastrous configuration difference:

Does not work:
userPrincipalName: : :user:displayName: :inetorgperson: PLUGIN#MyPlugin(userPrincipalName)

and this works:
userPrincipalName: : :user:displayName: :inetorgperson:PLUGIN#MyPlugin(userPrincipalName)

Hiç yorum yok: