[MOBY-dev] Error while loading Moby into Taverna

Stian Soiland ssoiland at cs.man.ac.uk
Mon Jan 14 14:06:44 UTC 2008


On Jan 14, 2008 1:54 PM, Tom Oinn <meredith at cantab.net> wrote:
> Sounds like a problem with the moby code that builds the object tree?
> It's a bit hard for me to debug seeing as this is code written by the
> moby guys... Looks like it's done when loading the default scavengers,
> so maybe the scavenger you've got set is wrong or out of date?

No, it's something changed in the data.. the line that fails with a
NullPointerException is:

			fillSubTree(root, hashmap.get("Object").getChildren(), hashmap,
					REGISTRY_URL);

by debugging and inspecting I find that the keys are more like
http://moby.ucalgary.ca/RESOURCES/MOBY-S/Objects/Object - so that if I
replace the above line to use that it works, except that the scavenger
tree below "Object" will now be with full URLs such as
http://moby.ucalgary.ca/RESOURCES/MOBY-S/Objects/AlignedSequences

This seems to be correct corresponding to
http58.47.47moby46ucalgary46ca47moby47MOBY45Central46pl/datatype_rdf/DATATYPES.rdf
in my moby-cache directory.



-- 
Stian Soiland, myGrid team
School of Computer Science
The University of Manchester
http://www.cs.man.ac.uk/~ssoiland/



More information about the MOBY-dev mailing list