felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Snorre Lothar von Gohren Edwin <snorre.ed...@gmail.com>
Subject Re: NullPointer exception fileInstall and ServiceManagedFactory
Date Tue, 12 Nov 2013 11:31:08 GMT
Thanks for feedback.
Just a quick question, what kind of debugger would I use?
This is not a familiar term for me.
Im working in eclipse on a regular basis.


On Mon, Nov 11, 2013 at 7:57 PM, David Jencks <david_jencks@yahoo.com>wrote:

> 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 <
> snorre.edwin@gmail.com> 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 <snorre.edwin@gmail.com>
> > Date: Tue, Nov 5, 2013 at 5:18 PM
> > Subject: NullPointer exception fileInstall and ServiceManagedFactory
> > To: users <users@felix.apache.org>
> >
> >
> > 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 
Mvh
Snorre Lothar von Gohren Edwin
MeetMe: http://doodle.com/vonGohren
+47 411 611 94

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message