I suggest that you use one of the existing Java GRAM clients. I think IBM website has one. With best regards.Belaid Moa.> Date: Tue, 12 Aug 2008 15:25:44 +1200> From: [EMAIL PROTECTED]> To: [email protected]> Subject: [gt-user] how to query information about GramJob from Java> > Hi,> > I am trying to create org.globus.exec.client.GramJob instance using> existing end point reference. But subscriptions to events of this> instance do not work (I am not getting any notifications) and calling some> methods throws NullPointerException.> > The following code> > EndpointReferenceType jobEndpoint = oldJob.getEndpoint(); > GramJob newJob = new GramJob();> newJob.setCredentials(cred);> newJob.setEndpoint(jobEndpoint);> newJob.refreshStatus(); > > > Results in > > Exception in thread 'main' java.lang.NullPointerException> at org.globus.exec.client.GramJob.setStubSecurityProperties(GramJob.java:1809)> at org.globus.exec.client.GramJob.refreshStatus(GramJob.java:1691)> at globus.TestingPickup.main(TestingPickup.java:54)> > Can anyone explain me what is wrong?> > Regards,> Yuriy Halytskyy> _________________________________________________________________ Find hidden words, unscramble celebrity names, or try the ultimate crossword puzzle with Live Search Games. Play now! http://g.msn.ca/ca55/212
