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

David Kelly davidkelly999 at gmail.com
Tue May 24 13:44:39 CDT 2011


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/20110524/a580e466/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coaster.log
Type: text/x-log
Size: 2432 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110524/a580e466/attachment.bin>


More information about the Swift-devel mailing list