When WebObjects tries to get or set a Java package access variable with no accessor methods using key-value coding, a NSKeyValueCoding$UnknownKeyException is thrown. This can occur after the conversion to Java of an Objective-C class that does not implement accessor methods for all instance variables.
Solution
To access Java package access variables using key-value coding, one of the following must be done in order of preference:
For additional details, see the NSKeyValueCoding.ValueAccessor class description at Apple's Developer Web site.
http://developer.apple.com/techpubs/webobjects/FoundationRef/Java/Classes/NSKVCValAcc.html