Forum Discussion
escort
15 years agoNew Contributor
Hi paulhanke,
You are right, I am trying to pass one channel instance from Component A to component B. Some further operations would be done in component B. But the problem is that the other object instances that created in Component B are not compatible with this channel instance who is created in Component A. That's where I got this error.
For your proposal, I already tried it. The return value of Thread.currentThread().getContextClassLoader() is a JavaClassLoader instead of GroovyClassLoader. If this problem could not be solved, my only choice is to make Factory component in the LoadUI who provides everyting to other component, on the level of design, it's not looking good~~
Thanks for your reply
You are right, I am trying to pass one channel instance from Component A to component B. Some further operations would be done in component B. But the problem is that the other object instances that created in Component B are not compatible with this channel instance who is created in Component A. That's where I got this error.
For your proposal, I already tried it. The return value of Thread.currentThread().getContextClassLoader() is a JavaClassLoader instead of GroovyClassLoader. If this problem could not be solved, my only choice is to make Factory component in the LoadUI who provides everyting to other component, on the level of design, it's not looking good~~
Thanks for your reply
