karaf-3.0.0-SNAPSHOT: NullPointerException

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

karaf-3.0.0-SNAPSHOT: NullPointerException

Guofeng Zhang-2

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

 

Reply | Threaded
Open this post in threaded view
|

Re: karaf-3.0.0-SNAPSHOT: NullPointerException

jbonofre
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é
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: karaf-3.0.0-SNAPSHOT: NullPointerException

Andreas Pieber
In reply to this post by Guofeng Zhang-2
Hey,

Are you behind a proxy or testing Karaf offline?

Kind regards,
Andreas

On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang <[hidden email]> 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

 


Reply | Threaded
Open this post in threaded view
|

RE: karaf-3.0.0-SNAPSHOT: NullPointerException

Guofeng Zhang-2

No. From the log, the bundle are resolved from system repository.

 

What does Karaf offline mean?

 

From: Andreas Pieber [mailto:[hidden email]]
Sent: Thursday, January 12, 2012 3:21 PM
To: [hidden email]
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 <[hidden email]> 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

 

 

Reply | Threaded
Open this post in threaded view
|

Re: karaf-3.0.0-SNAPSHOT: NullPointerException

jgoodyear
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 <[hidden email]> wrote:

> No. From the log, the bundle are resolved from system repository.
>
>
>
> What does Karaf offline mean?
>
>
>
> From: Andreas Pieber [mailto:[hidden email]]
> Sent: Thursday, January 12, 2012 3:21 PM
> To: [hidden email]
> 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 <[hidden email]> 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
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: karaf-3.0.0-SNAPSHOT: NullPointerException

Andreas Pieber
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. <[hidden email]> 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 <[hidden email]> wrote:
> No. From the log, the bundle are resolved from system repository.
>
>
>
> What does Karaf offline mean?
>
>
>
> From: Andreas Pieber [mailto:[hidden email]]
> Sent: Thursday, January 12, 2012 3:21 PM
> To: [hidden email]
> 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 <[hidden email]> 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
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: karaf-3.0.0-SNAPSHOT: NullPointerException

Guofeng Zhang-2

The connection is online.

 

From: Andreas Pieber [mailto:[hidden email]]
Sent: Thursday, January 12, 2012 8:11 PM
To: [hidden email]
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. <[hidden email]> 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 <[hidden email]> wrote:
> No. From the log, the bundle are resolved from system repository.
>
>
>
> What does Karaf offline mean?
>
>
>
> From: Andreas Pieber [mailto:[hidden email]]
> Sent: Thursday, January 12, 2012 3:21 PM
> To: [hidden email]
> 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 <[hidden email]> 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
>
>
>
>