You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by "Millies, Sebastian" <Se...@ids-scheer.com> on 2010/09/15 19:38:58 UTC

NullPointerException in WireFormatJMSDefaultReferenceInterceptor

Hello there,

has anyone else had this problem in Tuscany 1.6: I call a service method exposed
by a JMS binding. However, at the time when the constructor of 
org.apache.tuscany.sca.binding.jms.wireformat.jmsdefault.runtim.WireFormatJMSDefaultReferenceInterceptor
is executed, the inputWrapperMap argument is empty (size 0), which leads to a NullPointerException later 
on when the requestMsg is constructed in method invokeRequest.

The stack trace is this:
java.lang.NullPointerException
	at org.apache.tuscany.sca.binding.jms.wireformat.jmsdefault.runtime.WireFormatJMSDefaultReferenceInterceptor.invokeRequest(WireFormatJMSDefaultReferenceInterceptor.java:99)
	at org.apache.tuscany.sca.binding.jms.wireformat.jmsdefault.runtime.WireFormatJMSDefaultReferenceInterceptor.invoke(WireFormatJMSDefaultReferenceInterceptor.java:78)
	at org.apache.tuscany.sca.binding.jms.provider.RRBJMSBindingInvoker.invoke(RRBJMSBindingInvoker.java:203)
	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:55)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:349)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:193)
	at $Proxy10.log_lmt(Unknown Source)
	at logtester.LogServiceTester.main(LogServiceTester.java:49)

-- Sebastian