Hi,
  I am getting a null pointer exception when i am calling the following
method in my code:

public void publish(Element payload)
{

NotificationProducer wsn = 
(NotificationProducer)getResource().getCapability(WsnConstants.PRODUCER_URI);
wsn.publish(_TOPIC_NAME, payload);
}
-- 
View this message in context: 
http://old.nabble.com/java.lang.NullPointerException-tp28270365p28270365.html
Sent from the Muse User mailing list archive at Nabble.com.

Reply via email to