[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Mon Nov 3 19:47:46 UTC 2008


kawas
Mon Nov  3 14:47:45 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard
In directory dev.open-bio.org:/tmp/cvs-serv16245/src/main/org/biomoby/service/dashboard

Modified Files:
	PerlMoSeSPanel.java 
Log Message:
once in a while, a null pointer exception occurs because a button isnt created but a method is called on it [fixed].
moby-live/Java/src/main/org/biomoby/service/dashboard PerlMoSeSPanel.java,1.13,1.14
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PerlMoSeSPanel.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PerlMoSeSPanel.java	2008/09/02 18:48:23	1.13
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PerlMoSeSPanel.java	2008/11/03 19:47:45	1.14
@@ -892,7 +892,8 @@
 	    boolean updateFailed = false;
 	    
 	    public Object construct() {
-		generateBtn.setEnabled(false);
+		if (generateBtn != null)
+		    generateBtn.setEnabled(false);
 		propertyChannel.fire(DP_STATUS_MSG,
 			"Synchronizing Perl-MoSeS Datatype Cache...");
 		console.setEnabledAppendMode(false);




More information about the MOBY-guts mailing list