Wire.endTransmission() hangs sketch

I have the same problem.

Wire.endTransmission causes a crash for me too, though I can see the device on the I2C Scanner.