perfsonar-dev - perfsonar: r3852 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r3852 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma
- Date: Tue, 20 May 2008 04:57:31 -0400
Author: nina
Date: 2008-05-20 04:57:31 -0400 (Tue, 20 May 2008)
New Revision: 3852
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
Log:
Fix for the last issue reported in
http://bugzilla.perfsonar.net/show_bug.cgi?id=430
(caused by null pointer )
- "Select interface" table doesn't show values in utilization columns
- "Summary for all interfaces" chart doesn't show anything
but... the graph at the bottom of the page shows correct utilization
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
2008-05-20 08:35:01 UTC (rev 3851)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
2008-05-20 08:57:31 UTC (rev 3852)
@@ -139,11 +139,13 @@
}
else {
- if (userData.isInput())
- userData.getEndpoint().setEvent(event,0);
- else if (userData.isOutput())
- userData.getEndpoint().setEvent(event,1);
- else userData.getEndpoint().setEvent(event,-1); //both
+ if (userData.getEndpoint() != null) {
+ if (userData.isInput())
+ userData.getEndpoint().setEvent(event,0);
+ else if (userData.isOutput())
+ userData.getEndpoint().setEvent(event,1);
+ else userData.getEndpoint().setEvent(event,-1); //both
+ }
}
}
}
- perfsonar: r3852 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma, svnlog, 05/20/2008
Archive powered by MHonArc 2.6.16.