eclipse-ee4j / grizzly

Grizzly
https://eclipse-ee4j.github.io/grizzly
Other
150 stars 70 forks source link

potential NullPointerException in Data.toJSON() method #258

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 16 years ago

In com.sun.grizzly.cometd.bayeux.Data.toJSON(), the data.keySet() is invoked. But data is obtained from setMapData(Map<String, Object>) can be null. This is a potential a NPE.

Environment

Operating System: All Platform: All

Affected Versions

[1.9.22]

glassfishrobot commented 6 years ago
glassfishrobot commented 16 years ago

@glassfishrobot Commented Reported by swchan2@java.net

glassfishrobot commented 16 years ago

@glassfishrobot Commented swchan2@java.net said: update platform and reassigned

glassfishrobot commented 16 years ago

@glassfishrobot Commented swchan2@java.net said: src/trunk/modules/cometd/src/main/java/com/sun/grizzly/cometd/bayeux $ svn commit Data.java Sending Data.java Transmitting file data . Committed revision 1512.

glassfishrobot commented 16 years ago

@glassfishrobot Commented swchan2@java.net said: update summary

glassfishrobot commented 16 years ago

@glassfishrobot Commented Was assigned to swchan2@java.net

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GRIZZLY-258

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Wednesday, December 16th 2009, 6:13:23 pm