Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E76839703 for ; Thu, 8 Mar 2012 04:11:31 +0000 (UTC) Received: (qmail 3401 invoked by uid 500); 8 Mar 2012 04:11:30 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 3185 invoked by uid 500); 8 Mar 2012 04:11:30 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 2830 invoked by uid 99); 8 Mar 2012 04:11:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 04:11:29 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lu4242@gmail.com designates 209.85.210.53 as permitted sender) Received: from [209.85.210.53] (HELO mail-pz0-f53.google.com) (209.85.210.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 04:11:25 +0000 Received: by dady25 with SMTP id y25so115482dad.12 for ; Wed, 07 Mar 2012 20:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ypD2rLjgx47WAN+fq/C3s2b3OKsrz9Q03iFUs8LXU1g=; b=NUMXRfyM75A4heZHajLaMW8lwqVII/EMx5w5tfVm7VrOCQCRkz3/AsC0IHytHKvTrE wUZ89qh+JpCe0muXUFN48ZLeDEDzpHim/7X9qh8l8L/K3eC3LJQrD9OWxeeU4vZPvPgA 2Ca0akFwE6lFNmpMr/u6F5UalYAk8+vfW0FwymGtU1nxl0k0ah25YB2ovI4cF3JTon/H g/ZgVH4LmrwtI9bLT6H4R/toIoYWoKVde8Sc7LNj19xdrSIstYHt66ZgrM/s/XPrOcfM Q65L84cb6fImSb1MwkR3pUNXlhyd6xsXj6XJQSd6IMcAHuZ6ixJ7Vnn+j2/7UHx9lY/P 8Rzw== MIME-Version: 1.0 Received: by 10.68.212.232 with SMTP id nn8mr6990992pbc.156.1331179864831; Wed, 07 Mar 2012 20:11:04 -0800 (PST) Received: by 10.142.165.21 with HTTP; Wed, 7 Mar 2012 20:11:04 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Mar 2012 23:11:04 -0500 Message-ID: Subject: Re: Unable to use direct char[] access of java.lang.String error on appengine From: Leonardo Uribe To: MyFaces Discussion Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi It seems to be an issue related to some performance improvements done in 2.1.6 (Use grails StreamCharBuffer). Please create an issue in: https://issues.apache.org/jira/browse/MYFACES I'll solve this issue, disabling that hack by default, because in GAE it is not possible to set system properties. Thanks for report it. regards, Leonardo Uribe 2012/3/7 lucio piccoli : > hi all > > i am getting the following error when running on appengine. > > Unable to use direct char[] access of java.lang.String > > i found some src code that alowed for onfiguration of the the chararray > access. > > http://svn.apache.org/repos/asf/myfaces/core/trunk/shared/src/main/java/o= rg/apache/myfaces/shared/util/StringCharArrayAccessor.java > > it uses a poperty to disable using the char access. > > static volatile boolean enabled =3D !Boolean > =A0 =A0 =A0 =A0 =A0 =A0.getBoolean("oam.stringchararrayaccessor.disabled"= ); > > where is this property set? > > it is not documented anywhere. > > -lp