SPI: ClassCastException in JCR2SPI NodeImpl.

2006-11-15 Thread Julian Reschke

Hi,

I'm getting a ClassCastException in NodeImpl.getVersionHistory...:

java.lang.ClassCastException
	at 
org.apache.jackrabbit.jcr2spi.NodeImpl.getVersionHistory(NodeImpl.java:1115)


The implementation casts a Property to a VersionHistory here. Is that a 
known issue?


Best regards, Julian


Re: SPI: ClassCastException in JCR2SPI NodeImpl.

2006-11-15 Thread Angela Schreiber

hi julian

Julian Reschke wrote:

Is that a known issue?


no.
hmm... and actually it works for me...

regards
angela



Re: SPI: ClassCastException in JCR2SPI NodeImpl.

2006-11-15 Thread Julian Reschke

Angela Schreiber schrieb:

hi julian

Julian Reschke wrote:

Is that a known issue?


no.
hmm... and actually it works for me...


For the record: the code in JCR2SPI is fine, and the problem was caused 
by me SPI implementation.


Best regards, Julian