From: Lonneke D. <lon...@ya...> - 2006-03-19 17:52:39
|
Age, I tested with the latest version. After synchronizing with the repository and adjusting the project.xml it runs fine now. So the problem seems to be fixed. Age Mooy <age...@gm...> wrote: When exactly do you get this error ? With the latest subversion HEAD, I have no nullpointers on tomcat 5.5.15 on jdk 1.5.0.06. I did get a classnotfound error for Sun's activation framework which obviously is a runtime dependency that gets shipped with tomcat 5.0 but not with 5.5 so I'll look into that. After I added the activation.jar library (from my spring distribution zip file) to the WEB-INF lib dir of the deployed application, the application performed fine and the WSDL URI worked. Here are the (only) URIs currently supported by the sensor-console web application: http://localhost:8080/sensor-console//timing/statistics.htm http://localhost:8080/sensor-console//xfire/timerRuntime.xfire?wsdl http://localhost:8080/sensor-console//xfire/timerRuntime.xfire (will say "inalid soap request" if you don't call it from a proper SOAP client) I wonder what the differences in environment are that cause this nullpointer.... does anyone have more details on the exact tomcat and jdk versions that show the nullpointer ? I will add the activation jar file to the console app with a jar override ASAP. Age On 3/19/06, Age Mooy wrote: > OK. That's clear. I'll go look into that then :) > > Age > > > On 3/19/06, Lonneke Dikmans wrote: > > Age, > > > > I tested it with JDK 1.4 on Tomcat 5.0 that runs fine. I tested it with > > Tomcat 5.5 using JDK 1.5 and got the following stacktrace: > > > > > > java.lang.NullPointerException > > at > > org.codehaus.xfire.aegis.type.XMLTypeCreator.findMapping(XMLTypeCreat > > or.java:132) > > at > > org.codehaus.xfire.aegis.type.XMLTypeCreator.createClassInfo(XMLTypeC > > reator.java:212) > > at > > org.codehaus.xfire.aegis.type.java5.Java5TypeCreator.createClassInfo( > > Java5TypeCreator.java:61) > > at > > org.codehaus.xfire.aegis.type.AbstractTypeCreator.createType(Abstract > > TypeCreator.java:288) > > at > > org.codehaus.xfire.aegis.AegisBindingProvider.getSuggestedName(AegisB > > indingProvider.java:184) > > at > > org.codehaus.xfire.service.binding.ObjectServiceFactory.getOutParamet > > erName(ObjectServiceFactory.java:589) > > at > > org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation( > > ObjectServiceFactory.java:456) > > at > > org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOpe > > rations(ObjectServiceFactory.java:388) > > at > > org.codehaus.xfire.service.binding.ObjectServiceFactory.create(Object > > ServiceFactory.java:237) > > > N�HS^�éX���'���u��<�Ú�.���y�"� �*m�x%jx.j���^�קvƩ�X�jب�ȧ��m�Ý���v&��קv�^�+����j�Z���{az���^��h��à®ï¿½n���)�{h�����ا�׫�+h�(m�����Z��jY�w��ǥrg�y$���Oxá¸n5�mj��^��'����z������x%��Rz{(�ׯzZ)z�b��,���y�+��޶m����+-��.�Ç�����+-��b�ا~��z{(�ׯzZ)z --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. |