Product Information > JADE Error Messages and System Messages > 2 through 1299 - JADE Object Manager Errors > 1248 - Cannot execute a user schema server method in this process

1248   Cannot execute a user schema server method in this process

Cause

This error occurs if an attempt is made to invoke a server method while the JADE Painter is executing user schema methods. This is not permitted.

This occurs most often when the JADE Painter has called a user schema method to implement development time behavior for one of your (typically subclassed) controls; for example, paint, windowCreated, or controlNamePrefix. If your method invokes any server methods (or it calls other methods that do), this error occurs.

Action

Avoid calling serverExecution methods from methods invoked by the JADE Painter. You can do this by removing the calls entirely or by guarding calls to server methods with the isInPainter method for controls.