Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: AW: [geclipse-dev] Null pointer exception in WMSClient

> But it is a bug anyway. :)
> If JSDL can return null (and even gently says in java doc) then I need
to 
> check if project==null. If yes, I can throw Exception.

Yes, you're right of course. So you'll take care of this Pawel?

> But having method for submission of JSDL created manually (and maybe
not 
> in any project) is not a bad idea.

Also true.

> public JobIdStructType submitJob( final JSDLJobDescription jsdl,
>  			  	  string vo,
>                                    final IProgressMonitor monitor )

Well, as you know I rather prefer types than names. So I would replace
"String vo" with "IVirtualOrganization vo", a String can be anything, A
VO is a VO.

I just had a look at the JSDLJobDescription#getProject() implementation
which definitely should work as long as the JSDL is really created
within a project. If this is not the case this of course will not work.

Cheers, Mathias


Back to the top