protected Object getObject() {
if (path==null) return null;
// THE NODE REPOSITORY AND WORKSPACE NAME GOT TO CORRESPOND WITH A JBPM SERVICE NAME
JcrService jcrService = findService();
if (jcrService==null) {
throw new JbpmException("couldn't find jBPM service for JCR repository '"+repository+"', workspace '"+workspace+"'");
}
Session session = jcrService.getSession();
Item item;
try {
item = session.getItem(path);
} catch (Exception e) {
// NOTE that Error's are not caught because that might halt the JVM and mask the original Error.