I get a null pointer exception on this line - getApi().sendPluginMessageToUser(user, messageOut) in the function below -
The class which has sendAndLog method extends BasePlugin. The plugin is a part of my extension and I can see the plugin the list of plugins in my extension in EsAdmin. How should I debug the issue?Code:public void sendAndLog(String user, EsObject messageOut) { getApi().sendPluginMessageToUser(user, messageOut); }
Thanks!


Reply With Quote
