eclipse-ee4j / glassfish-shoal

Shoal
Other
5 stars 9 forks source link

GroupHandle.sendMessage with Null targetComponentName results in exception being thrown #97

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 14 years ago

Based on the javadoc, "Specifying a null component name would result in the message being delivered to all registered components in the target member instance."

When actually done via: gh.sendMessage(null, "testMsg3".getBytes());

The receiving side gets the following exception:

[#|2010-01-21T14:55:23.953-0500|SEVERE|Shoal|ShoalLogger|_ThreadID=14;_ThreadName=com.sun.enterprise.ee.cms.impl.common.Router Thread;ClassName=SignalHandler;MethodName=run;|exiting due unhandled exception in thread com.sun.enterprise.ee.cms.impl.common.Router Thread java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:334) at com.sun.enterprise.ee.cms.impl.common.Router.notifyMessageAction(Router.java:356) at com.sun.enterprise.ee.cms.impl.common.SignalHandler.analyzeSignal(SignalHandler.java:128) at com.sun.enterprise.ee.cms.impl.common.SignalHandler.handleSignal(SignalHandler.java:106) at com.sun.enterprise.ee.cms.impl.common.SignalHandler.run(SignalHandler.java:91) at java.lang.Thread.run(Thread.java:637)

| #] |

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by sdimilla

glassfishrobot commented 14 years ago

@glassfishrobot Commented @jfialli said: Fix checked into trunk and pluggable transport branch.

Sending to null targetComponent is no longer allowed. Updated javadoc to reflect this change.

glassfishrobot commented 14 years ago

@glassfishrobot Commented @jfialli said:

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA SHOAL-97

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Wednesday, June 23rd 2010, 4:11:06 am