|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Class Cast Exception - User defined connector |
« View previous topic :: View next topic » |
Author |
Message
|
snakeCharmer |
Posted: Mon Mar 04, 2024 9:27 pm Post subject: Class Cast Exception - User defined connector |
|
|
Newbie
Joined: 04 Mar 2024 Posts: 4
|
Hi,
I am working on creating a user defined connector using java. I have followed the steps as per the documentation, but I am getting the below error trace when I started the node after installing the connector:
Quote: |
Mar 4 17:33:08 ibmace ACE[4995]: IBM App Connect Enterprise v120110 (DEV01.DEV01) [Thread 4995] (Msg 1/3) BIP3849E: Failed to load the Connector 'TestConnector'.
Mar 4 17:33:08 ibmace ACE[4995]: IBM App Connect Enterprise v120110 (DEV01.DEV01) [Thread 4995] (Msg 2/3) BIP3850E: Unexpected java exception thrown from the Connector method 'ConnectorLoader::loadMessageConnector'.
Mar 4 17:33:08 ibmace ACE[4995]: IBM App Connect Enterprise v120110 (DEV01.DEV01) [Thread 4995] (Msg 3/3) BIP4395E: Java exception: 'java.lang.ClassCastException'; thrown from class name: 'com.ibm.broker.connector.ProviderLoader', method name: 'loadConnector', file: 'ProviderLoader.java', line: '66'
|
After a quick search I identified that this is when the code has attempted to cast an object to a subclass of which it is not an instance. Although I have rechecked the steps as per the documentation, but couldn't figure it out. Since this Provider Loader class is packaged with in IBM product, I am unable to identify and debug what could be causing this issue.
Any leads or assistance to resolve this will be highly appreciated. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
bruce2359 |
Posted: Tue Mar 05, 2024 6:15 am Post subject: |
|
|
![](images/avatars/58715422151eef88d5f6e3.jpg) Poobah
Joined: 05 Jan 2008 Posts: 9405 Location: US: west coast, almost. Otherwise, enroute.
|
What documentation? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
snakeCharmer |
Posted: Thu Mar 07, 2024 1:14 am Post subject: |
|
|
Newbie
Joined: 04 Mar 2024 Posts: 4
|
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|