You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2017/07/02 18:16:02 UTC

[jira] [Commented] (OPENNLP-1107) Problem running high-memory-tests profile with Morfologik tests

    [ https://issues.apache.org/jira/browse/OPENNLP-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071747#comment-16071747 ] 

Suneel Marthi commented on OPENNLP-1107:
----------------------------------------

my guess is that this seems to be spining up junit 4.8 while the project is at junit 4.12 (and needs this version to execute some of the tests and also for compatibility with the version of maven-surefire-plugin - could u try with junit 4.12 or exclude junit 4.8 from the classpath ? 

> Problem running high-memory-tests profile with Morfologik tests
> ---------------------------------------------------------------
>
>                 Key: OPENNLP-1107
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1107
>             Project: OpenNLP
>          Issue Type: Test
>          Components: Build, Packaging and Test, Morfologik Addon
>            Reporter: Jeff Zemerick
>            Priority: Minor
>             Fix For: 1.8.1
>
>         Attachments: opennlp-morfologik-addon.out
>
>
> When running the following command on the 1.8.1 tag I get the following error. (The full build log is attached.)
> mvn clean install -T 1C -Phigh-memory-tests -DOPENNLP_DATA_DIR=/opt/opennlp-data/ 
> {code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project opennlp-morfologik-addon: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process
> [ERROR] java.lang.RuntimeException: Unable to load category: opennlp.tools.HighMemoryUsage
> [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:139)
> [ERROR] at org.apache.maven.surefire.common.junit48.FilterFactory.createGroupFilter(FilterFactory.java:100)
> [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.createJUnit48Filter(JUnitCoreProvider.java:279)
> [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:130)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
> [ERROR] Caused by: java.lang.ClassNotFoundException: opennlp.tools.HighMemoryUsage
> [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:135)
> [ERROR] ... 6 more
> [ERROR] -> [Help 1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)