Actually I misread what you originally quoted. I'm not sure why (if it is) the listeners that're causing a problem. I still can't figure out whether it's a genuine Thread collision, or if it's an iterator having an addition/removal somewhere. The stack trace seems to point to the listeners however.
On 6 August 2015 at 16:48, Edmund Duesbury <lip1...@sheffield.ac.uk> wrote: > This' using a different method but it gives the same listener error (I > think): > > > java.util.ConcurrentModificationException > at java.util.ArrayList$Itr.checkForComodification(Unknown Source) > at java.util.ArrayList$Itr.next(Unknown Source) > at > org.openscience.cdk.isomorphism.matchers.QueryChemObject.notifyChanged(QueryChemObject.java:145) > at > org.openscience.cdk.isomorphism.matchers.QueryAtom.setImplicitHydrogenCount(QueryAtom.java:180) > at > org.knime.cisrg.hyperstructures.ConvenienceTools.calculateImplicitHydrogens(ConvenienceTools.java:717) > at > org.knime.cisrg.hyperstructures.ConvenienceTools.createCommonSubgraph(ConvenienceTools.java:1342) > at > org.knime.cisrg.hyperstructures.MCSMethods.execute(MCSMethods.java:102) > at > org.knime.cisrg.hyperstructures.similarity.ExtendedIsomorphism.chemAxon_MCES(ExtendedIsomorphism.java:453) > at > org.knime.cisrg.hyperstructures.similarity.ExtendedIsomorphism.chooseAlgorithm(ExtendedIsomorphism.java:326) > at > org.knime.cisrg.hyperstructures.similarity.ExtendedIsomorphism.mcsBuilder(ExtendedIsomorphism.java:278) > at > org.knime.cisrg.hyperstructures.similarity.ExtendedIsomorphism.<init>(ExtendedIsomorphism.java:256) > at > org.knime.cisrg.hyperstructures.similarity.GraphSimilarityNodeModel$SimilarityComparator.calculateSimilarity(GraphSimilarityNodeModel.java:1637) > at > org.knime.cisrg.hyperstructures.similarity.GraphSimilarityNodeModel$1.getCells(GraphSimilarityNodeModel.java:1248) > at > org.knime.base.node.parallel.appender.ThreadedColAppenderNodeModel$Submitter$1.call(ThreadedColAppenderNodeModel.java:148) > at > org.knime.base.node.parallel.appender.ThreadedColAppenderNodeModel$Submitter$1.call(ThreadedColAppenderNodeModel.java:1) > at > org.knime.core.util.ThreadUtils$CallableWithContextImpl.callWithContext(ThreadUtils.java:344) > at > org.knime.core.util.ThreadUtils$CallableWithContext.call(ThreadUtils.java:244) > at java.util.concurrent.FutureTask.run(Unknown Source) > at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:125) > at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:248) > > On 6 August 2015 at 16:40, John M <john.wilkinson...@gmail.com> wrote: > >> > Though the code you've quoted is the part that's causing the bug. >> >> Can you provide the full stack place please. >> > >
------------------------------------------------------------------------------
_______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user