On Sun, Nov 8, 2009 at 21:31, Egon Willighagen
<[email protected]> wrote:
> I am trying to update the CDK-Taverna plugin to work with Taverna
> 1.7.2, and while compiling works (against 1.7.2.1), the plugin site
> works, I am getting this exception on runtime (sh runme.sh):

what is in the pom file for the cdk-taverna plugin? Check that all its
dependencies go towards the correctly versioned dependencies of
Taverna 1.7.2.1 - otherwise Raven might try to load up Taverna 1.7.1
libraries - where very likely the TavernaSPIRegistry has not been
initialized.


> TavernaSPIRegistry.setRepository(((LocalArtifactClassLoader)getClass().getClassLoader()).getRepository());
>
> But the exception is thrown in CDKLocalWorkerRegistry during the
> initialization, so getClass() cannot be used...

You should not need to initialize this when running the workbench..
this can happen if your plugin depends on older version of libraries.

However, if you still want to try, you can use
((LocalArtifactClassLoader)(CDKLocalWorkerRegistry.class.getClassLoader())).getRepository()



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to