Buggy code:
public class GenericLanguageConnectionFactory implements CacheableFactory , ModuleControl , ModuleSupportable , PropertySetCallback , LanguageConnectionFactory { protected DataDictionary dd ; private ExecutionFactory ef ; private OptimizerFactory of ; private TypeCompilerFactory tcf ; private DataValueFactory dvf ; private UUIDFactory uuidFactory ; private JavaFactory javaFactory ; private ClassFactory classFactory ; private NodeFactory nodeFactory ; private AccessFactory af ; private PropertyFactory pf ; private int nextLCCInstanceNumber ; private int cacheSize = Property . STATEMENT_CACHE_SIZE_DEFAULT ; private CacheManager singleStatementCache ; public GenericLanguageConnectionFactory ( ) { } public Statement getStatement ( SchemaDescriptor compilationSchema , String statementText ) { } public LanguageConnectionContext newLanguageConnectionContext ( ContextManager cm , TransactionController tc , LanguageFactory lf , Database db , String userName , String drdaID , String dbname ) throws StandardException { } public Cacheable newCacheable ( CacheManager cm ) { } public UUIDFactory getUUIDFactory ( ) { } public ClassFactory getClassFactory ( ) { } public JavaFactory getJavaFactory ( ) { } public NodeFactory getNodeFactory ( ) { } public ExecutionFactory getExecutionFactory ( ) { } public AccessFactory getAccessFactory ( ) { } public PropertyFactory getPropertyFactory ( ) { } public OptimizerFactory getOptimizerFactory ( ) { } public TypeCompilerFactory getTypeCompilerFactory ( ) { } public DataValueFactory getDataValueFactory ( ) { } protected void pushDataDictionaryContext ( ContextManager cm ) { } public boolean canSupport ( Properties startParams ) { } private int statementCacheSize ( Properties startParams ) { } public void boot ( boolean create , Properties startParams ) throws StandardException { } protected void bootDataDictionary ( boolean create , Properties startParams ) throws StandardException { } public CacheManager getStatementCache ( ) { } public void stop ( ) { } public void init ( boolean dbOnly , Dictionary p ) { } public boolean validate ( String key , Serializable value , Dictionary p ) throws StandardException { if ( value == null ) return true ; else if ( key . equals ( DEFAULT_CONNECTION_MODE_PROPERTY ) ) { String value_s = ( ( String ) ( value ) ) ; if ( ( ( ( value_s != null ) && ( ! ( StringUtil . SQLEqualsIgnoreCase ( value_s , NO_ACCESS ) ) ) ) && ( ! ( StringUtil . SQLEqualsIgnoreCase ( value_s , READ_ONLY_ACCESS ) ) ) ) && ( ! ( StringUtil . SQLEqualsIgnoreCase ( value_s , FULL_ACCESS ) ) ) ) throw StandardException . newException ( AUTH_INVALID_AUTHORIZATION_PROPERTY , key , value_s ) ; return true ; } else if ( ( key . equals ( READ_ONLY_ACCESS_USERS_PROPERTY ) ) || ( key . equals ( FULL_ACCESS_USERS_PROPERTY ) ) ) { String value_s = ( ( String ) ( value ) ) ; String [ ] newList_a ; try { newList_a = IdUtil . parseIdList ( value_s ) ; } catch ( StandardException se ) { <START_BUG> throw StandardException . newException ( AUTH_INVALID_AUTHORIZATION_PROPERTY , key , value_s , se ) ; <END_BUG> } String dups = IdUtil . dups ( newList_a ) ; if ( dups != null ) throw StandardException . newException ( AUTH_DUPLICATE_USERS , key , dups ) ; String [ ] otherList_a ; String otherList ; if ( key . equals ( READ_ONLY_ACCESS_USERS_PROPERTY ) ) otherList = ( ( String ) ( p . get ( FULL_ACCESS_USERS_PROPERTY ) ) ) ; else otherList = ( ( String ) ( p . get ( READ_ONLY_ACCESS_USERS_PROPERTY ) ) ) ; otherList_a = IdUtil . parseIdList ( otherList ) ; String both = IdUtil . intersect ( newList_a , otherList_a ) ; if ( both != null ) throw StandardException . newException ( AUTH_USER_IN_READ_AND_WRITE_LISTS , both ) ; return true ; } return false ; } public Serviceable apply ( String key , Serializable value , Dictionary p ) { } public Serializable map ( String key , Serializable value , Dictionary p ) { } protected void setValidation ( ) throws StandardException { } protected void setStore ( ) throws StandardException { } public Parser newParser ( CompilerContext cc ) { } protected synchronized int getNextLCCInstanceNumber ( ) { } }

Fix:
throw StandardException . newException ( AUTH_INVALID_AUTHORIZATION_PROPERTY , se , key , value_s ) ;