server: Make GenericRestWSServer#monitor static. Fix NPE using it.
@@ -83,7 +83,7 @@ public class GenericRestWSServer implements IWSServer {
*/
protected static CellBaseConfiguration cellBaseConfiguration;
protected static CellBaseManagerFactory cellBaseManagerFactory;
- protected org.opencb.cellbase.lib.monitor.Monitor monitor;
+ protected static org.opencb.cellbase.lib.monitor.Monitor monitor;
private static final String ERROR = "error";
private static final String OK = "ok";
// this webservice has no species, do not validate
