ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finan, Sean" <Sean.Fi...@childrens.harvard.edu>
Subject Re: for sean, chenpei or james-masanz [EXTERNAL]
Date Thu, 31 May 2018 14:51:43 GMT
Hi Peter,

As far as I know the repo was frozen and the binaries immediately built using the frozen code
without any tweaks.  I didn't personally perform the build, but given the timeline I would
be surprised if something was changed between the two.

You are correct: ctakes requires java 8.  

Sean
________________________________________
From: Peter Abramowitsch <pabramowitsch@gmail.com>
Sent: Thursday, May 31, 2018 9:10 AM
To: dev@ctakes.apache.org
Subject: Re: for sean, chenpei or james-masanz [EXTERNAL]

Thanks Sean

A week ago or so I also found and reported some code in ctakes-temporal
that didn't compile without two minor changes.  Yet the repo doesn't look
changed since April 2017.  So could it be that the binary release was built
in an environment that had been tweaked in some way and those changes
hadn't made it back into the repository.   I'm assuming that compatibility
is still with Java 1.8 and above.

Regards. Peter

On Thu, May 31, 2018, 2:09 PM Finan, Sean <Sean.Finan@childrens.harvard.edu>
wrote:

> There shouldn't be any difference, but it looks like you may have found
> one.
> ________________________________________
> From: Peter Abramowitsch <pabramowitsch@gmail.com>
> Sent: Wednesday, May 30, 2018 7:22 PM
> To: dev@ctakes.apache.org
> Subject: for sean, chenpei or james-masanz [EXTERNAL]
>
> Just a quick question --  Is there any skew between the 4.0.0 binary
> release and the 4.0.0 source fetched from SVN?   When I build a binary
> distribution from the source, and then start to load up any piper file or
> hard coded pipeline, I get the error below, and when I use the binary
> distribution from the ctakes site it works fine.
>
> Exception in thread "main" java.lang.ArrayStoreException:
> sun.reflect.annotation.EnumConstantNotPresentExceptionProxy
>     at
>
> sun.reflect.annotation.AnnotationParser.parseEnumArray(AnnotationParser.java:744)
>     at
>
> sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:533)
>     at
>
> sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
>     at
>
> sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
>     at
>
> sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
>     at
>
> sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
>     at java.lang.Class.createAnnotationData(Class.java:3513)
>     at java.lang.Class.annotationData(Class.java:3502)
>     at java.lang.Class.getAnnotation(Class.java:3407)
>     at
>
> org.apache.uima.fit.internal.ReflectionUtil.isAnnotationPresent(ReflectionUtil.java:168)
>     at
>
> org.apache.uima.fit.internal.ReflectionUtil.getInheritableAnnotation(ReflectionUtil.java:121)
>     at
>
> org.apache.uima.fit.factory.ResourceMetaDataFactory.configureResourceMetaData(ResourceMetaDataFactory.java:46)
>     at
>
> org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription(CollectionReaderFactory.java:799)
>     at
>
> org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription(CollectionReaderFactory.java:662)
>     at
>
> org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription(CollectionReaderFactory.java:599)
>     at
>
> org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription(CollectionReaderFactory.java:456)
>     at
>
> org.apache.ctakes.core.pipeline.PipelineBuilder.reader(PipelineBuilder.java:96)
>
> The sizes of the classes within some libraries seem different between the
> distributed 4.0.0 jars and the ones I built from 4.0.0 source.
>

Mime
View raw message