Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 20434 invoked from network); 25 Apr 2010 22:18:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Apr 2010 22:18:58 -0000 Received: (qmail 94514 invoked by uid 500); 25 Apr 2010 22:18:58 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 94490 invoked by uid 500); 25 Apr 2010 22:18:58 -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 94482 invoked by uid 99); 25 Apr 2010 22:18:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 22:18:58 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tong.fin2@gmail.com designates 74.125.83.47 as permitted sender) Received: from [74.125.83.47] (HELO mail-gw0-f47.google.com) (74.125.83.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 22:18:53 +0000 Received: by gwb11 with SMTP id 11so213164gwb.6 for ; Sun, 25 Apr 2010 15:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=yS/JU8JhXZ1dQD97l9nIIQQ9OJ2vNlrqZwNWPJZ9EXk=; b=E7qSoiCMjI1yLV26rFinWpERxjcmr1BLo7SkvnNwT/TT4dsDnJix9O8vONsjOiV1VC wHqOK0aBTca6/W/5kRcxl6aeKyhN6mqaaXmyuR5B/r+w/KLDYBzy3LkofEIfkF3Gq+1b VkplhhbvzzQSMRiCfsmvUHj6lH3BYukDBmETY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BZk4B9wZja4L4OcRQMly48v4N8hGsewAeUNYx7kjm0z6OowS21u1ky1qu4QRjKA4Dt LGdT/yl/Qd7IBEiW9KyGk3vxr5VnWZoxaYkL+iTYHVZAOlXXMvva27l9XvpPlT10CyUA 2ocCqrPAD4zV9o5VFK4Re5fLLoqH7jIj6jA+Y= MIME-Version: 1.0 Received: by 10.150.187.19 with SMTP id k19mr3425412ybf.96.1272233912383; Sun, 25 Apr 2010 15:18:32 -0700 (PDT) Received: by 10.151.84.15 with HTTP; Sun, 25 Apr 2010 15:18:32 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Apr 2010 18:18:32 -0400 Message-ID: Subject: Re: ResourceAccessException by using getResourceFilePath in Eclipse Plug-In From: Tong Fin To: user@uima.apache.org Content-Type: multipart/alternative; boundary=000e0cd6adc26b46f20485170a69 --000e0cd6adc26b46f20485170a69 Content-Type: text/plain; charset=ISO-8859-1 Kai, The following source code expects to have "file" for the URI scheme: public String getResourceFilePath(String aKey) throws ResourceAccessException { URI resourceUri = getResourceURI(aKey); if (resourceUri != null) { if ("file".equals(resourceUri.getScheme())) { return resourceUri.getPath(); } else { throw new ResourceAccessException(); //TODO: error message } } else { return null; } } You might try to add "file" to see if it works. But, it might not what you would like to have. -- Tong On Sun, Apr 25, 2010 at 3:17 PM, Kai Schlamp wrote: > Something I forgot ... here is the full exception trace: > http://pastebin.com/E0FUUKas > > Regards, > Kai > > > > --000e0cd6adc26b46f20485170a69--