I looked into this a tiny bit and the immediate cause seems to be that a 
configuration has been persisted inside the configuration manager without a key 
for "service.id" (Constants.SERVICE_PID).  I have no idea how this might 
happen, but you might be able to figure out in a debugger without too much 
trouble.

david jencks

On Nov 11, 2013, at 3:53 AM, Snorre Lothar von Gohren Edwin 
<[email protected]> wrote:

> This is an annoying problem for my thesis and it has to be someone who have
> had some experience with this.
> Its a simple ManagedServiceFactory implementation but get a strange error.
> Might be something Im missing in the config or something.
> I would appriciate alot some kind of feedback.
> 
> ---------- Forwarded message ----------
> From: Snorre Lothar von Gohren Edwin <[email protected]>
> Date: Tue, Nov 5, 2013 at 5:18 PM
> Subject: NullPointer exception fileInstall and ServiceManagedFactory
> To: users <[email protected]>
> 
> 
> Hi, I seem to get a weird NullPointer exception when I use the combination
> of fileInstall and ManagedServiceFactory. The exception rises when a config
> is either updated or created and after the whole update method has
> succsefully run.
> 
> My factory is implemented like this:
> https://gist.github.com/Snorlock/7321523
> The null pointer exception looks like this:
> https://gist.github.com/Snorlock/7321535
> And my config looks like this: https://gist.github.com/Snorlock/7321546
> 
> i would appriciate some help to get rid of this nullpointer exception:)
> Thx
> 
> -- 
> Mvh
> Snorre Lothar von Gohren Edwin
> MeetMe: http://doodle.com/vonGohren
> +47 411 611 94
> 
> 
> 
> -- 
> Mvh
> Snorre Lothar von Gohren Edwin
> MeetMe: http://doodle.com/vonGohren
> +47 411 611 94


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to