From imperius-dev-return-203-apmail-incubator-imperius-dev-archive=incubator.apache.org@incubator.apache.org Tue Aug 19 22:47:37 2008 Return-Path: Delivered-To: apmail-incubator-imperius-dev-archive@locus.apache.org Received: (qmail 98400 invoked from network); 19 Aug 2008 22:47:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2008 22:47:37 -0000 Received: (qmail 91801 invoked by uid 500); 19 Aug 2008 22:47:35 -0000 Delivered-To: apmail-incubator-imperius-dev-archive@incubator.apache.org Received: (qmail 91786 invoked by uid 500); 19 Aug 2008 22:47:35 -0000 Mailing-List: contact imperius-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: imperius-dev@incubator.apache.org Delivered-To: mailing list imperius-dev@incubator.apache.org Received: (qmail 91774 invoked by uid 99); 19 Aug 2008 22:47:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 15:47:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 22:46:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 622DB234C1BD for ; Tue, 19 Aug 2008 15:46:46 -0700 (PDT) Message-ID: <1858292784.1219186006401.JavaMail.jira@brutus> Date: Tue, 19 Aug 2008 15:46:46 -0700 (PDT) From: "Reza Asadollahi (JIRA)" To: imperius-dev@incubator.apache.org Subject: [jira] Updated: (IMPERIUS-15) Policy execution exception when exist anchor objects with the same class In-Reply-To: <1479048387.1219185884202.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reza Asadollahi updated IMPERIUS-15: ------------------------------------ Attachment: TwoObjectsPolicy.spl SimpleBean.java > Policy execution exception when exist anchor objects with the same class > ------------------------------------------------------------------------- > > Key: IMPERIUS-15 > URL: https://issues.apache.org/jira/browse/IMPERIUS-15 > Project: Imperius > Issue Type: Bug > Reporter: Reza Asadollahi > Assignee: Bill Stoddard > Attachments: SimpleBean.java, TwoObjectsPolicy.spl > > > When having two or more objects with the same java class in a SPL policy , during the evalution the following exception happens: > org.apache.imperius.spl.parser.exceptions.SPLException: Invalid instance Name bean1 > at org.apache.imperius.spl.parser.compiler.symboltable.AnchorData.insertInstanceObject(AnchorData.java:131) > at org.apache.imperius.spl.parser.compiler.symboltable.SPLSymbolTable._insertInstanceObject(SPLSymbolTable.java:546) > at org.apache.imperius.spl.parser.compiler.symboltable.SPLSymbolTable.populateInstanceValuesForInstance(SPLSymbolTable.java:499) > at org.apache.imperius.spl.parser.statements.impl.SPLPolicy._evaluatePolicies(SPLPolicy.java:134) > at org.apache.imperius.spl.parser.statements.impl.SPLPolicy.evaluate(SPLPolicy.java:362) > at org.apache.imperius.spl.evaluator.impl.PolicyEvaluatorImpl.evaluatePolicy(PolicyEvaluatorImpl.java:118) > at org.apache.imperius.spl.manager.impl.PolicyManagerImpl.evaluatePolicy(PolicyManagerImpl.java:209) > at org.apache.imperius.javaspl.Java_SPLPolicyRuleProvider.executePolicy(Java_SPLPolicyRuleProvider.java:134) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.