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
We have again a java.lang.IllegalArgumentException: the value should be from 0 to 12, found instead: 13 error in AsyncTask.setProgress as in #4, this time when called by RunnableElementMatcher.elementLevelMatching with default matcher against these trees:
dog
cat
fish
dog
feline
fish
carp
Full stack trace:
Running it.unitn.disi.smatch.test.ConfigTest
2017-12-17 21:06:42,124 main INFO ConfigTest - **** CONFIG: s-match.xml
2017-12-17 21:06:42,124 main INFO ConfigTest - Creating MatchManager...
2017-12-17 21:06:42,203 main INFO FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@396a51ab: startup date [Sun Dec 17 21:06:42 CET 2017]; root of context hierarchy
2017-12-17 21:06:42,234 main INFO XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/da/Da/prj/s-match/s-match-utils/src/main/resources/bin/../conf/s-match.xml]
2017-12-17 21:06:42,642 main INFO WordNet - Initializing extJWNL (../conf/wn31resource.xml)
2017-12-17 21:06:43,101 main INFO WordNet - Creating multiword hash...
2017-12-17 21:06:43,568 main INFO WordNet - n multiwords: 60337
2017-12-17 21:06:43,639 main INFO WordNet - a multiwords: 505
2017-12-17 21:06:43,666 main INFO WordNet - v multiwords: 2838
2017-12-17 21:06:43,674 main INFO WordNet - r multiwords: 695
2017-12-17 21:06:43,674 main INFO WordNet - Multiwords: 19130
2017-12-17 21:06:43,738 main INFO ConfigTest - Creating source context...
2017-12-17 21:06:43,742 main INFO MatchManager - Matching started...
2017-12-17 21:06:43,742 main INFO MatchManager - Preprocessing...
2017-12-17 21:06:43,742 main INFO MatchManager - Computing concepts at label...
2017-12-17 21:06:43,953 main INFO MatchManager - Computing concepts at label finished: 211 ms
2017-12-17 21:06:43,953 main INFO MatchManager - Computing concepts at node...
2017-12-17 21:06:43,954 main INFO MatchManager - Computing concepts at node finished: 1 ms
2017-12-17 21:06:43,954 main INFO MatchManager - Preprocessing finished: 212 ms
2017-12-17 21:06:43,954 main INFO MatchManager - Preprocessing...
2017-12-17 21:06:43,954 main INFO MatchManager - Computing concepts at label...
2017-12-17 21:06:43,994 main INFO MatchManager - Computing concepts at label finished: 40 ms
2017-12-17 21:06:43,994 main INFO MatchManager - Computing concepts at node...
2017-12-17 21:06:43,994 main INFO MatchManager - Computing concepts at node finished: 0 ms
2017-12-17 21:06:43,994 main INFO MatchManager - Preprocessing finished: 40 ms
2017-12-17 21:06:43,994 main INFO MatchManager - Online matching...
2017-12-17 21:06:43,995 main INFO MatchManager - Element level matching...
2017-12-17 21:06:44,055 main INFO MatchManager - Element level matching finished: 60 ms
2017-12-17 21:06:44,055 main INFO MatchManager - Structure level matching...
2017-12-17 21:06:44,102 main INFO MatchManager - Structure level matching finished: 47 ms
2017-12-17 21:06:44,103 main INFO MatchManager - Returning links: 9
2017-12-17 21:06:44,103 main INFO MatchManager - Online matching finished: 109 ms
2017-12-17 21:06:44,104 main INFO MatchManager - Matching finished: 362 ms
2017-12-17 21:06:44,104 main INFO ConfigTest - Processing results...
2017-12-17 21:06:44,104 main INFO ConfigTest - Printing matches:
2017-12-17 21:06:44,106 main INFO ConfigTest - dog > fish
2017-12-17 21:06:44,106 main INFO ConfigTest - fish < dog
2017-12-17 21:06:44,107 main INFO ConfigTest - dog > carp
2017-12-17 21:06:44,109 main INFO ConfigTest - dog = dog
2017-12-17 21:06:44,110 main INFO ConfigTest - fish = fish
2017-12-17 21:06:44,110 main INFO ConfigTest - cat < feline
2017-12-17 21:06:44,110 main INFO ConfigTest - dog > feline
2017-12-17 21:06:44,110 main INFO ConfigTest - cat < dog
2017-12-17 21:06:44,110 main INFO ConfigTest - fish > carp
2017-12-17 21:06:44,110 main INFO MatchManager - Matching started...
2017-12-17 21:06:44,110 main INFO MatchManager - Preprocessing...
2017-12-17 21:06:44,110 main INFO MatchManager - Computing concepts at label...
2017-12-17 21:06:44,173 main INFO MatchManager - Computing concepts at label finished: 63 ms
2017-12-17 21:06:44,174 main INFO MatchManager - Computing concepts at node...
2017-12-17 21:06:44,174 main INFO MatchManager - Computing concepts at node finished: 0 ms
2017-12-17 21:06:44,174 main INFO MatchManager - Preprocessing finished: 64 ms
2017-12-17 21:06:44,174 main INFO MatchManager - Preprocessing...
2017-12-17 21:06:44,174 main INFO MatchManager - Computing concepts at label...
2017-12-17 21:06:44,191 main INFO MatchManager - Computing concepts at label finished: 17 ms
2017-12-17 21:06:44,191 main INFO MatchManager - Computing concepts at node...
2017-12-17 21:06:44,191 main INFO MatchManager - Computing concepts at node finished: 0 ms
2017-12-17 21:06:44,191 main INFO MatchManager - Preprocessing finished: 17 ms
2017-12-17 21:06:44,191 main INFO MatchManager - Online matching...
2017-12-17 21:06:44,191 main INFO MatchManager - Element level matching...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.219 sec <<< FAILURE! - in it.unitn.disi.smatch.test.ConfigTest
testDefault(it.unitn.disi.smatch.test.ConfigTest) Time elapsed: 2.075 sec <<< ERROR!
java.lang.IllegalArgumentException: the value should be from 0 to 12, found instead: 13
at it.unitn.disi.smatch.async.AsyncTask.setProgress(AsyncTask.java:289)
at it.unitn.disi.smatch.async.AsyncTask.progress(AsyncTask.java:590)
at it.unitn.disi.smatch.async.AsyncTask.progress(AsyncTask.java:574)
at it.unitn.disi.smatch.matchers.element.RunnableElementMatcher.elementLevelMatching(RunnableElementMatcher.java:218)
at it.unitn.disi.smatch.MatchManager.elementLevelMatching(MatchManager.java:259)
at it.unitn.disi.smatch.MatchManager.online(MatchManager.java:290)
at it.unitn.disi.smatch.MatchManager.match(MatchManager.java:302)
at it.unitn.disi.smatch.test.ConfigTest.runPipeline(ConfigTest.java:58)
at it.unitn.disi.smatch.test.ConfigTest.testDefault(ConfigTest.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
The text was updated successfully, but these errors were encountered:
- set spsm, spsm-asymmetric and spsm-function configs to use synchronous s-match
- set test maven execution dir to src/main/resources/bin because xmls load ../conf/wn31resource
- added ConfigTest for testing various configurations
- ignored default config because of s-match/s-match-core#13
- uses dog fish test trees from s-match/s-match-spsm#4
We have again a
java.lang.IllegalArgumentException: the value should be from 0 to 12, found instead: 13
error inAsyncTask.setProgress
as in #4, this time when called byRunnableElementMatcher.elementLevelMatching
with default matcher against these trees:Full stack trace:
The text was updated successfully, but these errors were encountered: