Context variable call throws null pointer exception

I have created a context variable in two sites that share location schemes with all of our sites.

When my location scheme calls the context variable for a site where it has NOT been set it throws a java null pointer exception rather than returning a null value?

I assume this behaviour is not correct and would expect that the exception is caught and a null value returned?

Is there a particular way I need to test for the exisitence of a context variable?

Daniel,

You should not see null pointer exceptions. If you encounter one, contact Percussion Tech Support for assistance.

RLJII