[rules-users] Unable to resolve object reference

Narendra Valada narendra.valada at gmail.com
Fri Jul 24 06:08:57 EDT 2009


Hello,

I am getting "Unable to resolve object reference" on certain inner classes.

I seem to get this error on inner classes that have been defined within other inner classes. 

Since I am using XML Beans, I am not able to reference some of the generated classes due to this limitation.

Is this a known limitation of JBoss Rules or is it a limitation of the JANINO compiler?

Here is a example:

package com.sample;

public class Outer {

    public class Inner {

    public boolean inner=false;

        public class InnerInner {


        }

    }

}

Here is the rule:

package com.sample


import com.sample.Outer.Inner.InnerInner;


rule "Hello World 1"

when

InnerInner()

then

System.out.println("");

end

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090724/df1442fc/attachment.html 


More information about the rules-users mailing list