[jboss-user] [JBoss jBPM] - Re: Strange class cast exception when changing node assignme

estaub do-not-reply at jboss.com
Thu Mar 8 08:23:05 EST 2007


Ingo,

Can you get to the point it's breaking with a debugger, or can you insert code there?

It's hard for me to picture a classloader problem in this scenario, but that may just be my lack of imagination.
Have you looked at DocumentFactory.instance() to see what it does?
Is it possible that you have a configuration problem where it really is returning an object of the wrong class?


    public static synchronized DocumentFactory getInstance() {
  |         if (singleton == null) {
  |             singleton = createSingleton();
  |         }
  |         return (DocumentFactory) singleton.instance();
  |     }

-Ed Staub

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026238#4026238

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026238



More information about the jboss-user mailing list