1 Reply Latest reply on Sep 11, 2012 12:02 PM by Steven Hawkins

    Invalid type: org.teiid.metadata.Schema

    Rakesh Balguri Expert

      Can anyone tell us the reason for the following exception:

       

      Caused by: org.teiid.core.TeiidException: Invalid type: org.teiid.metadata.Schema.

          at org.teiid.client.ResultsMessage.setException(ResultsMessage.java:172)

          at org.teiid.dqp.internal.process.RequestWorkItem.sendError(RequestWorkItem.java:787)

          at org.teiid.dqp.internal.process.RequestWorkItem.close(RequestWorkItem.java:483)

          at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:318)

          at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)

          at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)

          at org.teiid.dqp.internal.process.DQPCore.executeRequest(DQPCore.java:386)

          at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

          at java.lang.reflect.Method.invoke(Method.java:613)

          at org.teiid.logging.LogManager$LoggingProxy.invoke(LogManager.java:121)

          at org.teiid.jboss.TransportService$2.invoke(TransportService.java:205)

          at $Proxy26.executeRequest(Unknown Source)

          at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

          at java.lang.reflect.Method.invoke(Method.java:613)

          at org.teiid.transport.LocalServerConnection$1$1.call(LocalServerConnection.java:131)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)

          at java.util.concurrent.FutureTask.run(FutureTask.java:177)

          at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)

          at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:233)

          at org.teiid.transport.LocalServerConnection$1.invoke(LocalServerConnection.java:129)

          at $Proxy26.executeRequest(Unknown Source)

          at org.teiid.jdbc.StatementImpl.execute(StatementImpl.java:631)

          at org.teiid.jdbc.StatementImpl.executeSql(StatementImpl.java:506)

          ... 54 more

      Caused by: java.lang.IllegalArgumentException: Invalid type: org.teiid.metadata.Schema.

          at org.teiid.query.metadata.TransformationMetadata.createInvalidRecordTypeException(TransformationMetadata.java:619)

          at org.teiid.query.metadata.TransformationMetadata.getModelID(TransformationMetadata.java:253)

          at org.teiid.dqp.internal.process.multisource.MultiSourceMetadataWrapper.getModelID(MultiSourceMetadataWrapper.java:98)

          at org.teiid.query.metadata.TempMetadataAdapter.getModelID(TempMetadataAdapter.java:175)

          at org.teiid.query.metadata.TempMetadataAdapter.getModelID(TempMetadataAdapter.java:175)

          at org.teiid.query.optimizer.relational.plantree.PlanNode.recordDebugAnnotation(PlanNode.java:423)

          at org.teiid.query.optimizer.relational.rules.RuleRaiseAccess.raiseAccessNode(RuleRaiseAccess.java:148)

          at org.teiid.query.optimizer.relational.rules.RuleRaiseAccess.execute(RuleRaiseAccess.java:76)

          at org.teiid.query.optimizer.relational.RelationalPlanner.executeRules(RelationalPlanner.java:457)

          at org.teiid.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:199)

          at org.teiid.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:188)

          at org.teiid.dqp.internal.process.Request.generatePlan(Request.java:433)

          at org.teiid.dqp.internal.process.PreparedStatementRequest.generatePlan(PreparedStatementRequest.java:155)

          at org.teiid.dqp.internal.process.Request.processRequest(Request.java:453)

          at org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:532)

          at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:280)

       

      Thanks

      Rakesh