|
From: William L. <ww...@do...> - 2006-05-09 00:27:21
|
Can you send me the stacktrace and the version number you were using =20
in the first instance?
William
On 28 Apr 2006, at 20:56, Liang Chen wrote:
> Hi William,
>
> I got the following error when querying the status of a job. In =20
> fact, it
> doesn't look like something complicated at all, but confusing =20
> enough at the
> moment.
>
> Here it is:
>
> 15 omii@trout1% gridsam-status -s
> http://HOST:18080/gridsam/services/gridsam?WSDL
> urn:gridsam:00908c5f0add0555010adfd5d85b5786
> 2006-04-28 11:48:25,352 FATAL [GridSAMStatus] (main:) unable to =20
> retrieve job
> status: failed to retrieve status of job:
> java.lang.IllegalArgumentException: Adding text to an XML document =20
> must not
> be null
>
> The =93IllegalArgumentException=94 is directly thrown by Dom4j when a
> Text-to-be-set is null. The code segment looks like:
>
> public Text createText(String text) {
> 172 if (text =3D=3D null) {
> 173 String msg =3D "Adding text to an XML document must =20=
> not be
> null";
> 174 throw new IllegalArgumentException(msg);
> 175 }
> 176
> 177 return new DefaultText(text);
> 178 }
>
> And then back to GridSAM (1.0) source code, where a text is set (if =20=
> related
> to Text) is at GridSAMClientSupport.AxisBaseImpl.getJobStatus,
>
> Document xBodyDoc =3D DocumentFactory.getInstance().createDocument();
> xBodyDoc.addElement(
>
> DocumentFactory.getInstance().createQName("getJobStatus",
> GridSAMSupport.GRIDSAM_NAMESPACE))
> .addElement(
>
> DocumentFactory.getInstance().createQName("JobIdentifier",
> =20
> GridSAMSupport.GRIDSAM_NAMESPACE))
> .addElement(
>
> DocumentFactory.getInstance().createQName("ID",
> =20
> GridSAMSupport.GRIDSAM_NAMESPACE))
> .setText(pJobID.trim());
>
> A text is set in last line. However, isn't pJobID the id taken from =20=
> the
> command line, how could it possibly to be null?
>
> Or am I looking at the wrong place?
>
> Regards,
>
> Ben
>
> University College London Office: 7.06
> Dept. of Computer Science Tel: +44 (0)20 7679 0370 (Direct Dial)
> Gower Street Internal: 30370
> London WC1E 6BT Fax: +44 (0)20 7387 1397
> United Kingdom Email: B....@cs...
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, =20
> security?
> Get stuff done quickly with pre-integrated technology to make your =20
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642=
> _______________________________________________
> GridSAM-Discuss mailing list
> Gri...@li...
> https://lists.sourceforge.net/lists/listinfo/gridsam-discuss
--- William Lee - Software Coordinator ---
--- London e-Science Centre, Imperial College London ---
A: Room 211a, London e-Science Centre, William Penney Laboratory, =20
Imperial College London, South Kensington, London, SW7 2AZ, UK
E: wwhl at doc.ic.ac.uk | william at imageunion.com
W: www.lesc.ic.ac.uk | www.imageunion.com
P: +44 (0) 207 594 8185
|