. The code below is a dummy just to prove myself that the error is
not related to anything else on the project I'm converting from
10.4(WO5.3) to 10.5 (WO5.4). I created this dummy project --which
btw, it successfully compiles-- with just the offending code new
BeanSerializerFactory which fails with the error following the code.
package your.app.components;
import org.apache.axis.encoding.ser.BeanDeserializerFactory;
import org.apache.axis.encoding.ser.BeanSerializerFactory;
import com.webobjects.appserver.WOContext;
import com.webobjects.appserver.WOWebServiceRegistrar;
import er.extensions.components.ERXComponent;
public class Main extends ERXComponent {
class xyz {
public xyz() {}
}
public Main(WOContext context) {
super(context);
javax.xml.namespace.QName ldUserAccountQName = new
javax.xml.namespace.QName("Foo-UAccount", "MooUAcct");
WOWebServiceRegistrar.registerFactoriesForClassWithQName(new
BeanSerializerFactory(xyz.class, ldUserAccountQName), new
BeanDeserializerFactory(xyz.class, ldUserAccountQName), xyz.class,
ldUserAccountQName);
}
}
Application: HolaSoap
Error: java.lang.reflect.InvocationTargetException
Reason: javax/xml/rpc/encoding/SerializerFactory
Stack trace:
File Line# Method Package
ClassLoader.java NA defineClass1 java.lang
ClassLoader.java 675 defineClass java.lang
SecureClassLoader.java 124 defineClass java.security
URLClassLoader.java 260 defineClass java.net
URLClassLoader.java 56 access$100 java.net
URLClassLoader.java 195 run java.net
AccessController.java NA doPrivileged java.security
URLClassLoader.java 188 findClass java.net
ClassLoader.java 316 loadClass java.lang
ClassLoader.java 251 loadClass java.lang
ClassLoader.java 374 loadClassInternal java.lang
ClassLoader.java NA defineClass1 java.lang
ClassLoader.java 675 defineClass java.lang
SecureClassLoader.java 124 defineClass java.security
URLClassLoader.java 260 defineClass java.net
URLClassLoader.java 56 access$100 java.net
URLClassLoader.java 195 run java.net
AccessController.java NA doPrivileged java.security
URLClassLoader.java 188 findClass java.net
ClassLoader.java 316 loadClass java.lang
ClassLoader.java 251 loadClass java.lang
ClassLoader.java 374 loadClassInternal java.lang
ClassLoader.java NA defineClass1 java.lang
ClassLoader.java 675 defineClass java.lang
SecureClassLoader.java 124 defineClass java.security
URLClassLoader.java 260 defineClass java.net
URLClassLoader.java 56 access$100 java.net
URLClassLoader.java 195 run java.net
AccessController.java NA doPrivileged java.security
URLClassLoader.java 188 findClass java.net
ClassLoader.java 316 loadClass java.lang
ClassLoader.java 306 loadClass java.lang
Launcher.java 280 loadClass sun.misc
ClassLoader.java 251 loadClass java.lang
ClassLoader.java 374 loadClassInternal java.lang
Main.java 18 <init> your.app.components
NativeConstructorAccessorImpl.java NA newInstance0 sun.reflect
NativeConstructorAccessorImpl.java 39 newInstance sun.reflect
DelegatingConstructorAccessorImpl.java 27 newInstance sun.reflect
Constructor.java 494 newInstance java.lang.reflect
_NSUtilities.java 614 instantiateObject com.webobjects.foundation
WOComponentDefinition.java 544 _componentInstanceInContext
com.webobjects.appserver._private
WOComponentDefinition.java 642 componentInstanceInContext
com.webobjects.appserver._private
WOApplication.java 2332 pageWithName com.webobjects.appserver
WOComponentRequestHandler.java 284 _dispatchWithPreparedSession
com.webobjects.appserver._private
WOComponentRequestHandler.java 332
_dispatchWithPreparedApplication com.webobjects.appserver._private
WOComponentRequestHandler.java 369 _handleRequest
com.webobjects.appserver._private
WOComponentRequestHandler.java 442 handleRequest
com.webobjects.appserver._private
WOApplication.java 1687 dispatchRequest com.webobjects.appserver
ERXApplication.java 1737 dispatchRequestImmediately
er.extensions.appserver
ERXApplication.java 1702 dispatchRequest er.extensions.appserver
WOWorkerThread.java 144 runOnce com.webobjects.appserver._private
WOWorkerThread.java 226 run com.webobjects.appserver._private
Thread.java 613 run java.lang
NA : Non applicable, JIT activated
Any insights or suggested workarounds?
-Carlos
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden