cancel
Showing results for 
Search instead for 
Did you mean: 

MessageBasedTrigger is not working NW7.10

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi All,

I know this is an old post, but I am playing around with MessageBasedTrigger, and for me it works, but not in every case, and it is not working in FF , Chrome, IE8 and IE9 only in IE10 .

I can see in my NWDS that the RTMF is Deprecated.

What can we use instead of this ?

Does anyone have experiences regarding this? If yes, please let me know.

Thanks and Regards,

Ervin