[JBossWS] - org.jboss.util.xml.DOMWriter error
by qiliu
I am using JSR109 client to consume JSR181 web service. Both are on my local machine. I encounted a NoSuchMethodError on DOMWriter.setPrettyprint when executing the code:
Service service = (Service)iniCtx.lookup("authentication-client/service/AuthenticationService");
I am using jboss-common-client.jar built on 10/16/2006, so I think this is not the error mentioned in http://jira.jboss.com/jira/browse/JBAS-2117.
Any help, please.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher.main(JavaBeansLauncher.java:86)
Caused by: java.lang.NoSuchMethodError: org.jboss.util.xml.DOMWriter.setPrettyprint(Z)Lorg/jboss/util/xml/DOMWriter;
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:332)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:205)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273)
at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:106)
at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:112)
at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:182)
at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983099#3983099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983099
19Â years, 6Â months
[JBoss Seam] - Re: Deploy error
by diablo341
I fixed the version of Seam, but I'm still getting an exception. Not the original one in my last post, but similar. Any ideas?
| 14:21:54,188 INFO [ServletContextListener] Welcome to Seam 1.1.0.BETA1
| 14:21:54,198 INFO [Initialization] reading components.xml
| 14:21:54,198 INFO [Initialization] reading properties from: /seam.properties
| 14:21:54,198 INFO [Initialization] reading properties from: /jndi.properties
| 14:21:54,198 INFO [Initialization] initializing Seam
| 14:21:54,229 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 14:21:54,239 ERROR [[/workforce-planning]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.NullPointerException
| at org.jboss.seam.util.Conversions$FlatPropertyValue.isExpression(Conversions.java:240)
| at org.jboss.seam.Component.getInitialValue(Component.java:357)
| at org.jboss.seam.Component.initInitializers(Component.java:341)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983094#3983094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983094
19Â years, 6Â months