Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 66FDD200827 for ; Sun, 15 May 2016 21:54:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 659CE1602C0; Sun, 15 May 2016 19:54:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5E0DE160968 for ; Sun, 15 May 2016 21:54:14 +0200 (CEST) Received: (qmail 65323 invoked by uid 500); 15 May 2016 19:54:13 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 65308 invoked by uid 99); 15 May 2016 19:54:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 May 2016 19:54:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 464502C14F8 for ; Sun, 15 May 2016 19:54:13 +0000 (UTC) Date: Sun, 15 May 2016 19:54:13 +0000 (UTC) From: "gage renzi (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CTAKES-334) GramMatrixExporterImpl initialization failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 15 May 2016 19:54:15 -0000 [ https://issues.apache.org/jira/browse/CTAKES-334?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1528= 3934#comment-15283934 ]=20 gage renzi edited comment on CTAKES-334 at 5/15/16 7:53 PM: ------------------------------------------------------------ same with build 1.8.0_91-b14. does work with 1.7.0_79-b15 was (Author: gagerenzi@gmail.com): same with build 1.8.0_91-b14 > GramMatrixExporterImpl initialization failed > -------------------------------------------- > > Key: CTAKES-334 > URL: https://issues.apache.org/jira/browse/CTAKES-334 > Project: cTAKES > Issue Type: Bug > Components: ctakes-ytex > Affects Versions: 3.2.0, 3.1.1 > Reporter: vijay > Fix For: 3.2.1 > > > Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatr= ixExporterImpl]; nested exception is java.beans.IntrospectionException: typ= e mismatch between read and write methods > {code} > Exception in thread "main" java.lang.ExceptionInInitializerError > [java] at org.apache.ctakes.ytex.tools.SetupAuiFirstWord.setupAu= iFirstWord(SetupAuiFirstWord.java:190) > [java] at org.apache.ctakes.ytex.tools.SetupAuiFirstWord.main(Se= tupAuiFirstWord.java:186) > [java] Caused by: org.springframework.beans.factory.access.Bootstrap= Exception: Unable to initialize group definition. Group resource name [clas= spath*:org/apache/ctakes/ytex/kernelBeanRefContext.xml], factory key [kerne= lApplicationContext]; nested exception is org.springframework.beans.factory= .BeanCreationException: Error creating bean with name 'kernelApplicationCon= text' defined in URL [jar:file:/media/nino/Dati/apache-ctakes-3.2.0/lib/cta= kes-ytex-web-3.2.0-classes.jar!/org/apache/ctakes/ytex/kernelBeanRefContext= .xml]: Instantiation of bean failed; nested exception is org.springframewor= k.beans.BeanInstantiationException: Could not instantiate bean class [org.s= pringframework.context.support.ClassPathXmlApplicationContext]: Constructor= threw exception; nested exception is org.springframework.beans.factory.Bea= nCreationException: Error creating bean with name 'gramMatrixExporter' defi= ned in class path resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initi= alization of bean failed; nested exception is org.springframework.beans.Fat= alBeanException: Failed to obtain BeanInfo for class [org.apache.ctakes.yte= x.weka.GramMatrixExporterImpl]; nested exception is java.beans.Introspectio= nException: type mismatch between read and write methods > [java] at org.springframework.beans.factory.access.SingletonBean= FactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386) > [java] at org.apache.ctakes.ytex.kernel.KernelContextHolder.(KernelContextHolder.java:28) > [java] ... 2 more > [java] Caused by: org.springframework.beans.factory.BeanCreationExce= ption: Error creating bean with name 'kernelApplicationContext' defined in = URL [jar:file:/media/nino/Dati/apache-ctakes-3.2.0/lib/ctakes-ytex-web-3.2.= 0-classes.jar!/org/apache/ctakes/ytex/kernelBeanRefContext.xml]: Instantiat= ion of bean failed; nested exception is org.springframework.beans.BeanInsta= ntiationException: Could not instantiate bean class [org.springframework.co= ntext.support.ClassPathXmlApplicationContext]: Constructor threw exception;= nested exception is org.springframework.beans.factory.BeanCreationExceptio= n: Error creating bean with name 'gramMatrixExporter' defined in class path= resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initialization of bean= failed; nested exception is org.springframework.beans.FatalBeanException: = Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrix= ExporterImpl]; nested exception is java.beans.IntrospectionException: type = mismatch between read and write methods > [java] at org.springframework.beans.factory.support.ConstructorR= esolver.autowireConstructor(ConstructorResolver.java:288) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFacto= ry.java:1035) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactor= y.java:939) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java= :485) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:4= 56) > [java] at org.springframework.beans.factory.support.AbstractBean= Factory$1.getObject(AbstractBeanFactory.java:294) > [java] at org.springframework.beans.factory.support.DefaultSingl= etonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > [java] at org.springframework.beans.factory.support.AbstractBean= Factory.doGetBean(AbstractBeanFactory.java:291) > [java] at org.springframework.beans.factory.support.AbstractBean= Factory.getBean(AbstractBeanFactory.java:193) > [java] at org.springframework.beans.factory.support.DefaultLista= bleBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609= ) > [java] at org.springframework.context.support.AbstractApplicatio= nContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:91= 8) > [java] at org.springframework.context.support.AbstractApplicatio= nContext.refresh(AbstractApplicationContext.java:469) > [java] at org.springframework.context.access.ContextSingletonBea= nFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.jav= a:143) > [java] at org.springframework.beans.factory.access.SingletonBean= FactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:381) > [java] ... 3 more > [java] Caused by: org.springframework.beans.BeanInstantiationExcepti= on: Could not instantiate bean class [org.springframework.context.support.C= lassPathXmlApplicationContext]: Constructor threw exception; nested excepti= on is org.springframework.beans.factory.BeanCreationException: Error creati= ng bean with name 'gramMatrixExporter' defined in class path resource [org/= apache/ctakes/ytex/beans-kernel.xml]: Initialization of bean failed; nested= exception is org.springframework.beans.FatalBeanException: Failed to obtai= n BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; = nested exception is java.beans.IntrospectionException: type mismatch betwee= n read and write methods > [java] at org.springframework.beans.BeanUtils.instantiateClass(B= eanUtils.java:162) > [java] at org.springframework.beans.factory.support.SimpleInstan= tiationStrategy.instantiate(SimpleInstantiationStrategy.java:110) > [java] at org.springframework.beans.factory.support.ConstructorR= esolver.autowireConstructor(ConstructorResolver.java:280) > [java] ... 16 more > [java] Caused by: org.springframework.beans.factory.BeanCreationExce= ption: Error creating bean with name 'gramMatrixExporter' defined in class = path resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initialization of = bean failed; nested exception is org.springframework.beans.FatalBeanExcepti= on: Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMa= trixExporterImpl]; nested exception is java.beans.IntrospectionException: t= ype mismatch between read and write methods > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java= :527) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:4= 56) > [java] at org.springframework.beans.factory.support.AbstractBean= Factory$1.getObject(AbstractBeanFactory.java:294) > [java] at org.springframework.beans.factory.support.DefaultSingl= etonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > [java] at org.springframework.beans.factory.support.AbstractBean= Factory.doGetBean(AbstractBeanFactory.java:291) > [java] at org.springframework.beans.factory.support.AbstractBean= Factory.getBean(AbstractBeanFactory.java:193) > [java] at org.springframework.beans.factory.support.DefaultLista= bleBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609= ) > [java] at org.springframework.context.support.AbstractApplicatio= nContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:91= 8) > [java] at org.springframework.context.support.AbstractApplicatio= nContext.refresh(AbstractApplicationContext.java:469) > [java] at org.springframework.context.support.ClassPathXmlApplic= ationContext.(ClassPathXmlApplicationContext.java:139) > [java] at org.springframework.context.support.ClassPathXmlApplic= ationContext.(ClassPathXmlApplicationContext.java:93) > [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0= (Native Method) > [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(= NativeConstructorAccessorImpl.java:62) > [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInsta= nce(DelegatingConstructorAccessorImpl.java:45) > [java] at java.lang.reflect.Constructor.newInstance(Constructor.= java:408) > [java] at org.springframework.beans.BeanUtils.instantiateClass(B= eanUtils.java:147) > [java] ... 18 more > [java] Caused by: org.springframework.beans.FatalBeanException: Fail= ed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExpo= rterImpl]; nested exception is java.beans.IntrospectionException: type mism= atch between read and write methods > [java] at org.springframework.beans.CachedIntrospectionResults.<= init>(CachedIntrospectionResults.java:262) > [java] at org.springframework.beans.CachedIntrospectionResults.f= orClass(CachedIntrospectionResults.java:149) > [java] at org.springframework.beans.BeanWrapperImpl.getCachedInt= rospectionResults(BeanWrapperImpl.java:324) > [java] at org.springframework.beans.BeanWrapperImpl.getPropertyD= escriptors(BeanWrapperImpl.java:331) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(Abstract= AutowireCapableBeanFactory.java:1242) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java= :1101) > [java] at org.springframework.beans.factory.support.AbstractAuto= wireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java= :517) > [java] ... 33 more > [java] Caused by: java.beans.IntrospectionException: type mismatch b= etween read and write methods > [java] at java.beans.PropertyDescriptor.findPropertyType(Propert= yDescriptor.java:659) > [java] at java.beans.PropertyDescriptor.setReadMethod(PropertyDe= scriptor.java:256) > [java] at org.springframework.beans.ExtendedBeanInfo.addOrUpdate= PropertyDescriptor(ExtendedBeanInfo.java:282) > [java] at org.springframework.beans.ExtendedBeanInfo.addOrUpdate= PropertyDescriptor(ExtendedBeanInfo.java:180) > [java] at org.springframework.beans.ExtendedBeanInfo.(Exte= ndedBeanInfo.java:100) > [java] at org.springframework.beans.CachedIntrospectionResults.<= init>(CachedIntrospectionResults.java:224) > [java] ... 39 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)