Buggy code:
public class LocalPageAutocompleteSqlDao extends AbstractSqlDao < LocalPage > implements LocalPageDao { private volatile TLongIntHashMap titlesToIds = null ; private RedirectSqlDao redirectSqlDao ; public LocalPageAutocompleteSqlDao ( WpDataSource dataSource ) throws DaoException { } public LocalPageAutocompleteSqlDao ( WpDataSource dataSource , boolean followRedirects ) throws DaoException { } private static final TableField [ ] INSERT_FIELDS = new TableField [ ] { LOCAL_PAGE . LANG_ID , LOCAL_PAGE . PAGE_ID , LOCAL_PAGE . TITLE , LOCAL_PAGE . NAME_SPACE , LOCAL_PAGE . IS_REDIRECT , LOCAL_PAGE . IS_DISAMBIG } ; @ Override public void save ( LocalPage page ) throws DaoException { } @ Override public Iterable < LocalPage > get ( final DaoFilter daoFilter ) throws DaoException { DSLContext context = getJooq ( ) ; try { Collection < Condition > conditions = new ArrayList < Condition > ( ) ; if ( ( daoFilter . getLangIds ( ) ) != null ) { conditions . add ( LANG_ID . in ( daoFilter . getLangIds ( ) ) ) ; } if ( ( daoFilter . getNameSpaceIds ( ) ) != null ) { conditions . add ( NAME_SPACE . in ( daoFilter . getNameSpaceIds ( ) ) ) ; } if ( ( daoFilter . isRedirect ( ) ) != null ) { conditions . add ( IS_REDIRECT . in ( daoFilter . isRedirect ( ) ) ) ; } if ( ( daoFilter . isDisambig ( ) ) != null ) { conditions . add ( IS_DISAMBIG . in ( daoFilter . isDisambig ( ) ) ) ; } Cursor < Record > result = context . select ( ) . from ( LOCAL_PAGE ) . where ( conditions ) . limit ( daoFilter . getLimitOrInfinity ( ) ) . fetchLazy ( getFetchSize ( ) ) ; return new org . wikibrain . core . dao . sql . SimpleSqlDaoIterable < LocalPage > ( result , context ) { @ Override public LocalPage transform ( Record r ) { try { return buildLocalPage ( r , daoFilter ) ; } catch ( DaoException e ) { <START_BUG> LOG . log ( Level . WARNING , e . getMessage ( ) , e ) ; <END_BUG> return null ; } } } ; } catch ( RuntimeException e ) { freeJooq ( context ) ; throw e ; } } @ Override public Set < LocalId > getIds ( final DaoFilter daoFilter ) throws DaoException { } @ Override public int getCount ( DaoFilter daoFilter ) throws DaoException { } @ Override public LocalPage getById ( Language language , int pageId ) throws DaoException { } @ Override public LocalPage getById ( LocalId localId ) throws DaoException { } @ Override public void setFollowRedirects ( boolean followRedirects ) throws DaoException { } @ Override public LocalPage getByTitle ( Title title , NameSpace nameSpace ) throws DaoException { } public List < LocalPage > getBySimilarTitle ( Title title , NameSpace nameSpace , LocalLinkDao linkDao ) throws DaoException { } @ Override public LocalPage getByTitle ( Language language , NameSpace ns , String title ) throws DaoException { } @ Override public Map < Integer , LocalPage > getByIds ( Language language , Collection < Integer > pageIds ) throws DaoException { } @ Override public Map < Title , LocalPage > getByTitles ( Language language , Collection < Title > titles , NameSpace nameSpace ) throws DaoException { } @ Override public int getIdByTitle ( String title , Language language , NameSpace nameSpace ) throws DaoException { } @ Override public int getIdByTitle ( Title title ) throws DaoException { } protected LocalPage buildLocalPage ( Record record ) throws DaoException { } protected LocalPage buildLocalPage ( Record record , DaoFilter daoFilter ) throws DaoException { } protected synchronized void buildTitlesToIds ( ) throws DaoException { } @ Override public LocalPage getByTitle ( Language lang , String title ) throws DaoException { } public static class Provider extends org . wikibrain . conf . Provider < LocalPageDao > { public Provider ( Configurator configurator , Configuration config ) throws ConfigurationException { } @ Override public Class getType ( ) { } @ Override public String getPath ( ) { } @ Override public LocalPageDao get ( String name , Config config , Map < String , String > runtimeParams ) throws ConfigurationException { } } }

Fix:
LOG . info ( e . getMessage ( ) , e ) ;