[
https://issues.jboss.org/browse/TEIID-3074?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-3074:
-------------------------------------
Yes, the exception is swallowed and keeps repeating and fills out the log. I see that in
this situation it consumes all the worker threads, so debugging was difficult . I was
using two sources SOLR and MariaDB, and using externalized mat view with
"Status" table in the MariaDB and mat view target in SOLR. It looked like it was
trying to execute "MVStatus" procedure for each row, but I could be wrong, that
may be due to NPE above. I can re-create pretty consistently. I did not see any other
exception, MVStatus does return successfully.
NPE When using External Materialization management is use
---------------------------------------------------------
Key: TEIID-3074
URL:
https://issues.jboss.org/browse/TEIID-3074
Project: Teiid
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Query Engine
Affects Versions: 8.5
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
Attachments: debug_plan.txt, solr-integration-with-matview-vdb.xml
When I was issuing query that has externalized materialization with management option to
true, I am seeing NPE. Tried to see why NPE is occurring was not able to figure out (yet)
{code}
14:37:50,269 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue8477) 0z97J5OWq7x9
Connector worker process failed for atomic-request=0z97J5OWq7x9.7.1.4220:
java.lang.NullPointerException
at org.teiid.translator.jdbc.JDBCQueryExecution.next(JDBCQueryExecution.java:338)
at
org.teiid.dqp.internal.datamgr.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:385)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.more(ConnectorWorkItem.java:203)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at
org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:107)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_65]
at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214)
[teiid-engine-8.9.0.Alpha1-SNAPSHOT.jar:8.9.0.Alpha1-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)