Subject subj0 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);
Subject subj0 = null; try { subj0 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T); } catch (SubjectNotFoundException e2) {  e2.printStackTrace(); }
  public void testBug348() {    Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s = GrouperSession.start(subj);    // Create ns0    GrouperStem ns0 = GrouperStem.create(                         s, Constants.ns0s, Constants.ns0e                       );    // Create gA    GrouperGroup gA  = GrouperGroup.create(                         s, Constants.gAs, Constants.gAe                       );    // Load a subject    Subject subj0 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);    // Load subject as member    GrouperMember m0  = GrouperMember.load(s, subj0);    // Is m0 a member of gA?  Or rather, is an exception throw when    // checking?    try {      m0.isMember(gA);      Assert.assertTrue("No exception thrown", true);    } catch (RuntimeException e) {      Assert.fail("m0.isMember(gA) should not throw exception");    }    // Now load member by subjectID and subjectTypeID    GrouperMember m1 = GrouperMember.load(                         s, Constants.mem0I, Constants.mem0T                       );    // Is m0 a member of gA?  Or rather, is an exception throw when    // checking?    try {      m1.isMember(gA);      Assert.assertTrue("No exception thrown", true);    } catch (RuntimeException e) {      Assert.fail("m1.isMember(gA) should not throw exception");    }    // Now load member by id    GrouperMember m2 = GrouperMember.load(s, m0.memberID());    // Is m0 a member of gA?  Or rather, is an exception throw when    // checking?    try {      m2.isMember(gA);      Assert.assertTrue("No exception thrown", true);    } catch (RuntimeException e) {      Assert.fail("m2.isMember(gA) should not throw exception");    }    s.stop();  }