Thanks!  I figured that was the case.  The odd thing, is I tried 2.2.5 with
Karaf 2.3.0 and I got virtually the same log output.  I'll post the log in
a few hours to see what you think.  What is weird is that I know you've
shown demos of cellar 2.2.5, so there isn't any reason it shouldn't work.
Hopefully I can figure it out.  Excited to use cellar in an open source
integration I've been working on in my github repo with Karaf.

Thanks for all your hard work, as well as the others who work on Karaf and
the related projects!

Ryan
On Jan 7, 2013 12:06 AM, "Jean-Baptiste Onofré" <[email protected]> wrote:

> Hi Ryan,
>
> Cellar 3.0.x works only with Karaf 3.0.x (and there are still some pending
> issues to fix before that).
>
> My advice is to use Cellar 2.2.x (latest) with Karaf 2.2.x (latest): it's
> the stable match.
>
> I created Cellar 2.3.x branch in order to work with Karaf 2.3.x, I have a
> couple of issues to fix on this branch before cutting a first Cellar 2.3.0
> release.
>
> Regards
> JB
>
> On 01/07/2013 03:48 AM, Ryan Moquin wrote:
>
>> I am still running into a bit of trouble with Cellar 3.0.0-SNAPSHOT and
>> am not sure if I should back off to 2.3.0 for now (since I'm starting
>> pretty fresh with Karaf, I figure I might as well start with 3.0.0).
>>   Karaf 3.0.0 has been working great so far, but I feel like I have to
>> be doing something wrong with Cellar.  I had gotten the integration
>> tests partially running by upgrading to pax-exam 2.6.  I then worked
>> through one or two other issues.  I'm now getting NPEs from the child
>> instances in the integration tests when I try to install cellar on them.
>>   I decided I should probably try installing Cellar on a plain running
>> Karaf 3.0.0 instance, here's what happened when I added the repo and
>> installed the cellar feature:
>>
>> 2013-01-06 21:21:37,561 | INFO  | rint Extender: 3 |
>> BlueprintContainerImpl           | 25 - org.apache.aries.blueprint.
>> core - 1.0.1 | Bundle org.apache.karaf.cellar.dosgi is waiting for
>> dependencies 
>> [(objectClass=org.apache.**karaf.cellar.co<http://org.apache.karaf.cellar.co>
>> <http://org.apache.karaf.**cellar.co <http://org.apache.karaf.cellar.co>>
>> re.ClusterManager)]
>> 2013-01-06 21:21:37,914 | WARN  | rint Extender: 3 | BundleSynchronizer
>>                | 80 - org.apache.karaf.cellar.bun
>> dle - 3.0.0.SNAPSHOT | CELLAR BUNDLE: sync is disabled for group default
>> 2013-01-06 21:21:38,105 | WARN  | rint Extender: 1 |
>> ConfigurationSynchronizer        | 78 - org.apache.karaf.cellar.con
>> fig - 3.0.0.SNAPSHOT | CELLAR CONFIG: configuration with PID
>> org.ops4j.pax.logging is marked as BLOCKED OUTBOUND
>> 2013-01-06 21:21:38,127 | WARN  | rint Extender: 1 |
>> ConfigurationSynchronizer        | 78 - org.apache.karaf.cellar.con
>> fig - 3.0.0.SNAPSHOT | CELLAR CONFIG: configuration with PID
>> org.apache.felix.fileinstall.**35b3d602-b467-410a-9094-a6da42
>> c83f41 is marked as BLOCKED OUTBOUND
>> 2013-01-06 21:21:38,164 | WARN  | rint Extender: 1 |
>> ConfigurationSynchronizer        | 78 - org.apache.karaf.cellar.con
>> fig - 3.0.0.SNAPSHOT | CELLAR CONFIG: configuration with PID
>> org.apache.karaf.shell is marked as BLOCKED OUTBOUND
>> 2013-01-06 21:21:38,165 | WARN  | rint Extender: 1 |
>> ConfigurationSynchronizer        | 78 - org.apache.karaf.cellar.con
>> fig - 3.0.0.SNAPSHOT | CELLAR CONFIG: configuration with PID
>> org.apache.karaf.management is marked as BLOCKED OUTBOUND
>> 2013-01-06 21:21:38,172 | WARN  | rint Extender: 1 |
>> ConfigurationSynchronizer        | 78 - org.apache.karaf.cellar.con
>> fig - 3.0.0.SNAPSHOT | CELLAR CONFIG: configuration with PID
>> org.apache.karaf.cellar.node is marked as BLOCKED OUTBOUND
>> 2013-01-06 21:21:38,178 | WARN  | rint Extender: 1 |
>> ConfigurationSynchronizer        | 78 - org.apache.karaf.cellar.con
>> fig - 3.0.0.SNAPSHOT | CELLAR CONFIG: configuration with PID
>> org.apache.karaf.cellar.groups is marked as BLOCKED OUTBOUN
>> D
>> 2013-01-06 21:21:38,280 | ERROR | pool-12-thread-1 | EventDispatchTask
>>               | 76 - org.apache.karaf.cellar.cor
>> e - 3.0.0.SNAPSHOT | Error while dispatching task
>> java.lang.NullPointerException
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:53)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:36)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at Proxy2a5cf12b_1106_4da6_8686_**568651ac83ce.handle(Unknown
>> Source)[:]
>>          at Proxy33de80fe_d9a3_422f_bca1_**6c8762824e0d.handle(Unknown
>> Source)[:]
>>          at
>> org.apache.karaf.cellar.core.**event.EventDispatchTask.run(**
>> EventDispatchTask.java:77)[76:**org.apache.karaf.cella
>> r.core:3.0.0.SNAPSHOT]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor.runWorker(**
>> ThreadPoolExecutor.java:1110)[**:1.7.0_09]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
>> ThreadPoolExecutor.java:603)[:**1.7.0_09]
>>          at java.lang.Thread.run(Thread.**java:722)[:1.7.0_09]
>> 2013-01-06 21:21:38,282 | ERROR | pool-12-thread-6 | EventDispatchTask
>>               | 76 - org.apache.karaf.cellar.cor
>> e - 3.0.0.SNAPSHOT | Error while dispatching task
>> java.lang.NullPointerException
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:53)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:36)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at Proxy2a5cf12b_1106_4da6_8686_**568651ac83ce.handle(Unknown
>> Source)[:]
>>          at Proxy33de80fe_d9a3_422f_bca1_**6c8762824e0d.handle(Unknown
>> Source)[:]
>>          at
>> org.apache.karaf.cellar.core.**event.EventDispatchTask.run(**
>> EventDispatchTask.java:77)[76:**org.apache.karaf.cella
>> r.core:3.0.0.SNAPSHOT]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor.runWorker(**
>> ThreadPoolExecutor.java:1110)[**:1.7.0_09]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
>> ThreadPoolExecutor.java:603)[:**1.7.0_09]
>>          at java.lang.Thread.run(Thread.**java:722)[:1.7.0_09]
>> 2013-01-06 21:21:38,283 | ERROR | pool-12-thread-4 | EventDispatchTask
>>               | 76 - org.apache.karaf.cellar.cor
>> e - 3.0.0.SNAPSHOT | Error while dispatching task
>> java.lang.NullPointerException
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:53)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:36)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at Proxy2a5cf12b_1106_4da6_8686_**568651ac83ce.handle(Unknown
>> Source)[:]
>>          at Proxy33de80fe_d9a3_422f_bca1_**6c8762824e0d.handle(Unknown
>> Source)[:]
>>          at
>> org.apache.karaf.cellar.core.**event.EventDispatchTask.run(**
>> EventDispatchTask.java:77)[76:**org.apache.karaf.cella
>> r.core:3.0.0.SNAPSHOT]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor.runWorker(**
>> ThreadPoolExecutor.java:1110)[**:1.7.0_09]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
>> ThreadPoolExecutor.java:603)[:**1.7.0_09]
>>          at java.lang.Thread.run(Thread.**java:722)[:1.7.0_09]
>> 2013-01-06 21:21:38,283 | ERROR | pool-12-thread-2 | EventDispatchTask
>>               | 76 - org.apache.karaf.cellar.cor
>> e - 3.0.0.SNAPSHOT | Error while dispatching task
>> java.lang.NullPointerException
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:53)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:36)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at Proxy2a5cf12b_1106_4da6_8686_**568651ac83ce.handle(Unknown
>> Source)[:]
>>          at Proxy33de80fe_d9a3_422f_bca1_**6c8762824e0d.handle(Unknown
>> Source)[:]
>>          at
>> org.apache.karaf.cellar.core.**event.EventDispatchTask.run(**
>> EventDispatchTask.java:77)[76:**org.apache.karaf.cella
>> r.core:3.0.0.SNAPSHOT]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor.runWorker(**
>> ThreadPoolExecutor.java:1110)[**:1.7.0_09]
>>          at
>> java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
>> ThreadPoolExecutor.java:603)[:**1.7.0_09]
>>          at java.lang.Thread.run(Thread.**java:722)[:1.7.0_09]
>> 2013-01-06 21:21:38,284 | ERROR | pool-12-thread-5 | EventDispatchTask
>>               | 76 - org.apache.karaf.cellar.cor
>> e - 3.0.0.SNAPSHOT | Error while dispatching task
>> java.lang.NullPointerException
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:53)[78:org.apa
>> che.karaf.cellar.config:3.0.0.**SNAPSHOT]
>>          at
>> org.apache.karaf.cellar.**config.**ConfigurationEventHandler.**handle(**
>> ConfigurationEventHandler.**java:36)[78:org.apa....
>>
>>
>> Is there a current known stability issue in Cellar 3.0.0 currently?  Can
>> I use Karaf 3.0.0 and Cellar 2.2.5?  Obviously there is always a risk of
>> issues with in-development software, I was just hoping to get a head
>> start. :)
>>
>> Let me know if I should open an issue for anything, or if I can get
>> anymore information.  When I debugged the NPE I was receiving in the
>> Karaf child instance in the integration tests, the NPE was caused by a
>> null feature url (even though the cellar feature url was being passed in).
>>
>> Ryan
>>
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to