[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Tue May 4 16:16:33 UTC 2010


gordonp
Tue May  4 12:16:33 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv6082/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	MobyPayloadCreator.java 
Log Message:
Null pointer check for source pane
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyPayloadCreator.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyPayloadCreator.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyPayloadCreator.java	2010/04/26 16:29:13	1.5
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyPayloadCreator.java	2010/05/04 16:16:33	1.6
@@ -59,7 +59,7 @@
         }
 	Document doc = null;
         // Get the list of nodes to filter, using in-memory data if possible
-	if(targetURL.equals(srcPane.getCurrentURL())){
+	if(srcPane != null && targetURL.equals(srcPane.getCurrentURL())){
             doc = srcPane.getCurrentDoc();
 
             if(filter == null){




More information about the MOBY-guts mailing list