Subject subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);
Subject subj1 = null; try { subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T); } catch (SubjectNotFoundException e2) {  e2.printStackTrace(); }
  public void testBug352Naming() {    Subject subj0 = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s0 = GrouperSession.start(subj0);    Subject subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);    GrouperSession s1 = GrouperSession.start(subj1);    // Create ns0    GrouperStem ns0 = GrouperStem.create(                         s0, Constants.ns0s, Constants.ns0e                       );    // Create ns1    GrouperStem ns1 = GrouperStem.create(                         s0, Constants.ns1s, Constants.ns1e                       );    // Load ns1 as subj1    GrouperStem ns11 = GrouperStem.load(                         s1, Constants.ns1s, Constants.ns1e                       );    // Set description as root    String text0 = "test description";    try {      ns1.attribute("description", text0);      Assert.assertTrue("add description to ns1", true);    } catch (RuntimeException e) {      Assert.fail("add description to ns1 failed");    }    GrouperAttribute desc0 = ns1.attribute("description");    Assert.assertNotNull("ns1 description !null", desc0);    Assert.assertTrue(      "ns1 description value", desc0.value().equals(text0)    );    // Fail to set description as !root    String text1 = "a longer test description";    try {      ns11.attribute("description", text1);      Assert.fail("add description to ns11 should have failed");    } catch (RuntimeException e) {      Assert.assertTrue("add description to ns11 should fail", true);    }    GrouperAttribute desc1 = ns11.attribute("description");    Assert.assertNotNull("ns11 description !null", desc1);    Assert.assertTrue(      "ns11 description value", desc1.value().equals("")    );    // Grant STEM to !root    GrouperMember m = GrouperMember.load(                        s0, Constants.mem0I, Constants.mem0T                      );    Assert.assertTrue(      "grant ADMIN to m on ns11",      s0.naming().grant(s0, ns11, m, Grouper.PRIV_STEM)    );    // Set description as !root    try {      ns11.attribute("description", text1);      Assert.assertTrue("add description to ns11", true);    } catch (RuntimeException e) {      Assert.fail("add description to ns11 should not have failed");    }    GrouperAttribute desc2 = ns11.attribute("description");    Assert.assertNotNull("ns11 description !null", desc2);    Assert.assertTrue(      "ns11 description value", desc2.value().equals(text1)    );    s0.stop();    s1.stop();  }