Menu

#57 GUI Editor Save Fails if classpath invalid

open
GUI Editor (1)
7
2005-01-25
2005-01-25
No

If classes are added as domain classes or view classes,
and the class exists and is on the path but the class
depends on some other class that is not on the path,
then when you try to save the GUI Editor throws an
exception (NoClassDefFoundError) and doesn't save the file.

If you add the missing class to the classpath, the save
works. The exception is being thrown within a BSH
script so you don't see the real stack trace, but it
must be trying to resolve before the save and that must
be causing the error.

A resolve exception before saving should probably just
log the error and continue to save. Otherwise, the
user may not end up getting their data saved at all.

Discussion


Log in to post a comment.