Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3913 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription

Subject: perfsonar development work

List archive

perfsonar: r3913 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3913 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription
  • Date: Thu, 29 May 2008 09:05:45 -0400

Author: michael.bischoff
Date: 2008-05-29 09:05:44 -0400 (Thu, 29 May 2008)
New Revision: 3913

Modified:

trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
Log:
Fix for null pointer on context undeploy

Modified:
trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
===================================================================
---
trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
2008-05-29 12:39:22 UTC (rev 3912)
+++
trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
2008-05-29 13:05:44 UTC (rev 3913)
@@ -182,6 +182,9 @@
});
Arrays.sort(files); // TODO ensure right sorting (on
windows, but there is no nfdump for windows)

logger.debug("NfReplayControll.ExportingRouter.getTarget() selected files: "+
Arrays.toString(files));
+ if(files==null) {
+ return new File[0]; // always return a empty
array never null.
+ }
return files;
}




  • perfsonar: r3913 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription, svnlog, 05/29/2008

Archive powered by MHonArc 2.6.16.

Top of Page