fixed bug Servlet crashing when running PORTAL MODE

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/admin/rmp-common-library@67603 82a268e6-3cf1-43bd-a215-b396298e98cf
Feature/25384
Massimiliano Assante 11 years ago
parent 6d70ff47b6
commit 277ef4e921

@ -8,7 +8,6 @@ public class Resource_support implements EntryPoint {
public Resource_support() {
super();
// TODO Auto-generated constructor stub
}
public Resource_support(HandlerManager eventBus){

@ -55,7 +55,9 @@ public final class CurrentStatus implements Serializable {
if (scope != null) {
currentScope = scope.trim();
}
Resource_support.get().getEventBus().fireEvent(new SetScopeEvent(scope));
if (Resource_support.get() != null) {
Resource_support.get().getEventBus().fireEvent(new SetScopeEvent(scope));
}
//Commands.setStatusScope(scope);
}

Loading…
Cancel
Save