Thanks.

Regards
Felix

On 04.05.2010 07:50, Ian Boston (JIRA) wrote:
> 
>      [ 
> https://issues.apache.org/jira/browse/SLING-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
> 
> Ian Boston resolved SLING-1516.
> -------------------------------
> 
>     Resolution: Fixed
> 
> Yes,  thats a much better way of doing it. I couldnt make much sense of the 
> spec in this area, so thank you.
> 
> Reverted my attempt and used your suggestion. Fixes the problem.
> 
>> FSResource Provider throws exception on first activate.
>> -------------------------------------------------------
>>
>>                 Key: SLING-1516
>>                 URL: https://issues.apache.org/jira/browse/SLING-1516
>>             Project: Sling
>>          Issue Type: Bug
>>    Affects Versions: File System Resource Provider 0.9.2
>>            Reporter: Ian Boston
>>            Assignee: Ian Boston
>>             Fix For: File System Resource Provider 1.0.2
>>
>>
>> 04.05.2010 11:07:03.367 *ERROR* [SCR Component Actor] 
>> org.apache.sling.fsresource 
>> [org.apache.sling.fsprovider.internal.FsResourceProvider] The activate 
>> method has thrown an exception (java.lang.IllegalArgumentException: 
>> provider.roots property must be set) java.lang.IllegalArgumentException: 
>> provider.roots property must be set
>>      at 
>> org.apache.sling.fsprovider.internal.FsResourceProvider.activate(FsResourceProvider.java:206)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>      at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>      at java.lang.reflect.Method.invoke(Method.java:597)
>>      at 
>> org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:213)
>>      at 
>> org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
>> Seeing these when FSResource is present and not configured.
> 

Reply via email to