Changeset 25089


Ignore:
Timestamp:
2012-02-15T14:56:32+13:00 (10 years ago)
Author:
sjm84
Message:

A fix to a common null pointer exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java

    r24993 r25089  
    268268        }
    269269
    270         mainResult.appendChild(this.doc.importNode(result, true));
     270        if(result != null)
     271        {
     272            mainResult.appendChild(this.doc.importNode(result, true));
     273        }
    271274      } else {
    272275        // The message needs to go to another module. The same message can
Note: See TracChangeset for help on using the changeset viewer.