Hi Sonia

Thx for reporting.

This Exception happens if there are no Resources within the Bundle for the Path 
configured by the "Install-Path" key in the manifest file. 

So this can be considered as a Bug - because instead of throwing an Exception 
the Component should do nothing. However this might also indicate that the 
"org.apache.stanbol.data.site.mydata-1.0.0.jar" is missing some resources.

I will add the additional check to avoid this Exception and will also add a 
WARNING if the "Install-Path" refers to an empty or nonexistent Path within the 
Bundle. This will avoid this exemption and should also help to track down 
Bundles with wrong "Install-Path" configurations.

best
Rupert

BTW:  I am currently working on a functionality that allows to update the index 
data of an referenced site by simple deleting the old "**.solrindex.zip" file 
within the /datafiles folder and later copying the new version of the archive 
to the /datafiles directory.
This should make it more easy to update the data within the local cache.


On 21.11.2011, at 10:07, Sonia Gomez wrote:

> 
> HelloI try to add a new index, after build index and install the bundle 
> org.apache.stanbol.data.site.mydata-1.0.0.jar, I have this error :ERROR: 
> Bundle org.apache.stanbol.commons.installer.bundleprovider [114]: 
> EventDispatcher: Error during dispatch. 
> (java.lang.NullPointerException)java.lang.NullPointerException        at 
> org.apache.stanbol.commons.installer.provider.bundle.impl.BundleInstaller.register(BundleInstaller.java:173)
>         at 
> org.apache.stanbol.commons.installer.provider.bundle.impl.BundleInstaller.bundleChanged(BundleInstaller.java:136)
>         at 
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
>         at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
>         at 
> org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) 
>        at 
> org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
>         at 
> org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
>         at java.lang.Thread.run(Unknown Source)
> have you an idea of the source of my problem ?!Thanks for your help           
>                           

Reply via email to