Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: help!!! jcr:uuid not found! - msg#00009
List: users.jackrabbit.apache.org
problem solved.thanks and excuse me.
----- Original Message -----
Da : Stefan Guggisberg <stefan.guggisberg@xxxxxxxxx>
A : users@xxxxxxxxxxxxxxxxxxxxx
Oggetto : Re: help!!! jcr:uuid not found!
Data : Fri, 30 Jan 2009 11:28:15 +0100
>
On Fri, Jan 30, 2009 at 11:24 AM, Alessandro Cosenza
>
<alessandro.cosenza@xxxxxxxx> wrote:
>
> hi
>
> i create a node referenceable but strangely
>
> the uuid property is not created!
>
> when i try to get
>
> node.getProperty(JcrConstants.JCR_UUID).getString()
>
> it throws a PathNotFoundException.
>
> i know that it's an autocreated property so
>
> where would be the problem?
>
>
could you please provide some code?
>
>
cheers
>
stefan
>
>
> thanks
>
>
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: help!!! jcr:uuid not found!
On Fri, Jan 30, 2009 at 11:24 AM, Alessandro Cosenza
<alessandro.cosenza@xxxxxxxx> wrote:
> hi
> i create a node referenceable but strangely
> the uuid property is not created!
> when i try to get
> node.getProperty(JcrConstants.JCR_UUID).getString()
> it throws a PathNotFoundException.
> i know that it's an autocreated property so
> where would be the problem?
could you please provide some code?
cheers
stefan
> thanks
>
Next Message by Date:
click to view message preview
Re: A Property exists, but no it's value ?
On Thu, Jan 29, 2009 at 11:41 PM, Hervé Agnoux
<herve.agnoux@xxxxxxxxxxxxxxxxxxxxxx> 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.
>
>
>
>
Previous Message by Thread:
click to view message preview
Re: help!!! jcr:uuid not found!
On Fri, Jan 30, 2009 at 11:24 AM, Alessandro Cosenza
<alessandro.cosenza@xxxxxxxx> wrote:
> hi
> i create a node referenceable but strangely
> the uuid property is not created!
> when i try to get
> node.getProperty(JcrConstants.JCR_UUID).getString()
> it throws a PathNotFoundException.
> i know that it's an autocreated property so
> where would be the problem?
could you please provide some code?
cheers
stefan
> thanks
>
Next Message by Thread:
click to view message preview
Re: Can I obtain the 'cached' documents in HTML?
Smart Pigeon wrote:
> I wonder if/how we can get the 'cached documents' ( the things just like
> the 'cache' link in Google), which are the html version of the original
> documents with hit highlighting.
no, this is not possible with jackrabbit. what you can get is an excerpt that
contains highlighted terms.
See: http://wiki.apache.org/jackrabbit/ExcerptProvider
regards
marcel