jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Lukin <lu...@stu.cn.ua>
Subject Re: OCM: strange exceptions again
Date Wed, 06 Feb 2008 14:57:03 GMT
Wednesday 06 February 2008 15:03:16 Christophe Lombart написав:
> On Feb 6, 2008 12:47 PM, Alex Lukin <lukin@stu.cn.ua> wrote:
> > org.apache.jackrabbit.ocm.exception.IncorrectAtomicTypeException: No
> > registered converter for a field based on the class :'class [
> > Ljava.lang.String;'
>
> How did populate your object ? it is trying to find a converter for the
> class : [Ljava.lang.String;
 There's class:

@Node
public class UserNode {//implements IUserInfo {
    
    @Field(path=true) String path;
    @Field long version = 1L;
    @Field String firstname;
    @Field String lastname;
    @Field String surname;
    @Field String login;
    @Field String email;
    @Field String password;
    @Field String roles;

It is used as collection element. And there's nothing specilal as you can see. Some strings
are null except "path". What means "[L" before java.lang.String?
-- 
SY, Alex Lukin
RIPE NIC HDL: LEXA1-RIPE

Mime
View raw message