Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Searching realm using WOM
Arc
Hi,
I am trying to execute the createTrustee sample code that comes in the package com.interwoven.worksite.womexamples and i get the following error
**************************************************
Creating Session Manager...
Session Manager created. Creating Simple Session...
Simple Session created. Login...
Logged in...
Found Library : GENIE
Found preferences facilityGENIE
realm nameGENIEREALM
Exception :: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.imanage.cms.fc.properties.ListProperty.elementAt(ListProperty.java:209)
at com.imanage.cms.t2.jom.impl.TrusteeResultsImpl.trusteeAt(TrusteeResultsImpl.java:36)
at com.imanage.cms.api.workteam.impl.TrusteeResultListImpl$ItTrusteeIteratorImpl.next(TrusteeResultListImpl.java:94)
at com.interwoven.worksite.womexamples.CreateTrustee.main(CreateTrustee.java:74)
****************************************************
realm nameGENIEREALM this output is just before the code -
System.out.println ("realm name" + realmName);
sArg.setProfileCondition("BASE::RDN = \"" + realmName + "\"");
insertRealm = (Realm) library.searchTrustees(sArg).iterator().next();
// Assume only one object returned
There is only one realm "GENIEREALM" and only one library "GENIE" and only one facility "GENIE" in the system (development env)
Please let me know where i am going wrong.
Thanks in advance for your help and time.
Find more posts tagged with
Comments
There are no comments yet