15:14:54,649 WARN [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (Worker1_QueryProcessorQueue9) IJ000305: Connection error occured: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@26c44c50[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@1a3ff291 connection handles=1 lastUse=1439212486255 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@4c029452 pool internal context=SemaphoreArrayListManagedConnectionPool@2632c6df[pool=localHBase] xaResource=LocalXAResourceImpl@704c37f9[connectionListener=26c44c50 connectionManager=1502e81b warned=false currentXid=null productName=Phoenix productVersion=4.5 jndiName=java:/localHBase] txSync=null]: java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1770) [rt.jar:1.8.0_40] at org.apache.phoenix.jdbc.PhoenixResultSet.getDate(PhoenixResultSet.java:388) at org.jboss.jca.adapters.jdbc.WrappedResultSet.getDate(WrappedResultSet.java:865) at org.teiid.translator.jdbc.JDBCExecutionFactory.retrieveValue(JDBCExecutionFactory.java:965) at org.teiid.translator.jdbc.JDBCQueryExecution.next(JDBCQueryExecution.java:344) at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:388) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.more(ConnectorWorkItem.java:206) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:107) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_40] at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_40] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_40] 15:14:54,656 WARN [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue9) Connector worker process failed for atomic-request=dXStoXSV76ZV.2.1.2: org.teiid.translator.TranslatorException: Unexpected exception while translating results: Error at org.teiid.translator.jdbc.JDBCQueryExecution.next(JDBCQueryExecution.java:351) at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:388) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.more(ConnectorWorkItem.java:206) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:107) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_40] at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210) [teiid-engine-8.7.1.6_2-redhat-4.jar:8.7.1.6_2-redhat-4] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_40] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_40] Caused by: java.sql.SQLException: Error at org.jboss.jca.adapters.jdbc.WrappedConnection.checkException(WrappedConnection.java:1648) at org.jboss.jca.adapters.jdbc.WrappedStatement.checkException(WrappedStatement.java:1267) at org.jboss.jca.adapters.jdbc.WrappedResultSet.checkException(WrappedResultSet.java:4063) at org.jboss.jca.adapters.jdbc.WrappedResultSet.getDate(WrappedResultSet.java:869) at org.teiid.translator.jdbc.JDBCExecutionFactory.retrieveValue(JDBCExecutionFactory.java:965) at org.teiid.translator.jdbc.JDBCQueryExecution.next(JDBCQueryExecution.java:344) ... 13 more Caused by: java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1770) [rt.jar:1.8.0_40] at org.apache.phoenix.jdbc.PhoenixResultSet.getDate(PhoenixResultSet.java:388) at org.jboss.jca.adapters.jdbc.WrappedResultSet.getDate(WrappedResultSet.java:865) ... 15 more