BlackBerry® Java® Development Environment (BlackBerry JDE) 4.2 and later
BlackBerry® Device Software 4.2 and later
If an application overrides the isEditable method or fieldChangeNotify method of EditField, a NullPointerException is thrown when the application is executed.
When an EditField is instantiated, its constructor calls the isEditable and fieldChangeNotify methods. If these methods are overridden, they are called during the instantiation process. During this process, the EditField instance is null. If a call is made to an instance method of the EditField a NullPointerException is thrown.
When overriding the isEditable and fieldChangeNotify methods for an EditField, a check must be done to see if EditField is null before invoking any other instance methods of the EditField.