AnsweredAssumed Answered

MQ

Question asked by ZeeshanFarooq4451617 on Jun 3, 2016
Latest reply on Jun 7, 2016 by ZeeshanFarooq4451617

 

Getting errors after using native MQ Steps

 

==========================================================================

| java.lang.Integer cannot be cast to java.util.Vector

============================================================================

| Step:        IBM MQ Native Send Receive

----------------------------------------------------------------------------

| Message:     java.lang.Integer cannot be cast to java.util.Vector

----------------------------------------------------------------------------

| Trapped Exception: java.lang.Integer cannot be cast to java.util.Vector

| Trapped Message:   java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Vector

----------------------------------------------------------------------------

STACK TRACE

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Vector

      at com.ibm.mq.MQManagedConnectionJ11.constructMQCD(MQManagedConnectionJ11.java:1464)

      at com.ibm.mq.MQManagedConnectionJ11.constructCNO(MQManagedConnectionJ11.java:1537)

      at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:233)

      at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:588)

      at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:630)

      at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:107)

      at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:205)

      at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:911)

      at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:799)

      at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:750)

      at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:157)

      at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:757)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqUtils.createQueueManager(IbmMqUtils.java:76)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance(IbmMqQueueManagerAsset.java:266)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance(IbmMqQueueManagerAsset.java:65)

      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)

      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)

      at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)

      at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)

      at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)

      at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueAsset.createInstance(IbmMqQueueAsset.java:232)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueAsset.createInstance(IbmMqQueueAsset.java:41)

      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)

      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)

      at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)

      at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)

      at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)

      at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:107)

      at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqPutOperation.doExecute(IbmMqPutOperation.java:803)

      at com.itko.lisa.messaging.providers.ibmmq.IbmMqPutOperation.doExecute(IbmMqPutOperation.java:56)

      at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)

      at com.itko.lisa.messaging.builder.AbstractSendReceiveOperation.doExecute(AbstractSendReceiveOperation.java:152)

      at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)

      at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:176)

      at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:125)

      at com.itko.lisa.test.TestNode.executeNode(TestNode.java:982)

      at com.itko.lisa.test.TestCase.execute(TestCase.java:1295)

      at com.itko.lisa.test.TestCase.execute(TestCase.java:1210)

      at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1195)

      at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1136)

      at com.itko.lisa.coordinator.Instance.run(Instance.java:204)

============================================================================

 

 

========================================================================== | java.lang.Integer cannot be cast to java.util.Vector ============================================================================ | Step:        IBM MQ Native Send Receive ---------------------------------------------------------------------------- | Message:     java.lang.Integer cannot be cast to java.util.Vector ---------------------------------------------------------------------------- | Trapped Exception: java.lang.Integer cannot be cast to java.util.Vector | Trapped Message:   java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Vector ---------------------------------------------------------------------------- STACK TRACE java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Vector      at com.ibm.mq.MQManagedConnectionJ11.constructMQCD(MQManagedConnectionJ11.java:1464)      at com.ibm.mq.MQManagedConnectionJ11.constructCNO(MQManagedConnectionJ11.java:1537)      at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:233)      at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:588)      at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:630)      at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:107)      at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:205)      at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:911)      at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:799)      at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:750)      at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:157)      at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:757)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqUtils.createQueueManager(IbmMqUtils.java:76)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance(IbmMqQueueManagerAsset.java:266)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance(IbmMqQueueManagerAsset.java:65)      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)      at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)      at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)      at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)      at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueAsset.createInstance(IbmMqQueueAsset.java:232)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueAsset.createInstance(IbmMqQueueAsset.java:41)      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)      at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)      at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)      at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)      at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)      at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:107)      at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqPutOperation.doExecute(IbmMqPutOperation.java:803)      at com.itko.lisa.messaging.providers.ibmmq.IbmMqPutOperation.doExecute(IbmMqPutOperation.java:56)      at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)      at com.itko.lisa.messaging.builder.AbstractSendReceiveOperation.doExecute(AbstractSendReceiveOperation.java:152)      at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)      at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:176)      at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:125)      at com.itko.lisa.test.TestNode.executeNode(TestNode.java:982)      at com.itko.lisa.test.TestCase.execute(TestCase.java:1295)      at com.itko.lisa.test.TestCase.execute(TestCase.java:1210)      at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1195)      at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1136)      at com.itko.lisa.coordinator.Instance.run(Instance.java:204) ============================================================================

Outcomes