From the code, it's in an asynchronous listener. In an asynchronous
listener, only a basic SimplePrincipal is available, not the full
NuxeoPrincipal. The listener code may be at fault, I'll ping our devs.
Florent
On 24 Jun 2009, at 14:57, Sean Radford wrote:
Ok, I'll have a good look into it and get back - it is happening
after some custom code is running and so will investigate further...
Thanks,
Sean
Florent Guillaume wrote:
Any way to reproduce it?
Florent
On 24 Jun 2009, at 03:07, Sean Radford wrote:
Just notice this error popping up in my log whilst playing with
version 5.2.0. Anything to worry about....?
java.lang.ClassCastException:
org.nuxeo.ecm.core.api.SimplePrincipal cannot be cast to
org.nuxeo.ecm.core.api.NuxeoPrincipal at
org
.nuxeo
.ecm
.platform
.annotations
.repository
.service
.DocumentVersionnedGraphManager
.manage(DocumentVersionnedGraphManager.java:61)
at
org
.nuxeo
.ecm
.platform
.annotations
.repository
.service
.VersionEventListener.handleEvent(VersionEventListener.java:55)
at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor
$Job.run(AsyncEventExecutor.java:109)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0) 8700 671 490
m: +44 (0) 7802 24 24 86
--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm