You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing Diversicon, seems like an error in the Oracle during preprocessing causes S-match GUI to hang, in this particular case with 100% CPU usage. From the GUI there should be some way to recover from faulty Oracles.
Here is complete log:
da@da-HP-ProBook-6560b:~/Da/prj/s-match/s-match-utils/target/dist/bin$ ./s-match-gui
Available LookAndFeels:
Metal=javax.swing.plaf.metal.MetalLookAndFeel
Nimbus=javax.swing.plaf.nimbus.NimbusLookAndFeel
CDE/Motif=com.sun.java.swing.plaf.motif.MotifLookAndFeel
GTK+=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
2016-07-27 09:36:17,294 INFO SMatchGUI - Building the GUI...
2016-07-27 09:36:17,526 INFO SMatchGUI - Loading MatchManager with config: ../conf/s-match.xml
2016-07-27 09:36:17,733 INFO FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1688eb5: startup date [Wed Jul 27 09:36:17 CEST 2016]; root of context hierarchy
2016-07-27 09:36:17,831 INFO XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/da/Da/prj/s-match/s-match-utils/target/dist/bin/../conf/s-match.xml]
2016-07-27 09:36:18,540 INFO WordNet - Initializing extJWNL (../conf/wn31resource.xml)
2016-07-27 09:36:19,194 INFO WordNet - Creating multiword hash...
2016-07-27 09:36:20,037 INFO WordNet - n multiwords: 60337
2016-07-27 09:36:20,127 INFO WordNet - a multiwords: 505
2016-07-27 09:36:20,157 INFO WordNet - v multiwords: 2838
2016-07-27 09:36:20,168 INFO WordNet - r multiwords: 695
2016-07-27 09:36:20,168 INFO WordNet - Multiwords: 19130
2016-07-27 09:36:27,415 INFO SMatchGUI - Loading MatchManager with config: ../conf/s-match-Tab2XML.xml
2016-07-27 09:36:27,427 INFO FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@3cdacb: startup date [Wed Jul 27 09:36:27 CEST 2016]; root of context hierarchy
2016-07-27 09:36:27,430 INFO XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/da/Da/prj/s-match/s-match-utils/target/dist/bin/../conf/s-match-Tab2XML.xml]
2016-07-27 09:36:30,797 INFO TabContextLoader - Parsed nodes: 34
2016-07-27 09:36:30,822 INFO SMatchGUI - Opening source: /home/da/Da/prj/s-match/s-match-utils/target/dist/test-data/cw/c.txt
2016-07-27 09:36:30,825 INFO SMatchGUI - Opened source
2016-07-27 09:36:33,838 INFO TabContextLoader - Parsed nodes: 39
2016-07-27 09:36:33,868 INFO SMatchGUI - Opening target: /home/da/Da/prj/s-match/s-match-utils/target/dist/test-data/cw/w.txt
2016-07-27 09:36:33,870 INFO SMatchGUI - Opened target
2016-07-27 09:36:37,776 INFO SMatchGUI - Loading MatchManager with config: ../conf/s-match-diversicon.xml
2016-07-27 09:36:37,784 INFO FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@178eb9: startup date [Wed Jul 27 09:36:37 CEST 2016]; root of context hierarchy
2016-07-27 09:36:37,787 INFO XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/da/Da/prj/s-match/s-match-utils/target/dist/bin/../conf/s-match-diversicon.xml]
2016-07-27 09:36:37,840 INFO XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/da/Da/prj/s-match/s-match-utils/target/dist/bin/../conf/s-match.xml]
2016-07-27 09:37:16,234 INFO SMatchGUI - Preprocessing source...
2016-07-27 09:37:16,235 INFO SMatchGUI - Preprocessing target...
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-2" java.lang.NullPointerException
at org.hibernate.collection.internal.PersistentList.isEmpty(PersistentList.java:121)
at it.unitn.disi.diversicon.Diversicon.getLemmaStringsByWrittenForm(Diversicon.java:187)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getBaseForms(SmdivOracle.java:343)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:217)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-4" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.tudarmstadt.ukp.lmf.model.morphology.Lemma.formRepresentations, no session or session was closed
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566)
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:558)
at org.hibernate.collection.internal.AbstractPersistentCollection.access$200(AbstractPersistentCollection.java:64)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:157)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:138)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:137)
at org.hibernate.collection.internal.PersistentList.isEmpty(PersistentList.java:121)
at de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.getLemmaForm(LexicalEntry.java:291)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getMultiwords(SmdivOracle.java:376)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.multiwordRecognition(DefaultContextPreprocessor.java:797)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:241)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-3" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.tudarmstadt.ukp.lmf.model.morphology.Lemma.formRepresentations, no session or session was closed
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566)
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:558)
at org.hibernate.collection.internal.AbstractPersistentCollection.access$200(AbstractPersistentCollection.java:64)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:157)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:138)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:137)
at org.hibernate.collection.internal.PersistentList.isEmpty(PersistentList.java:121)
at de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.getLemmaForm(LexicalEntry.java:291)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getMultiwords(SmdivOracle.java:376)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.multiwordRecognition(DefaultContextPreprocessor.java:797)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:241)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-6" java.lang.NullPointerException
at de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.getLemmaForm(LexicalEntry.java:290)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getMultiwords(SmdivOracle.java:376)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.multiwordRecognition(DefaultContextPreprocessor.java:797)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:241)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-8" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.tudarmstadt.ukp.lmf.model.morphology.Lemma.formRepresentations, no session or session was closed
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566)
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:558)
at org.hibernate.collection.internal.AbstractPersistentCollection.access$200(AbstractPersistentCollection.java:64)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:157)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:138)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:137)
at org.hibernate.collection.internal.PersistentList.isEmpty(PersistentList.java:121)
at de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.getLemmaForm(LexicalEntry.java:291)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getMultiwords(SmdivOracle.java:376)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.multiwordRecognition(DefaultContextPreprocessor.java:797)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:241)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-1" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.tudarmstadt.ukp.lmf.model.morphology.Lemma.formRepresentations, no session or session was closed
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566)
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:558)
at org.hibernate.collection.internal.AbstractPersistentCollection.access$200(AbstractPersistentCollection.java:64)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:157)
at org.hibernate.collection.internal.AbstractPersistentCollection$1.doWork(AbstractPersistentCollection.java:138)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:137)
at org.hibernate.collection.internal.PersistentList.isEmpty(PersistentList.java:121)
at de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.getLemmaForm(LexicalEntry.java:291)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getMultiwords(SmdivOracle.java:376)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.multiwordRecognition(DefaultContextPreprocessor.java:797)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:241)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "S-Match-RunnableDefaultContextPreprocessor-pool-2-thread-5" java.lang.NullPointerException
at org.hibernate.collection.internal.PersistentList.isEmpty(PersistentList.java:121)
at de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.getLemmaForm(LexicalEntry.java:291)
at it.unitn.disi.smatch.oracles.diversicon.SmdivOracle.getMultiwords(SmdivOracle.java:376)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.multiwordRecognition(DefaultContextPreprocessor.java:797)
at it.unitn.disi.smatch.preprocessors.DefaultContextPreprocessor.processNode(DefaultContextPreprocessor.java:241)
at it.unitn.disi.smatch.preprocessors.RunnableDefaultContextPreprocessor$2.run(RunnableDefaultContextPreprocessor.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-07-27 09:37:20,228 INFO SMatchGUI - Preprocessed target
The text was updated successfully, but these errors were encountered:
When testing Diversicon, seems like an error in the Oracle during preprocessing causes S-match GUI to hang, in this particular case with 100% CPU usage. From the GUI there should be some way to recover from faulty Oracles.
Here is complete log:
The text was updated successfully, but these errors were encountered: