Subject subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);
Subject subj1 = null; try { subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T); } catch (SubjectNotFoundException e1) {  e1.printStackTrace(); }
  public void testBug353Naming() {    // Create ns0    Subject subj0 = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s0 = GrouperSession.start(subj0);    GrouperStem ns0  = GrouperStem.create(                         s0, Constants.ns0s, Constants.ns0e                       );    GrouperMember m0 = GrouperMember.load(                         s0, Constants.mem0I, Constants.mem0T                       );    s0.naming().grant(s0, ns0, m0, Grouper.PRIV_STEM);    s0.stop();        // Create ns1 as child of ns0    Subject subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);    GrouperSession s1 = GrouperSession.start(subj1);    GrouperStem ns1 = GrouperStem.create(                         s1, Constants.ns1s, Constants.ns1e                       );    // the basics    Assert.assertNotNull("ns1 !null", ns1);    Assert.assertTrue(                      "ns1 right class",                       Constants.KLASS_GST.equals( ns1.getClass().getName() )                     );    // attr and schema    String type = ns1.type();    Assert.assertNotNull("ns1 type !null", type);    Assert.assertTrue("ns1 type vale", type.equals(Grouper.NS_TYPE));    String stem = ns1.attribute("stem").value();    Assert.assertNotNull("ns1 stem !null", stem);    Assert.assertTrue("ns1 stem val", stem.equals(Constants.ns1s));    String extn = ns1.attribute("extension").value();    Assert.assertNotNull("ns1 extn !null", extn);    Assert.assertTrue("ns1 extn val", extn.equals(Constants.ns1e));    // privs    Assert.assertTrue(      "m0 has STEM on ns1",      s1.naming().has(s1, ns1, Grouper.PRIV_STEM)    );    s1.stop();  }