Issue #390 has been updated by Clément OUDOT. Status changed from Assigned to Feedback % Done changed from 0 to 100
---------------------------------------- Bug #390: Config errors result in NPEs http://tools.lsc-project.org/issues/390 Author: Robin Garner Status: Feedback Priority: Normal Assigned to: Sébastien Bahloul Category: Core Target version: 2.0 Problem in version: 2.0rc1 Missing mandatory elements in the config result in NullPointerExceptions, which the default logging displays to the user as Jan 18 17:44:53 - ERROR - org.lsc.exception.LscConfigurationException: java.lang.reflect.InvocationTargetException with no other clue as to what is wrong. The root cause is that unconfigured elements result in null values in fields, which aren't checked before being accessed. I can think of several fixes: - Add a validation pass after parsing the config file - Provide defaults for elements that aren't validated - Validate config entries at the point where they're accessed -- 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

