On 13/10/2010 11:51, Egon Willighagen wrote:
> On Wed, Oct 13, 2010 at 11:34 AM, Andreas Truszkowski
> <[email protected]>  wrote:
>>> Do you know what Java exception is being thrown which is then converted
>>> to a CDKTavernaException?
>> ERROR 2010-10-13 12:31:29,474 (System.err:139) -
>> java.lang.ClassCastException: cannot assign instance of
>> javax.vecmath.Point2d to field org.openscience.cdk.Atom.point2d of type
>> javax.vecmath.Point2d in instance of org.openscience.cdk.PseudoAtom
>
> Are their multiple versions of vecmath on the classpath (i.e. in the
> dependencies)?

That is certainly what normally causes such a ClassCastException.

It's not clear what could be pulling in a different version of vecmath 
for 2.2.0 as compared to 2.2.1.  I looked in the repository and vecmath 
is not part of what is distributed.  Andreas, have previously tried to 
install something into 2.2.1 that could have downloaded another version 
of vecmath ?

Can you try with a clean download of 2.2.1?  Remember to delete your 
local application data - you can find the directory by going to Advanced 
-> Show log folder and then up one level.

Alternatively, in your local application data for 2.2.1, delete the 
plugins directory and also the repository directory (assuming it is there).

> Egon

Alan

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to