flori/json — pull request #155 by jvshahid (2013-01-15 13:02:53+00:00)
Title: The Generator::State::op_href returns a raw java null when the given attribute is missing

Although the returned value compares to nil perfectly because JRuby do the conversion behind the scenes, calling anything on the returned object will cause a null pointer exception to be thrown.

This pull request includes a test to demonstrate the error and a fix for it.