For your information - In case you are using Taverna's libraries directly and want to transition to 2.1.0
Also see http://www.mygrid.org.uk/dev/wiki/display/developer/Maven+module+version+numbers ---------- Forwarded message ---------- From: Stian Soiland-Reyes <[email protected]> Date: Thu, Jan 14, 2010 at 10:20 Subject: Re: Error upgrading to T2.1 To: Dinanath Sulakhe <[email protected]> Cc: taverna-cagrid-tech <[email protected]> > Error while executing main() of > net.sf.taverna.t2.examples.execution.ExecuteWorkflow > java.lang.NullPointerException > at > net.sf.taverna.t2.reference.impl.AbstractT2ReferenceGenerator.nextReferenceSetReference(AbstractT2ReferenceGenerator.java:55) > at It seems our reference service interface has changed, the ReferenceContext given to ReferenceServiceImpl can no longer return null in getEntities() I've recorded this as http://www.mygrid.org.uk/dev/issues/browse/T2-1098 In your ExecuteWorkflow.java - can you change the createContext() method so that instead of: invocationContext = new ExampleInvocationContext(); try: import net.sf.taverna.t2.invocation.impl.InvocationContextImpl; ... invocationContext = new InvocationContextImpl(referenceService, null); (This implementation class was not exposed in the API until 2.1) If you can't find InvocationContextImpl - add net.sf.taverna.t2.core:workflowmodel-impl:1.0 to your dependencies. You can then delete the class ExampleInvocationContext. (Alternatively you can just change your ExampleInvocationContext to return new ArrayList(); in the getEntities() method) -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ 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
