Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 035D818648 for ; Thu, 7 Jan 2016 20:00:26 +0000 (UTC) Received: (qmail 45108 invoked by uid 500); 7 Jan 2016 20:00:25 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 45041 invoked by uid 500); 7 Jan 2016 20:00:25 -0000 Mailing-List: contact dev-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 dev@ctakes.apache.org Received: (qmail 45028 invoked by uid 99); 7 Jan 2016 20:00:25 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2016 20:00:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EF7021A02D5 for ; Thu, 7 Jan 2016 20:00:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.997 X-Spam-Level: ** X-Spam-Status: No, score=2.997 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=dartmouth.onmicrosoft.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3W0Z7b-Am7Qj for ; Thu, 7 Jan 2016 20:00:20 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0093.outbound.protection.outlook.com [157.56.110.93]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id BCA3B23036 for ; Thu, 7 Jan 2016 20:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dartmouth.onmicrosoft.com; s=selector1-dartmouth-edu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=V6TTPXY7r8gTPopJXFjSFpN7tD6IYqEIyFJrij3yw6w=; b=U4R+OGPE52A/YBAZ/7I4rk/Wa7lR4pBBUzzY4gr0NBafS2d6tEPrw0h6rew5RIpKOqMKlKu4hDYObn04Wj0RuGf/gRVxaov0u340TPMKnKrfFPmkxNF6voCYUEUfUlQnfhg0iGwsdowBCn9rfKHbFQETz86OPRJSjSPuU4hKtN4= Received: from BN3PR03MB1384.namprd03.prod.outlook.com (10.163.34.158) by BN3PR03MB1383.namprd03.prod.outlook.com (10.163.34.157) with Microsoft SMTP Server (TLS) id 15.1.365.19; Thu, 7 Jan 2016 20:00:11 +0000 Received: from BN3PR03MB1384.namprd03.prod.outlook.com ([10.163.34.158]) by BN3PR03MB1384.namprd03.prod.outlook.com ([10.163.34.158]) with mapi id 15.01.0365.019; Thu, 7 Jan 2016 20:00:11 +0000 From: Patrick Eads To: "dev@ctakes.apache.org" Subject: Getting ctakes smoking-status component to run in Eclipse Thread-Topic: Getting ctakes smoking-status component to run in Eclipse Thread-Index: AdFJhJ5AKX1WvQY5Q8qdqk78XfLgfQ== Date: Thu, 7 Jan 2016 20:00:11 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Patrick.Eads@dartmouth.edu; x-originating-ip: [129.170.195.136] x-microsoft-exchange-diagnostics: 1;BN3PR03MB1383;5:EGFvTDZAQrn/yJoI12navUKDt+dhbuEQ6NbjoKWAZtFOdOaYD714xCTXyviTgef55wPC1VMCwgAOK2vFxfEyAuo0yTVNe/hrkOSxnbimpOPbyurRIhzzjS85xvm7EsD5MbZMG9apwDoHHBWlPQVw1w==;24:Foy7U+ey+yOSsYJjaKpVVmQte5O6bX8b3O1/ETnpWIiajmGoc+O6ZRwVZ4iQK+ofo9iIB8L+og73Dw9BI/WPuOAH04CCYpWLiF1QPTml9B4= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1383; x-ms-office365-filtering-correlation-id: 3113f99f-88da-4a8c-d1c0-08d3179d26b4 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046);SRVR:BN3PR03MB1383;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1383; x-forefront-prvs: 0814A2C7A3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(377454003)(53754006)(189002)(479174004)(199003)(77096005)(87936001)(66066001)(75432002)(19580395003)(92566002)(11100500001)(189998001)(110136002)(33656002)(107886002)(5001960100002)(88552001)(101416001)(2906002)(229853001)(2900100001)(19625215002)(2351001)(5003600100002)(40100003)(5002640100001)(15975445007)(86362001)(89122001)(54356999)(76576001)(790700001)(6116002)(102836003)(3846002)(74316001)(586003)(122556002)(1096002)(1220700001)(50986999)(99286002)(106356001)(19300405004)(81156007)(97736004)(10400500002)(5004730100002)(16236675004)(2501003)(5008740100001)(450100001)(90282001)(105586002)(19617315012);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB1383;H:BN3PR03MB1384.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: dartmouth.edu does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BN3PR03MB1384FD02E1B07ED7F025210C83F50BN3PR03MB1384namp_" MIME-Version: 1.0 X-OriginatorOrg: dartmouth.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2016 20:00:11.2310 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 995b0936-48d6-40e5-a31e-bf689ec9446f X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1383 --_000_BN3PR03MB1384FD02E1B07ED7F025210C83F50BN3PR03MB1384namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello all, We are trying to get the ctakes smoking-status component to run after getti= ng the code from SVN and successfully compiling it. Following all of the st= eps here: https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.2+Dev= eloper+Install+Guide, we are able to successful test the clinical-pipeline = by processing the testpatient_plaintext_1.txt from the User Install Guide. = However, when we attempt to load the SimulatedProdSmokingTAE.xml after runn= ing the smoking-status project, the following exception is thrown (sorry fo= r the long stack trace): 1/7/16 2:45:14 PM - 17: org.apache.uima.tools.cvd.MainFrame.handleException= (526): SEVERE: Initialization of annotator class "org.apache.ctakes.smoking= status.ae.ClassifiableEntries" failed. (Descriptor: file:/home/.../ctakes/= ctakes-smoking-status/desc/analysis_engine/ClassifiableEntriesAnnotator.xml= ) org.apache.uima.resource.ResourceInitializationException: Initialization of= annotator class "org.apache.ctakes.smokingstatus.ae.ClassifiableEntries" f= ailed. (Descriptor: file:/home/.../ctakes/ctakes-smoking-status/desc/analy= sis_engine/ClassifiableEntriesAnnotator.xml) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEn= gine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:252= ) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEn= gine_impl.initialize(PrimitiveAnalysisEngine_impl.java:156) at org.apache.uima.impl.AnalysisEngineFactory_impl.produceR= esource(AnalysisEngineFactory_impl.java:94) at org.apache.uima.impl.CompositeResourceFactory_impl.produ= ceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramew= ork.java:269) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMA= Framework.java:387) at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(= ASB_impl.java:254) at org.apache.uima.analysis_engine.impl.AggregateAnalysisEn= gine_impl.initASB(AggregateAnalysisEngine_impl.java:431) at org.apache.uima.analysis_engine.impl.AggregateAnalysisEn= gine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.ja= va:375) at org.apache.uima.analysis_engine.impl.AggregateAnalysisEn= gine_impl.initialize(AggregateAnalysisEngine_impl.java:185) at org.apache.uima.impl.AnalysisEngineFactory_impl.produceR= esource(AnalysisEngineFactory_impl.java:94) at org.apache.uima.impl.CompositeResourceFactory_impl.produ= ceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramew= ork.java:269) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMA= Framework.java:354) at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.ja= va:1484) at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(Mai= nFrame.java:476) at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHand= ler.actionPerformed(AnnotatorOpenEventHandler.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractB= utton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(Abstr= actButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(Defau= ltButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonM= odel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:3= 76) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenu= ItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragM= ouseReleased(BasicMenuItemUI.java:943) at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuIte= m.java:586) at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuIte= m.java:483) at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:4= 29) at javax.swing.MenuSelectionManager.processMouseEvent(MenuS= electionManager.java:329) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eve= ntDispatched(BasicPopupMenuUI.java:870) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatch= ed(Toolkit.java:2425) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched= (Toolkit.java:2317) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:22= 75) at java.awt.Component.dispatchEventImpl(Component.java:4787= ) at java.awt.Container.dispatchEventImpl(Container.java:2294= ) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.LightweightDispatcher.retargetMouseEvent(Contai= ner.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Contain= er.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.j= ava:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280= ) at java.awt.Window.dispatchEventImpl(Window.java:2750) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:75= 8) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Metho= d) at java.security.ProtectionDomain$JavaSecurityAccessImpl.do= IntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.do= IntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Metho= d) at java.security.ProtectionDomain$JavaSecurityAccessImpl.do= IntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWr= apper.java:697) at java.awt.EventDispatchThread.pumpOneEventForFilters(Even= tDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDi= spatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Even= tDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr= ead.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr= ead.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.jav= a:82) Caused by: org.apache.uima.resource.ResourceInitializationException: An imp= ort could not be resolved. No .xml file with name "org.apache.ctakes.core.= analysis_engine.TokenizerAnnotator" was found in the class path or data pat= h. (Descriptor: file:/home/.../ctakes/ctakes-smoking-status-res/target/clas= ses/org/apache/ctakes/smokingstatus/analysis_engine/ProductionPostSentenceA= ggregate_step1.xml) at org.apache.ctakes.smokingstatus.ae.ClassifiableEntries.i= nitialize(ClassifiableEntries.java:178) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEn= gine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250= ) ... 59 more Caused by: org.apache.uima.resource.ResourceInitializationException: An imp= ort could not be resolved. No .xml file with name "org.apache.ctakes.core.= analysis_engine.TokenizerAnnotator" was found in the class path or data pat= h. (Descriptor: file:/home/.../ctakes/ctakes-smoking-status-res/target/clas= ses/org/apache/ctakes/smokingstatus/analysis_engine/ProductionPostSentenceA= ggregate_step1.xml) at org.apache.uima.analysis_engine.impl.AggregateAnalysisEn= gine_impl.initialize(AggregateAnalysisEngine_impl.java:159) at org.apache.uima.impl.AnalysisEngineFactory_impl.produceR= esource(AnalysisEngineFactory_impl.java:94) at org.apache.uima.impl.CompositeResourceFactory_impl.produ= ceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramew= ork.java:269) at org.apache.uima.UIMAFramework.produceResource(UIMAFramew= ork.java:314) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMA= Framework.java:425) at org.apache.ctakes.smokingstatus.ae.ClassifiableEntries.i= nitialize(ClassifiableEntries.java:164) ... 60 more Caused by: org.apache.uima.util.InvalidXMLException: An import could not be= resolved. No .xml file with name "org.apache.ctakes.core.analysis_engine.= TokenizerAnnotator" was found in the class path or data path. (Descriptor: = file:/home/.../ctakes/ctakes-smoking-status-res/target/classes/org/apache/c= takes/smokingstatus/analysis_engine/ProductionPostSentenceAggregate_step1.x= ml) at org.apache.uima.resource.metadata.impl.Import_impl.findA= bsoluteUrl(Import_impl.java:107) at org.apache.uima.analysis_engine.impl.AnalysisEngineDescr= iption_impl.resolveDelegateAnalysisEngineImports(AnalysisEngineDescription_= impl.java:798) at org.apache.uima.analysis_engine.impl.AnalysisEngineDescr= iption_impl.resolveDelegateAnalysisEngineImports(AnalysisEngineDescription_= impl.java:765) at org.apache.uima.analysis_engine.impl.AnalysisEngineDescr= iption_impl.getDelegateAnalysisEngineSpecifiers(AnalysisEngineDescription_i= mpl.java:193) at org.apache.uima.analysis_engine.impl.AggregateAnalysisEn= gine_impl.initialize(AggregateAnalysisEngine_impl.java:147) ... 66 more Please let me know if you have any advice. Thank you. Regards, Patrick Eads --_000_BN3PR03MB1384FD02E1B07ED7F025210C83F50BN3PR03MB1384namp_--