Fixed test

This commit is contained in:
Alexander Kireyev
2005-02-21 21:33:24 +03:00
parent 15b40716ca
commit dbc855ee15
@@ -47,7 +47,7 @@ public class EPAvailabilityListenerExtension implements PluginAware {
}
public Class loadListenerClass() throws ClassNotFoundException {
if (myPluginDescriptor.getPluginClassLoader() != null) {
if (myPluginDescriptor != null && myPluginDescriptor.getPluginClassLoader() != null) {
return Class.forName(getListenerClass(), true, myPluginDescriptor.getPluginClassLoader());
}
else {