Yuriy,

which GT version is that?

Martin

Yuriy wrote:
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


Reply via email to