Am 02.12.2010 18:45, schrieb Stian Soiland-Reyes:
> configuration beans can only be 'simple' POJO beans - so fields must
> either be string/integer/etc. or a bean which itself is a 'simple'
> bean.
>
> If the CDK types are complex they might not do this well. For instance
> com.thoughtworks.xstream.mapper.Mapper$Null hints to an inner class
> which would not be good - it can't be deserialised without its parent.
>
Ok I have changed this.
Now I try to cache the file as a cml file. But again I get an exception
which is not thrown in the developer workbench. Does the release
workbench itself use the XOM or the Jaxen library in a different version
which could explain this error?
Cheers
Andreas
java.lang.NoSuchMethodError: org.jaxen.XPathFunctionContext.<init>(Z)V
at nu.xom.JaxenConnector.<clinit>(JaxenConnector.java:45)
at nu.xom.Node.query(Node.java:424)
at org.xmlcml.cml.base.CMLUtil.getQueryNodes(CMLUtil.java:286)
at
org.xmlcml.cml.base.TypeGenerator.indexSchema(TypeGenerator.java:170)
at
org.xmlcml.cml.base.SchemaManager.readAndCreateIndexesFromSchemaFiles(SchemaManager.java:44)
at
org.xmlcml.cml.base.AttributeFactory.init(AttributeFactory.java:42)
at
org.xmlcml.cml.base.AttributeFactory.<clinit>(AttributeFactory.java:26)
at org.xmlcml.cml.base.CMLElement.<clinit>(CMLElement.java:108)
at
org.openscience.cdk.libio.cml.Convertor.cdkChemFileToCMLList(Convertor.java:175)
at
org.openscience.cdk.libio.cml.Convertor.cdkChemFileToCMLList(Convertor.java:171)
at org.openscience.cdk.io.CMLWriter.write(CMLWriter.java:268)
at
org.openscience.cdk.applications.taverna.CMLChemFile.toCML(CMLChemFile.java:77)
at
org.openscience.cdk.applications.taverna.ui.jchempaint.JChemPaintConfigurationPanel.noteConfiguration(JChemPaintConfigurationPanel.java:129)
at
net.sf.taverna.t2.workbench.ui.views.contextualviews.activity.ActivityConfigurationDialog.applyConfiguration(ActivityConfigurationDialog.java:266)
at
net.sf.taverna.t2.workbench.ui.views.contextualviews.activity.ActivityConfigurationDialog.access$100(ActivityConfigurationDialog.java:44)
at
net.sf.taverna.t2.workbench.ui.views.contextualviews.activity.ActivityConfigurationDialog$1.actionPerformed(ActivityConfigurationDialog.java:91)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
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/