[JBoss JIRA] Created: (TEIID-733) ConcurrentModificationException in SessionMonitor
by Ted Jones (JIRA)
ConcurrentModificationException in SessionMonitor
-------------------------------------------------
Key: TEIID-733
URL: https://jira.jboss.org/jira/browse/TEIID-733
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.1.0
Reporter: Ted Jones
Assignee: Steven Hawkins
While running a Seam CRUD Web App against Teiid, I am seeing the following intermittent error:
14:00:51,806 ERROR [STDERR] Exception in thread "SessionMonitor"
14:00:51,814 ERROR [STDERR] java.util.ConcurrentModificationException
14:00:51,815 ERROR [STDERR] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
14:00:51,815 ERROR [STDERR] at java.util.HashMap$ValueIterator.next(HashMap.java:822)
14:00:51,815 ERROR [STDERR] at com.metamatrix.platform.security.session.service.SessionServiceImpl.monitorSessions(SessionServiceImpl.java:97)
14:00:51,815 ERROR [STDERR] at com.metamatrix.platform.security.session.service.SessionServiceImpl.access$000(SessionServiceImpl.java:71)
14:00:51,815 ERROR [STDERR] at com.metamatrix.platform.security.session.service.SessionServiceImpl$1.run(SessionServiceImpl.java:340)
14:00:51,815 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
14:00:51,815 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
14:02:55,126 ERROR [STDERR] Exception in thread "Worker10"
14:02:55,135 ERROR [STDERR] java.lang.NullPointerException
14:02:55,135 ERROR [STDERR] at com.metamatrix.cache.jboss.JBossCache.getChild(JBossCache.java:145)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.cache.DQPContextCache.removeRequestScopedCache(DQPContextCache.java:60)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.DQPCore.removeRequest(DQPCore.java:304)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.RequestWorkItem.attemptClose(RequestWorkItem.java:357)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:247)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
14:02:55,135 ERROR [STDERR] at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
14:02:55,135 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
14:02:55,135 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
14:02:55,135 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (TEIID-731) NPE when trying to execute a query through the LDAP connector
by Paul Nittel (JIRA)
NPE when trying to execute a query through the LDAP connector
-------------------------------------------------------------
Key: TEIID-731
URL: https://jira.jboss.org/jira/browse/TEIID-731
Project: Teiid
Issue Type: Bug
Components: LDAP Connector
Affects Versions: 6.2.0
Environment: fedora 10, jdk 1.6, Designer circa early July
Reporter: Paul Nittel
Assignee: Steven Hawkins
Attachments: LdapConnectorProject.zip
Another of the Genentech test VDBs uses the LDAP connector. after modeling everything and creating the bindings, here's the exception I received when I tried a query:
Error 2009-07-21 11:13:54.314 Error processing query
com.metamatrix.jdbc.MMSQLException: com.metamatrix.api.exception.MetaMatrixComponentException
at com.metamatrix.jdbc.MMSQLException.create(MMSQLException.java:82)
at com.metamatrix.jdbc.MMSQLException.create(MMSQLException.java:63)
at com.metamatrix.jdbc.MMStatement.executeSql(MMStatement.java:433)
at com.metamatrix.jdbc.MMStatement.execute(MMStatement.java:328)
at net.sourceforge.sqlexplorer.sqlpanel.SqlExecProgress.processQuery(SqlExecProgress.java:192)
at net.sourceforge.sqlexplorer.sqlpanel.SqlExecProgress.run(SqlExecProgress.java:121)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: [MetaMatrixComponentException]
1 [NullPointerException]
at org.teiid.dqp.internal.process.DataTierTupleSource.switchBatch(DataTierTupleSource.java:128)
at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:89)
at com.metamatrix.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:136)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:110)
at com.metamatrix.query.processor.QueryProcessor.process(QueryProcessor.java:160)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:264)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:210)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at com.metamatrix.connector.ldap.LDAPConnection.initializeLDAPContext(LDAPConnection.java:126)
at com.metamatrix.connector.ldap.LDAPConnection.<init>(LDAPConnection.java:77)
at com.metamatrix.connector.ldap.LDAPConnector.getConnection(LDAPConnector.java:58)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWrapper.getConnectionDirect(ConnectorWrapper.java:67)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWrapper.getConnection(ConnectorWrapper.java:62)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.createConnection(ConnectorWorkItem.java:140)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.createExecution(ConnectorWorkItem.java:288)
at org.teiid.dqp.internal.datamgr.impl.SynchConnectorWorkItem.createExecution(SynchConnectorWorkItem.java:100)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.process(ConnectorWorkItem.java:152)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
at org.teiid.dqp.internal.datamgr.impl.SynchConnectorWorkItem.run(SynchConnectorWorkItem.java:69)
... 4 more
Pertinent artifacts are attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (TEIID-716) Connector Status can reported wrong or possibility of NPE
by Ramesh Reddy (JIRA)
Connector Status can reported wrong or possibility of NPE
---------------------------------------------------------
Key: TEIID-716
URL: https://jira.jboss.org/jira/browse/TEIID-716
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.1.0
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 6.2.0
The connector status through ConnectorManager object currently represented through Boolean and rest of the states are derived from that. That seems limited, the connector state should be correctly propagated from ConnectorManager. In the cases of user context based connection pooling under Connector, where connections are made based on individual user credentials it is not possible to check if the connection is alive. In this situation current code has bug that can be result in the NPE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months