What was the test case exactly? You created a multipolygon with two polygons that shared a side, unioned with a line, and the exception was thrown?