Hi,
If this is a scheduled event, not associated with an existing document context,
then I suspect you have to login to the Repository and create a CoreSession.
I'm not sure for this because in the provided example CoreSession is
not using and needed, also Repository is not using - just catch of event
and system out, nothing related to repository and CoreSession.
I suppose that the NPE is thrown because EventListenerDescriptor can not
instantiate an object from specified implementation:
test.job.StartJobListener
Regards,
Stefan
--
Posted by "bgrant" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3529#10798>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm