java.lang NullPointerException
SystemErr R at
com.ibm.workplace.wcm.api.WCM_APICoreQueries.findSiteAreaChildrenNoRecurse(WCM_APICoreQueries.java:152)
Answer by rickett (14292) | Jan 12, 2017 at 01:33 PM
Need to
1.Define a default library in the wcm configuration
or
2.Set a current library in the script before calling mySiteArea.getChildren() using something like this:
DocumentLibrary currDocLib = workspace.getDocumentLibrary("MyLibrary");
workspace.setCurrentDocumentLibrary(currDocLib);
Error using WCM API IWKWC0010W Unauthorized access by {PrincipalInformation: {dn: anonymous_user 1 Answer
WCM API Sample Code to render Authoring Tools Component from a JSP using tag library 1 Answer
staleValueException using WCM API from an EJB 1 Answer
WCM API considerations when calling endWorkspace() 1 Answer
WCM API sample code to clear versions with custom utility 1 Answer