On Thu, Jan 29, 2009 at 11:41 PM, Hervé Agnoux <[email protected]> wrote: > Hi, > > I have this stack trace : > Caused by: javax.jcr.RepositoryException: property > /iaa:autonome/iaa:recueil/iaa:copies/iaa:copie_gimick_22_147/valeurs: single- > valued property with no value > at > org.apache.jackrabbit.core.PropertyImpl.internalGetValue(PropertyImpl.java:471) > at > org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) > at > org.apache.jackrabbit.core.PropertyImpl.getStream(PropertyImpl.java:502) > > If I look at the PropertyImpl.java source, line 470, I see this comment : "// > should never be the case, but being a little paranoid can't hurt..." > > It's midnight for me, so it's time to be paranoid... > > What do you think of that ? How can I control that ?
did you perhaps modify the node type definitions? the name of the property 'valeurs' suggests a multi-value property, but apparently it's declared as being single-valued. multi-value properties are allowed to have an empty value array. cheers stefan > > It's jackarabbit 1.5. > > > >
