tyrus-project/tyrus — pull request #68 by pavelbucek (2014-04-14 13:33:58+00:00)
Title: TYRUS-318: Writer used to throw NPE when flush() was called twice.

- could also happen when flush() is followed by close()
- added JAXB roundtrip test (original report contained similar code)