diff --git a/moskito-webui/src/main/java/net/anotheria/moskito/webui/gauges/api/GaugeAPIImpl.java b/moskito-webui/src/main/java/net/anotheria/moskito/webui/gauges/api/GaugeAPIImpl.java
index <HASH>..<HASH> 100644
--- a/moskito-webui/src/main/java/net/anotheria/moskito/webui/gauges/api/GaugeAPIImpl.java
+++ b/moskito-webui/src/main/java/net/anotheria/moskito/webui/gauges/api/GaugeAPIImpl.java
@@ -72,6 +72,8 @@ public class GaugeAPIImpl extends AbstractMoskitoAPIImpl implements GaugeAPI {
 	public List<GaugeAO> getGauges(){
 		GaugesConfig gg = MoskitoConfigurationHolder.getConfiguration().getGaugesConfig();
 		List<GaugeAO> gaugeAOList = new LinkedList<GaugeAO>();
+		if (gg == null || gg.getGauges() == null || gg.getGauges().length == 0)
+			return gaugeAOList;
 		for (GaugeConfig g : gg.getGauges()){
 			GaugeAO ao = createGaugeAO(g);
 			gaugeAOList.add(ao);
fixed exception on gauges page if there are no configured gauges.