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

Mihael Hategan hategan at mcs.anl.gov
Tue May 24 14:27:39 CDT 2011


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





More information about the Swift-devel mailing list