uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Grabmair (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-4803) Ruta update to 2.4 breaks project
Date Mon, 06 Jun 2016 16:40:21 GMT

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

Matthias Grabmair commented on UIMA-4803:
-----------------------------------------

Ok, I added debug print in the getClasspath (not the static getClassPath) method and go the
following paths:

~/git/uima-ruta/trunk/ruta-ep-ide-ui/target/classes
~/Documents/workspace2/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.osgi/55/0/.cp/uimaj-core-2.8.1.jar
~/Documents/workspace2/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.osgi/55/0/.cp/
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/antlr-runtime-3.5.2.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-collections-3.2.1.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-io-2.4.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-lang-2.6.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-lang3-3.4.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-logging-1.1.1.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-logging-api-1.1.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/commons-math3-3.0.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/htmlparser-1.6.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/ruta-core-2.4.1-SNAPSHOT.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/ruta-core-ext-2.4.1-SNAPSHOT.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/spring-asm-3.1.2.RELEASE.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/spring-beans-3.1.2.RELEASE.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/spring-context-3.1.2.RELEASE.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/spring-core-3.1.2.RELEASE.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/spring-expression-3.1.2.RELEASE.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/classes/uimafit-core-2.1.0.jar
~/git/uima-ruta/trunk/ruta-ep-engine/target/org.apache.uima.ruta.engine_2.4.1.SNAPSHOT.jar
~/git/uima-ruta/trunk/ruta-ep-engine/
~/Documents/runtime-EclipseApplication/test3/descriptor
~/Documents/runtime-EclipseApplication/test3/resources
~/Documents/runtime-EclipseApplication/test3/script
~/git/uima-ruta/trunk/example-projects/ruta-ep-example-extensions/bin
~/git/uima-ruta/trunk/example-projects/ruta-ep-example-extensions/target/classes
~/git/uima-ruta/trunk/ruta-ep-core-ext/bin
~/git/uima-ruta/trunk/ruta-ep-core-ext/target/classes

The weird thing is that, after I added the debug log and rebuilt everything, the error disappeared
and my test project in the debug eclipse application runs fine. Java and Eclipse are not my
main dev environment, so I looked through the classpath code whether there is something in
there that may be built/run differently on windows regarding path strings so that it produces
some hiccup on a unix. I will get back to this later.

> Ruta update to 2.4 breaks project
> ---------------------------------
>
>                 Key: UIMA-4803
>                 URL: https://issues.apache.org/jira/browse/UIMA-4803
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.4.0ruta
>         Environment: Eclipse Luna, OSX
>            Reporter: Matthias Grabmair
>            Assignee: Peter Kl├╝gl
>            Priority: Blocker
>             Fix For: 2.4.1ruta
>
>
> Updating to Ruta 2.4 causes my project to no longer compile. The main script quits with
the exception below. Occurs in both Eclipse Luna and Mars with UIMA 2.8.1. I did "UIMA Ruta"
-> "Update Project" and "UIMA Ruta" -> "Convert to Ruta Project" but it did not help.
Uninstalling 2.4 and reinstalling 2.3.1 fixes it.
> This seems to be similar to https://issues.apache.org/jira/browse/UIMA-3189
> - - -
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/uima/util/ProcessTrace
> 	at java.lang.Class.getDeclaredMethods0(Native Method)
> 	at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
> 	at java.lang.Class.privateGetMethodRecursive(Class.java:3040)
> 	at java.lang.Class.getMethod0(Class.java:3010)
> 	at java.lang.Class.getMethod(Class.java:1776)
> 	at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
> 	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
> Caused by: java.lang.ClassNotFoundException: org.apache.uima.util.ProcessTrace
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 7 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message