User 8a7878ec6d
28-09-2015 12:59:36
IJC 15.9.14
When trying to open a view of an existing table, I get the following error:
java.lang.NullPointerException
at com.im.df.impl.db.query2.BaseSelectBuilder.findLCA(BaseSelectBuilder.java:554)
at com.im.df.impl.db.query2.BaseSelectBuilder.addJoin(BaseSelectBuilder.java:536)
at com.im.df.impl.db.query2.BaseSelectBuilder.finish(BaseSelectBuilder.java:308)
at com.im.df.impl.db.query2.BaseSelectBuilder.getSelect(BaseSelectBuilder.java:327)
at com.im.df.impl.db.query2.QueryDefinitionBuilder.compileMainQuery(QueryDefinitionBuilder.java:358)
at com.im.df.impl.db.query2.QueryDefinitionBuilder.build(QueryDefinitionBuilder.java:428)
at com.im.df.impl.db.DBSchemaDataProviderImpl.queryForDistinctValues(DBSchemaDataProviderImpl.java:474)
at com.im.df.impl.db.DBSchemaDataProviderImpl.queryForIdsImpl(DBSchemaDataProviderImpl.java:531)
at com.im.df.impl.db.DBSchemaDataProviderImpl.queryForIds(DBSchemaDataProviderImpl.java:191)
at com.im.df.impl.db.DBSchemaDataProviderImpl.queryForIds(DBSchemaDataProviderImpl.java:179)
at com.im.df.impl.db.resultset.ResultSetImpl$2.executeQuery(ResultSetImpl.java:324)
at com.im.df.util.earlyresults.EarlyResultsBatcher.runQuery(EarlyResultsBatcher.java:38)
at com.im.df.impl.db.resultset.ResultSetImpl.applyQueryInternal(ResultSetImpl.java:330)
at com.im.df.impl.db.resultset.ResultSetImpl.applyWorkingQuery(ResultSetImpl.java:256)
at com.im.df.impl.db.resultset.ResultSetImpl.readAllData(ResultSetImpl.java:642)
at com.im.df.impl.db.resultset.ResultSetImpl.ensureLoaded(ResultSetImpl.java:611)
at com.im.ijc.core.api.views.AbstractViewTopComponent$ViewBackgroundRunner.phase1InRequestProcessor(AbstractViewTopComponent.java:2327)
at com.im.ijc.core.api.ui.DFItemTCRegistry$RunnerProxy.phase1InRequestProcessor(DFItemTCRegistry.java:329)
[catch] at com.im.commons.progress.BackgroundRunner.processTheTask(BackgroundRunner.java:140)
at com.im.commons.progress.BackgroundRunner$1.run(BackgroundRunner.java:102)
at com.im.commons.base.ThreadContext$2.run(ThreadContext.java:193)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991).
Creating a new view gives the same result. This is the only table in the schema where this happens. The database is hosted by a mySQL server. On the server side everything looks fine and I can pull up the records with mySQL Workbench.
Please advice.