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


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.

Reply via email to