Issue #168 has been updated by Jonathan Clarke.

Status changed from New to Closed
Assigned to set to Jonathan Clarke
Target version changed from 1.2 branch to 1.2.0
% Done changed from 0 to 100
Estimated time set to 1.00

Thanks for this, Frédéric.

AbstractSimpleJndiService never checked it's configuration properties, so ended 
up throwing a NullPointerException for no apparent reason.

I have fixed this so that a nicer error message is logged:
<pre>
258  - ERROR - Error while launching the following task: FirstTask. Please 
check your configuration! (java.lang.RuntimeException: No filterId property 
specified in org.lsc.jndi.SimpleJndiDstService. Aborting.)
</pre>

Fix will be in 1.2.0 and tonight's snapshot version.
----------------------------------------
Bug #168: lsc fails with unrelevant message due to bad config file
http://tools.lsc-project.org/issues/show/168

Author: Frederic Soulier
Status: Closed
Priority: Normal
Assigned to: Jonathan Clarke
Category: Core
Target version: 1.2.0


Using a bad taskname in the file lsc.properties for pivot attribute declaration 
run in issue with unrelevant error messages :

 java.lang.NullPointerException: null
        at java.util.regex.Matcher.getTextLength(Matcher.java:1140) 
[na:1.6.0_15]
        at java.util.regex.Matcher.reset(Matcher.java:291) [na:1.6.0_15]
        at java.util.regex.Matcher.<init>(Matcher.java:211) [na:1.6.0_15]
        at java.util.regex.Pattern.matcher(Pattern.java:888) [na:1.6.0_15]
        at 
org.lsc.jndi.AbstractSimpleJndiService.get(AbstractSimpleJndiService.java:273) 
[lsc-core-1.2-SNAPSHOT.jar:na]
        at 
org.lsc.jndi.SimpleJndiDstService.getBean(SimpleJndiDstService.java:109) 
[lsc-core-1.2-SNAPSHOT.jar:na]
        at 
org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:338) 
[lsc-core-1.2-SNAPSHOT.jar:na]
        at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:256) 
[lsc-core-1.2-SNAPSHOT.jar:na]
        at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:149) 
[lsc-core-1.2-SNAPSHOT.jar:na]
        at org.lsc.Launcher.run(Launcher.java:129) 
[lsc-core-1.2-SNAPSHOT.jar:na]
        at org.lsc.Launcher.main(Launcher.java:112) 
[lsc-core-1.2-SNAPSHOT.jar:na]


-- 
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
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to