[JBoss JIRA] Created: (TEIID-929) Virtual Procedure - IllegalArgumentException: Expected argument to be an instance of org.teiid.connector.metadata.runtime.Table; was instance of org.teiid.connector.metadata.runtime.ProcedureRecordImpl
by Warren Gibson (JIRA)
Virtual Procedure - IllegalArgumentException: Expected argument to be an instance of org.teiid.connector.metadata.runtime.Table; was instance of org.teiid.connector.metadata.runtime.ProcedureRecordImpl
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: TEIID-929
URL: https://jira.jboss.org/jira/browse/TEIID-929
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.0
Reporter: Warren Gibson
Assignee: Steven Hawkins
They following virtual procedure is failing with an IllegalArumentException. Does "Expected argument to be an instance of org.teiid.connector.metadata.runtime.Table; was instance of org.teiid.connector.metadata.runtime.ProcedureRecordImpl" mean anything to you? This query does run in Designer.
SELECT DNT FROM VirtProcs.vDate_n_Time WHERE intkey_in = 2"
2010-01-12 12:49:12,387 ERROR [Worker7_QueryProcessorQueue0] org.teiid.DQP - Unexpected exception for request 0.0
java.lang.IllegalArgumentException: Expected argument to be an instance of org.teiid.connector.metadata.runtime.Table; was instance of org.teiid.connector.metadata.runtime.ProcedureRecordImpl
at com.metamatrix.core.util.ArgCheck.isInstanceOf(ArgCheck.java:353)
at com.metamatrix.core.util.ArgCheck.isInstanceOf(ArgCheck.java:337)
at org.teiid.metadata.TransformationMetadata.isXMLGroup(TransformationMetadata.java:701)
at com.metamatrix.query.metadata.TempMetadataAdapter.isXMLGroup(TempMetadataAdapter.java:429)
at com.metamatrix.query.metadata.TempMetadataAdapter.isXMLGroup(TempMetadataAdapter.java:429)
at com.metamatrix.query.metadata.TempMetadataAdapter.isXMLGroup(TempMetadataAdapter.java:429)
at com.metamatrix.query.resolver.command.SimpleQueryResolver$QueryResolverVisitor.visit(SimpleQueryResolver.java:297)
at com.metamatrix.query.sql.lang.UnaryFromClause.acceptVisitor(UnaryFromClause.java:82)
at com.metamatrix.query.sql.navigator.AbstractNavigator.visitNode(AbstractNavigator.java:61)
at com.metamatrix.query.sql.navigator.AbstractNavigator.visitNodes(AbstractNavigator.java:72)
at com.metamatrix.query.sql.navigator.PreOrPostOrderNavigator.visit(PreOrPostOrderNavigator.java:246)
at com.metamatrix.query.resolver.command.SimpleQueryResolver$QueryResolverVisitor.visit(SimpleQueryResolver.java:431)
at com.metamatrix.query.sql.lang.From.acceptVisitor(From.java:143)
at com.metamatrix.query.sql.navigator.AbstractNavigator.visitNode(AbstractNavigator.java:61)
at com.metamatrix.query.resolver.command.SimpleQueryResolver$QueryResolverVisitor.visit(SimpleQueryResolver.java:177)
at com.metamatrix.query.resolver.command.SimpleQueryResolver.resolveCommand(SimpleQueryResolver.java:94)
at com.metamatrix.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:176)
at com.metamatrix.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:128)
at com.metamatrix.query.optimizer.relational.RelationalPlanner.resolveVirtualGroup(RelationalPlanner.java:905)
at com.metamatrix.query.optimizer.relational.RelationalPlanner.buildTree(RelationalPlanner.java:635)
at com.metamatrix.query.optimizer.relational.RelationalPlanner.createQueryPlan(RelationalPlanner.java:553)
at com.metamatrix.query.optimizer.relational.RelationalPlanner.createQueryPlan(RelationalPlanner.java:516)
at com.metamatrix.query.optimizer.relational.RelationalPlanner.generatePlan(RelationalPlanner.java:393)
at com.metamatrix.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:144)
at com.metamatrix.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:109)
at org.teiid.dqp.internal.process.Request.generatePlan(Request.java:470)
at org.teiid.dqp.internal.process.Request.processRequest(Request.java:556)
at org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:336)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:176)
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(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
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
14 years, 4 months
[JBoss JIRA] Created: (TEIID-753) MySQL translator issues
by Steven Hawkins (JIRA)
MySQL translator issues
-----------------------
Key: TEIID-753
URL: https://jira.jboss.org/jira/browse/TEIID-753
Project: Teiid
Issue Type: Bug
Components: JDBC Connector
Affects Versions: 6.0.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 6.2.0
MySQL does not change the autocommit flag to false when running in a global transaction, however the current autocommit detection logic does not take whether we're in an xa transaction into account.
Also the timestamp literal format TIMESTAMP(...) actually produces a null value. This should be changed to either the jdbc escape syntax or simply the string literal form.
--
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
14 years, 4 months
[JBoss JIRA] Created: (TEIID-1083) When running either control at the vdb level while the vdb is being access produces an exception
by Van Halbert (JIRA)
When running either control at the vdb level while the vdb is being access produces an exception
------------------------------------------------------------------------------------------------
Key: TEIID-1083
URL: https://jira.jboss.org/jira/browse/TEIID-1083
Project: Teiid
Issue Type: Bug
Components: Jopr Plugin
Affects Versions: 7.0
Reporter: Van Halbert
Assignee: Ted Jones
Fix For: 7.0
Prior to running BQT test, I was able to execute either control successfully. However, once the test started, I tried to execute the control with no success.
View VDB Sessions produced this error:
java.lang.NullPointerException
at org.teiid.rhq.admin.DQPManagementView.getSessionCollectionValueForVDB(DQPManagementView.java:568)
at org.teiid.rhq.admin.DQPManagementView.executeVdbOperation(DQPManagementView.java:220)
at org.teiid.rhq.admin.DQPManagementView.executeOperation(DQPManagementView.java:130)
at org.teiid.rhq.plugin.Facet.execute(Facet.java:200)
at org.teiid.rhq.plugin.Facet.invokeOperation(Facet.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
View VDB Request produced this exception:
java.lang.reflect.UndeclaredThrowableException
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.unwrapComposite(DefaultMetaValueFactory.java:817)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalUnwrap(DefaultMetaValueFactory.java:646)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.unwrap(DefaultMetaValueFactory.java:563)
at org.teiid.rhq.admin.DQPManagementView.getRequestCollectionValueForVDB(DQPManagementView.java:509)
at org.teiid.rhq.admin.DQPManagementView.executeVdbOperation(DQPManagementView.java:227)
at org.teiid.rhq.admin.DQPManagementView.executeOperation(DQPManagementView.java:130)
at org.teiid.rhq.plugin.Facet.execute(Facet.java:200)
at org.teiid.rhq.plugin.Facet.invokeOperation(Facet.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.IllegalArgumentException: No such property processingState for bean org.teiid.adminapi.impl.RequestMetadata available [transactionId, sourceRequest, state, executionId, class, properties, startTime, nodeId, threadState, sessionId, name, command, JAXBProperties]
at org.jboss.beans.info.plugins.AbstractBeanInfo.getProperty(AbstractBeanInfo.java:147)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.unwrapComposite(DefaultMetaValueFactory.java:809)
... 17 more
--
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
14 years, 5 months
[JBoss JIRA] Created: (TEIID-1053) NPE in Teiid JOPR when running control at vdb level - View VDB requests
by Van Halbert (JIRA)
NPE in Teiid JOPR when running control at vdb level - View VDB requests
-----------------------------------------------------------------------
Key: TEIID-1053
URL: https://jira.jboss.org/jira/browse/TEIID-1053
Project: Teiid
Issue Type: Bug
Components: Jopr Plugin
Affects Versions: 7.0
Reporter: Van Halbert
Assignee: Ted Jones
When selected to run View VDB request at the vdb level, the following error was displayed for the history
java.lang.NullPointerException
at org.teiid.rhq.admin.DQPManagementView.getRequestCollectionValue(DQPManagementView.java:399)
at org.teiid.rhq.admin.DQPManagementView.executeVdbOperation(DQPManagementView.java:204)
at org.teiid.rhq.admin.DQPManagementView.executeOperation(DQPManagementView.java:129)
at org.teiid.rhq.plugin.Facet.execute(Facet.java:200)
at org.teiid.rhq.plugin.Facet.invokeOperation(Facet.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
--
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
14 years, 5 months