Skip to Content
0
Former Member
Oct 30, 2008 at 06:07 PM

MessageBasedTrigger is not working NW7.10

13 Views

Hi experts,

I have some problems with the MessageBasedTrigger control

When I try to excute the following source

RTMFMessage message = RTMFMessageFactory.getMessage(RTMFMessageType.RTMFMessageType);

message.publishEvent("NewMessage");

I get a nullpointer exception.

It seems that the message.publishEvent is not working for some reasons

At the MessageBasedTrigger control I set the following properties:

eventName --> NewMessage

onAction --> the relevant event...

is there anything else I need to consider?

I have checked already the following URLS:

http://help.sap.com/saphelp_nwce10/helpdata/en/44/dd89b1a214294fe10000000a11466f/content.htm

and

http://help.sap.com/saphelp_nwce10/helpdata/en/44/dd8896a214294fe10000000a11466f/content.htm

Thanks in advance for all your help!

Best regards,

Peter

the complete exception is:

java.lang.NullPointerException

at com.sap.netweaver.rtmf.messagingimpl.jms.JMSFacade.setMessageProperties(JMSFacade.java:433)

at com.sap.netweaver.rtmf.messagingimpl.messages.RTMFMessage.createJMSMessage(RTMFMessage.java:593)

at com.sap.netweaver.rtmf.messagingimpl.messages.RTMFMessage.publishEvent(RTMFMessage.java:555)

at at.chat.gsc.ChatView.notifyOthers(ChatView.java:421)

at at.chat.gsc.ChatView.addMessage(ChatView.java:396)

... 67 more

Edited by: Peter Windbichler on Oct 31, 2008 10:46 AM