[lsc-dev] [LDAP Synchronization Connector - Bug #501] (Closed) Incorrect error message while trying a configuration with a bad hostname

noreply at lsc-project.org noreply at lsc-project.org
Fri Sep 28 15:07:06 CEST 2012


Issue #501 has been updated by Raphaël Ouazana.

Status changed from New to Closed
Assigned to set to Raphaël Ouazana
% Done changed from 0 to 100


----------------------------------------
Bug #501: Incorrect error message while trying a configuration with a bad hostname
http://tools.lsc-project.org/issues/501

Author: Raphaël Ouazana
Status: Closed
Priority: Normal
Assigned to: Raphaël Ouazana
Category: Core
Target version: 2.0.1
Problem in version: 2.0


With a bad hostname in the url of ldapConnection, I get the following error:

juil. 02 09:23:45 - DEBUG - org.lsc.exception.LscConfigurationException: java.lang.reflect.InvocationTargetException
org.lsc.exception.LscConfigurationException: java.lang.reflect.InvocationTargetException
	at org.lsc.Task.<init>(Task.java:124) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:103) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:145) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.Launcher.run(Launcher.java:223) [lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.Launcher.launch(Launcher.java:158) [lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.Launcher.main(Launcher.java:141) [lsc-core-2.0-SNAPSHOT.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_03]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_03]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_03]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525) ~[na:1.7.0_03]
	at org.lsc.Task.<init>(Task.java:104) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	... 5 common frames omitted
Caused by: java.lang.NoSuchMethodError: org.apache.directory.shared.i18n.I18n.err(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	at org.apache.directory.shared.ldap.util.LdapURL.parse(LdapURL.java:181) ~[shared-ldap-0.9.19.jar:na]
	at org.apache.directory.shared.ldap.util.LdapURL.<init>(LdapURL.java:313) ~[shared-ldap-0.9.19.jar:na]
	at org.lsc.jndi.JndiServices.getLdapProperties(JndiServices.java:363) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.jndi.JndiServices.getInstance(JndiServices.java:457) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.jndi.AbstractSimpleJndiService.<init>(AbstractSimpleJndiService.java:174) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	at org.lsc.jndi.SimpleJndiDstService.<init>(SimpleJndiDstService.java:97) ~[lsc-core-2.0-SNAPSHOT.jar:na]
	... 10 common frames omitted

Maybe a dependency issue?


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20120928/3dea6536/attachment.htm>


More information about the lsc-dev mailing list