2 Replies Latest reply on Feb 27, 2009 12:34 AM by Yong Hao Gao

    NullPointer exception on client when looking up queue

    Jason Lashmet Newbie

      I'm running JBoss 5.0.0CR2 and a client which has no problem connecting from any machine on my network. When I try to connect over the internet from a remote machine, I get this initialization error saying "Failed to find property editor for: marshaller". I'm not sure where to go from here. Anyone have any ideas?




      2008-12-06 16:10:53,802 [main] INFO MessageManager - Looking up queue
      2008-12-06 16:10:54,177 [main] INFO MessageManager - Looking up connection factory
      2008-12-06 16:10:54,630 [main] TRACE org.jboss.util.propertyeditor.PropertyEditors - Mapping properties for bean: SocketClientInvoker[16acdd1, bisocket://bargaintrends.net:4457]
      2008-12-06 16:10:54,630 [main] TRACE org.jboss.util.propertyeditor.PropertyEditors - Property editor found for: pingFrequency, editor: java.beans.PropertyDescriptor@7ef4a2b1, setter: public void org.jboss.remoting.transport.bisocket.BisocketClientInvoker.setPingFrequency(int)
      2008-12-06 16:10:54,630 [main] TRACE org.jboss.util.propertyeditor.PropertyEditors - Property editor found for: numberOfCallRetries, editor: java.beans.PropertyDescriptor@6284bb27, setter: public void org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setNumberOfCallRetries(int)
      2008-12-06 16:10:54,630 [main] TRACE org.jboss.util.propertyeditor.PropertyEditors - Property editor found for: marshaller, editor: java.beans.PropertyDescriptor@f9d2ede9, setter: public void org.jboss.remoting.MicroRemoteClientInvoker.setMarshaller(org.jboss.remoting.marshal.Marshaller)
      2008-12-06 16:10:54,646 [main] TRACE org.jboss.util.propertyeditor.PropertyEditors - Failed to find property editor for: marshaller
      2008-12-06 16:10:54,646 [main] TRACE org.jboss.util.propertyeditor.PropertyEditors - Failed to write property
      java.lang.NullPointerException
      at org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(PropertyEditors.java:303)
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup(MicroSocketClientInvoker.java:491)
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.(MicroSocketClientInvoker.java:270)
      at org.jboss.remoting.transport.socket.SocketClientInvoker.(SocketClientInvoker.java:75)
      at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.(BisocketClientInvoker.java:161)
      at org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:425)
      at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:324)
      at org.jboss.remoting.Client.connect(Client.java:495)
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:300)
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:228)
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
      at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
      at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
      at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
      at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
      at bl.messages.implementations.MessageManager.init(MessageManager.java:106)
      at bl.messages.implementations.MessageManager.(MessageManager.java:90)
      at bl.messages.implementations.MessageManager.main(MessageManager.java:50)