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

Mihael Hategan hategan at mcs.anl.gov
Tue May 24 13:57:35 CDT 2011


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
>         >
>         
>         
>         
> 





More information about the Swift-devel mailing list