Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 68290 invoked from network); 24 Nov 2010 13:36:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Nov 2010 13:36:58 -0000 Received: (qmail 64363 invoked by uid 500); 24 Nov 2010 13:37:30 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 64150 invoked by uid 500); 24 Nov 2010 13:37:27 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 64142 invoked by uid 99); 24 Nov 2010 13:37:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 13:37:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msa@schor.com designates 69.56.148.9 as permitted sender) Received: from [69.56.148.9] (HELO gateway11.websitewelcome.com) (69.56.148.9) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Nov 2010 13:37:19 +0000 Received: (qmail 18712 invoked from network); 24 Nov 2010 13:45:25 -0000 Received: from gator74.hostgator.com (67.18.27.130) by gateway11.websitewelcome.com with SMTP; 24 Nov 2010 13:45:25 -0000 Received: from [129.34.20.19] (port=47636 helo=[9.2.35.72]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PLFWa-0002yi-Ln for user@uima.apache.org; Wed, 24 Nov 2010 07:36:40 -0600 Message-ID: <4CED14EE.5040409@schor.com> Date: Wed, 24 Nov 2010 08:36:46 -0500 From: Marshall Schor User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Initialization of annotator class &quot;foo&quot; failed. References: <4CEA3CD1.7090609@gmx.de> <4CEBBB06.7010302@schor.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: multipart/alternative; boundary="------------010800090405070308050206" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator74.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com --------------010800090405070308050206 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit hi - Maybe the stack trace located at http://pastebin.com/fjkVPFAB (?) points at what's wrong: 1. Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 2. at de.tudarmstadt.ukp.teaching.tutorial.lesson4.PosTagger.initialize(PosTagger.java:37) If this is indeed the stack trace for your problem (it's different from the url you have below) - can you look at line 37 in PosTagger and see what might cause the Array Index out of bounds? -Marshall On 11/23/2010 8:37 AM, A. Schaller wrote: > Marshall Schor writes: > >> It may help if you post the full stack trace, and it may help if you post the >> descriptor xml that is failing to load. >> >> It could be that the postagger requires some resources to be on its classpath > or >> datapath, that are missing. >> >> -Marshall > > PosTagger.xml code: > > http://pastebin.com/CeHXwEhJ > > > Stack trace: > > http://pastebin.com/fjkVPFAB > > Refactoring RoomNumberAnnotator example step by step until it fits my PosTagger > project is what I already tried to do. Don't know exactly what went wrong but I > guess I have to try it again. > > > > > > --------------010800090405070308050206--