Steps to reproduce: - Launch gvSIG - Open a form for an empty layer - A message appears - Open edition on the layer An error is thrown.