AidaReaderTest - Failed To Execute maven-surefire-plugin
45 views
Skip to first unread message
Sawsan
unread,
Apr 22, 2015, 8:13:41 PM4/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
Hi,
I am trying to install DKpro-wsd using "mvn install". The installation fails in the DKPro WSD - I/O step. I got the following error:
Failed tests: AidaReaderTest.aidaReaderTest:53->testJCas:78 null Tests run: 4, Failures: 1, Errors: 0, Skipped: 0 [INFO] BUILD FAILURE [ERROR]
Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(default-test) on project de.tudarmstadt.ukp.dkpro.wsd.io: There are
test failures.
Referring to the surefire-reports for the individual test results, I got the following for AidaReaderTest
------------------------------------------------------------------------------- Test set: de.tudarmstadt.ukp.dkpro.wsd.io.reader.AidaReaderTest ------------------------------------------------------------------------------- Tests
run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.953 sec
<<< FAILURE! - in
de.tudarmstadt.ukp.dkpro.wsd.io.reader.AidaReaderTest aidaReaderTest(de.tudarmstadt.ukp.dkpro.wsd.io.reader.AidaReaderTest) Time elapsed: 0.953 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:92) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertTrue(Assert.java:54) at de.tudarmstadt.ukp.dkpro.wsd.io.reader.AidaReaderTest.testJCas(AidaReaderTest.java:78) at de.tudarmstadt.ukp.dkpro.wsd.io.reader.AidaReaderTest.aidaReaderTest(AidaReaderTest.java:53)
Would you please help in this issue?
Thank you, Sawsan
Torsten Zesch
unread,
Apr 23, 2015, 2:14:27 AM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
Hi,
does the rest also fail when executed in Eclipse?
-Torsten
Sawsan
unread,
Apr 23, 2015, 11:17:21 AM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
The remaining readers work fine. But the later stages are skipped as the following summary shows,
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
Sorry, there was a typo in my answer:
I meant does the _test_ also fail in eclipse?
-Torsten
Sawsan
unread,
Apr 23, 2015, 12:24:07 PM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
Yes, it fails in Eclipse. I am working with Eclipse ( Luna 4.4.2 ), which integrates Maven.
Torsten Zesch
unread,
Apr 23, 2015, 12:33:38 PM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
ok, but does it also fail if you run the unit test in Eclipse (without Maven)?
Sawsan
unread,
Apr 23, 2015, 2:15:05 PM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
No it doesn't fail when I run it as unit test (without maven).
I noticed the following in case it helps solve the problem: When I try to run the reader tests as unit test, all readers except AidaReaderTest generate output sentences (e.g. wn_n0 I am a canon builder," he told me.) However, AidaReader doesn't output any sentence but it runs successfully.
Thanks, Sawsan
Torsten Zesch
unread,
Apr 23, 2015, 3:46:08 PM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
I can reproduce the error in Eclipse.
The first CAS has a different content than is expected in the test.
I am not an expert for this reader, so I am not sure right now how to fix that.
I suggest that you ignore the test.
-Torsten
Nicolai Erbs
unread,
Apr 23, 2015, 4:04:20 PM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
Dear Sawsan,
I was the one who implemented this reader, but I still cannot reproduce the error. The test runs in Java and with Maven. However, you can exclude this test if you are not going to use the AIDA dataset.
Best regards,
Nicolai
--
You received this message because you are subscribed to the Google Groups "DKPro WSD users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dkpro-wsd-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sawsan
unread,
Apr 23, 2015, 9:31:09 PM4/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-w...@googlegroups.com
Thank you! The tool has been installed successfully after ignoring the AidaReaderTest.