@Test
public void gatherViewsHere() throws Exception
{
- int origCount = Desktop.getAlignframes().length;
+ int origCount = Desktop.getAlignframes() == null ? 0 : Desktop
+ .getAlignframes().length;
AlignFrame af = new jalview.io.FileLoader().LoadFileWaitTillLoaded(
"examples/exampleFile_2_7.jar", FormatAdapter.FILE);
assertTrue("Didn't read in the example file correctly.", af != null);