You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Guofeng Zhang <gu...@radvision.com> on 2012/01/12 03:23:34 UTC
karaf-3.0.0-SNAPSHOT: NullPointerException
Hi,
Recently I upgrade to the last trunk of Karaf. After build it, I unzip it and launch it using bin\karaf.bat without any customization, I see the following exception. There is no such exception saw before.
java.lang.NullPointerException
at org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown Source)[:]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
Thanks.
Guofeng
RE: karaf-3.0.0-SNAPSHOT: NullPointerException
Posted by Guofeng Zhang <gu...@radvision.com>.
The connection is online.
From: Andreas Pieber [mailto:anpieber@gmail.com]
Sent: Thursday, January 12, 2012 8:11 PM
To: user@karaf.apache.org
Subject: Re: karaf-3.0.0-SNAPSHOT: NullPointerException
Yep, that's what I've meant. I've seen a strange behavior during my test looking as if karaf is downloading various artifacts at runtime which might cause such strange behavior as you've encountered.
Kind regards,
Andreas
On Thu, Jan 12, 2012 at 12:36, Jamie G. <ja...@gmail.com>> wrote:
I believe he means testing Karaf without an internet connection.
Doing such would prevent maven from being able to download artifacts.
Cheers,
Jamie
On Thu, Jan 12, 2012 at 4:37 AM, Guofeng Zhang <gu...@radvision.com>> wrote:
> No. From the log, the bundle are resolved from system repository.
>
>
>
> What does Karaf offline mean?
>
>
>
> From: Andreas Pieber [mailto:anpieber@gmail.com<ma...@gmail.com>]
> Sent: Thursday, January 12, 2012 3:21 PM
> To: user@karaf.apache.org<ma...@karaf.apache.org>
> Subject: Re: karaf-3.0.0-SNAPSHOT: NullPointerException
>
>
>
> Hey,
>
>
>
> Are you behind a proxy or testing Karaf offline?
>
>
>
> Kind regards,
>
> Andreas
>
> On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang <gu...@radvision.com>> wrote:
>
> Hi,
>
>
>
> Recently I upgrade to the last trunk of Karaf. After build it, I unzip it
> and launch it using bin\karaf.bat without any customization, I see the
> following exception. There is no such exception saw before.
>
> java.lang.NullPointerException
>
> at
> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
>
> at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown
> Source)[:]
>
> at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
>
> at
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
>
> at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
>
>
>
> Thanks.
>
>
>
> Guofeng
>
>
>
>
Re: karaf-3.0.0-SNAPSHOT: NullPointerException
Posted by Andreas Pieber <an...@gmail.com>.
Yep, that's what I've meant. I've seen a strange behavior during my test
looking as if karaf is downloading various artifacts at runtime which might
cause such strange behavior as you've encountered.
Kind regards,
Andreas
On Thu, Jan 12, 2012 at 12:36, Jamie G. <ja...@gmail.com> wrote:
> I believe he means testing Karaf without an internet connection.
>
> Doing such would prevent maven from being able to download artifacts.
>
> Cheers,
> Jamie
>
> On Thu, Jan 12, 2012 at 4:37 AM, Guofeng Zhang <gu...@radvision.com>
> wrote:
> > No. From the log, the bundle are resolved from system repository.
> >
> >
> >
> > What does Karaf offline mean?
> >
> >
> >
> > From: Andreas Pieber [mailto:anpieber@gmail.com]
> > Sent: Thursday, January 12, 2012 3:21 PM
> > To: user@karaf.apache.org
> > Subject: Re: karaf-3.0.0-SNAPSHOT: NullPointerException
> >
> >
> >
> > Hey,
> >
> >
> >
> > Are you behind a proxy or testing Karaf offline?
> >
> >
> >
> > Kind regards,
> >
> > Andreas
> >
> > On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang <gu...@radvision.com>
> wrote:
> >
> > Hi,
> >
> >
> >
> > Recently I upgrade to the last trunk of Karaf. After build it, I unzip it
> > and launch it using bin\karaf.bat without any customization, I see the
> > following exception. There is no such exception saw before.
> >
> > java.lang.NullPointerException
> >
> > at
> >
> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
> >
> > at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown
> > Source)[:]
> >
> > at
> >
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
> >
> > at
> >
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
> >
> > at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
> >
> >
> >
> > Thanks.
> >
> >
> >
> > Guofeng
> >
> >
> >
> >
>
Re: karaf-3.0.0-SNAPSHOT: NullPointerException
Posted by "Jamie G." <ja...@gmail.com>.
I believe he means testing Karaf without an internet connection.
Doing such would prevent maven from being able to download artifacts.
Cheers,
Jamie
On Thu, Jan 12, 2012 at 4:37 AM, Guofeng Zhang <gu...@radvision.com> wrote:
> No. From the log, the bundle are resolved from system repository.
>
>
>
> What does Karaf offline mean?
>
>
>
> From: Andreas Pieber [mailto:anpieber@gmail.com]
> Sent: Thursday, January 12, 2012 3:21 PM
> To: user@karaf.apache.org
> Subject: Re: karaf-3.0.0-SNAPSHOT: NullPointerException
>
>
>
> Hey,
>
>
>
> Are you behind a proxy or testing Karaf offline?
>
>
>
> Kind regards,
>
> Andreas
>
> On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang <gu...@radvision.com> wrote:
>
> Hi,
>
>
>
> Recently I upgrade to the last trunk of Karaf. After build it, I unzip it
> and launch it using bin\karaf.bat without any customization, I see the
> following exception. There is no such exception saw before.
>
> java.lang.NullPointerException
>
> at
> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
>
> at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown
> Source)[:]
>
> at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
>
> at
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
>
> at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
>
>
>
> Thanks.
>
>
>
> Guofeng
>
>
>
>
RE: karaf-3.0.0-SNAPSHOT: NullPointerException
Posted by Guofeng Zhang <gu...@radvision.com>.
No. From the log, the bundle are resolved from system repository.
What does Karaf offline mean?
From: Andreas Pieber [mailto:anpieber@gmail.com]
Sent: Thursday, January 12, 2012 3:21 PM
To: user@karaf.apache.org
Subject: Re: karaf-3.0.0-SNAPSHOT: NullPointerException
Hey,
Are you behind a proxy or testing Karaf offline?
Kind regards,
Andreas
On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang <gu...@radvision.com>> wrote:
Hi,
Recently I upgrade to the last trunk of Karaf. After build it, I unzip it and launch it using bin\karaf.bat without any customization, I see the following exception. There is no such exception saw before.
java.lang.NullPointerException
at org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown Source)[:]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
Thanks.
Guofeng
Re: karaf-3.0.0-SNAPSHOT: NullPointerException
Posted by Andreas Pieber <an...@gmail.com>.
Hey,
Are you behind a proxy or testing Karaf offline?
Kind regards,
Andreas
On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang <gu...@radvision.com> wrote:
> Hi,****
>
> ** **
>
> Recently I upgrade to the last trunk of Karaf. After build it, I unzip it
> and launch it using bin\karaf.bat without any customization, I see the
> following exception. There is no such exception saw before.****
>
> java.lang.NullPointerException****
>
> at
> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
> ****
>
> at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown
> Source)[:]****
>
> at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
> ****
>
> at
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
> ****
>
> at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]****
>
> ** **
>
> Thanks.****
>
> ** **
>
> Guofeng****
>
> ** **
>
Re: karaf-3.0.0-SNAPSHOT: NullPointerException
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Guofeng,
I don't reproduce it on Linux with a fresh built Karaf trunk.
Let me try to reproduce on my Windows VM.
Regards
JB
On 01/12/2012 03:23 AM, Guofeng Zhang wrote:
> Hi,
>
> Recently I upgrade to the last trunk of Karaf. After build it, I unzip
> it and launch it using bin\karaf.bat without any customization, I see
> the following exception. There is no such exception saw before.
>
> java.lang.NullPointerException
>
> at
> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[50:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
>
> at Proxy57827e67_aace_4683_924e_c2eb69b9ba83.updated(Unknown Source)[:]
>
> at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
>
> at
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
>
> at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
>
> Thanks.
>
> Guofeng
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com