On 18.08.2016, at 08:39, Peter Klügl <[email protected]> wrote:
> 
> No idea yet why the tests fail...
> 
> Am 18.08.2016 um 02:29 schrieb Apache Jenkins Server:
>> See <https://builds.apache.org/job/UIMA-Ruta/org.apache.uima$ruta-core/789/>


> On 17.08.2016, at 19:18, Marshall Schor (JIRA) <[email protected]> wrote:
> Marshall Schor resolved UIMA-5056.
> 
> following Richard's suggestion, added exception if more than 1 nesting switch 
> for switching class loaders.


@Marshall/Peter: Looks like we found a case where classloader switching *does* 
go across more than 2 levels (no idea if this is intentional or not):

Caused by: org.apache.uima.cas.CASRuntimeException: Multiply nested 
classloaders not supported.  Original base loader: 
sun.misc.Launcher$AppClassLoader@712801c5, current nested loader: 
org.apache.uima.internal.util.UIMAClassLoader@3f89fc46, trying to switch to 
loader: org.apache.uima.internal.util.UIMAClassLoader@3e872ac6.
        at org.apache.uima.cas.impl.CASImpl.switchClassLoader(CASImpl.java:4257)
        at 
org.apache.uima.cas.impl.CASImpl.switchClassLoaderLockCasCL(CASImpl.java:4246)
        at 
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:382)
        ... 46 more

Cheers,

-- Richard

Reply via email to