[Swift-devel] Re: coaster-service -passive null pointer exception

David Kelly davidkelly999 at gmail.com
Wed May 25 11:44:17 CDT 2011


Hey Mihael,

I was testing my script a little more today and ran into some errors related
to CONFIGSERVICE. In this example I was testing passive mode but manually
specifying ports instead of using the port files. I'm not sure if that makes
a difference - I included an output of ps so you could see how each of the
apps were being called. There is more detail in the swift log and in
logs/coaster.log.

Thanks,
David


On Tue, May 24, 2011 at 2:27 PM, Mihael Hategan <hategan at mcs.anl.gov> wrote:

> Sorry about that. Attempt #2 is in svn.
>
> Mihael
>
> On Tue, 2011-05-24 at 14:15 -0500, David Kelly wrote:
> > Thanks. I gave it a try and this is what I am seeing now:
> >
> > Failed to connect: Connection refused at /home/davidk/work/worker.pl
> > line 300.
> >
> > from coaster.log:
> > Error starting coaster service: null
> > Error starting coaster service
> > java.lang.NullPointerException
> >         at
> >
> org.globus.cog.abstraction.coaster.service.CoasterPersistentService.main(CoasterPersistentService.java:145)
> >
> > David
> >
> > On Tue, May 24, 2011 at 1:57 PM, Mihael Hategan <hategan at mcs.anl.gov>
> > wrote:
> >         I committed a tentative fix to trunk. I won't swear by it, but
> >         please
> >         give it a try and let me know how it works.
> >
> >         Mihael
> >
> >
> >         On Tue, 2011-05-24 at 13:44 -0500, David Kelly wrote:
> >         > Attached is the coaster.log that is being generated, but it
> >         doesn't
> >         > contain much information.
> >         >
> >         > But where it was throwing the exception, I called
> >         getStrackTrace() to
> >         > get more info and saved it. Hope this helps:
> >         >
> >         >
> >
> org.globus.cog.abstraction.coaster.service.job.manager.JobQueue.nextId(JobQueue.java:122)
> >         >
> >
> org.globus.cog.abstraction.coaster.service.LocalTCPService.registrationReceived(LocalTCPService.java:58)
> >         >
> >
> org.globus.cog.abstraction.coaster.service.local.RegistrationHandler.requestComplete(RegistrationHandler.java:41)
> >         >
> >
> org.globus.cog.karajan.workflow.service.handlers.RequestHandler.receiveCompleted(RequestHandler.java:84)
> >         >
> >
> org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel.handleRequest(AbstractKarajanChannel.java:390)
> >         >
> >
> org.globus.cog.karajan.workflow.service.channels.AbstractStreamKarajanChannel.step(AbstractStreamKarajanChannel.java:158)
> >         >
> >
> org.globus.cog.karajan.workflow.service.channels.AbstractStreamKarajanChannel$Multiplexer.run(AbstractStreamKarajanChannel.java:377)
> >         >
> >         > David
> >         >
> >         > On Tue, May 24, 2011 at 12:47 PM, Mihael Hategan
> >         <hategan at mcs.anl.gov>
> >         > wrote:
> >         >         Do you have logs or exact stack trace for this?
> >         >
> >         >
> >         >         On Tue, 2011-05-24 at 10:21 -0500, David Kelly
> >         wrote:
> >         >         > Hello,
> >         >         >
> >         >         > When trying to run coaster-service in passive
> >         mode, I get a
> >         >         null
> >         >         > pointer exception when starting worker nodes. This
> >         seems to
> >         >         happen
> >         >         > when the worker node tries to register with the
> >         coaster
> >         >         service. I
> >         >         > get:
> >         >         >
> >         >         > Failed to process data: Failed to register
> >         (service returned
> >         >         error:
> >         >         > java.lang.NullPointerException)
> >         >         at /home/davidk/work/worker.pl line
> >         >         > 762.
> >         >         >
> >         >         > The exception gets thrown from
> >         RegistrationHandler.java.
> >         >         Running a
> >         >         > swift script before starting the workers seems to
> >         be the
> >         >         workaround..
> >         >         > but I think with the -passive option we shouldn't
> >         need to do
> >         >         that
> >         >         > anymore, is that correct?
> >         >         >
> >         >         > Thanks,
> >         >         > David
> >         >         >
> >         >
> >         >
> >         >
> >         >
> >
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110525/137e2f31/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configservice-error.tar.gz
Type: application/x-gzip
Size: 7062 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110525/137e2f31/attachment.bin>


More information about the Swift-devel mailing list