[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1020) Drools bugs

Christian Bauer (JIRA) jira-events at lists.jboss.org
Mon Mar 12 07:31:46 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1020?page=comments#action_12355805 ] 
            
Christian Bauer commented on JBSEAM-1020:
-----------------------------------------

OK, giving up on the upgrade, I'm going back to code security in plain Java. Somebody else take over and write a few test cases for this stuff:

Caused by: java.lang.NullPointerException
        at org.drools.semantics.java.RuleBuilder.setAttributes(RuleBuilder.java:209)
        at org.drools.semantics.java.RuleBuilder.build(RuleBuilder.java:173)
        at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:381)
        at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:219)
        at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
        at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
        at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
        at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
        at org.jboss.seam.Component.newInstance(Component.java:1746)
        at org.jboss.seam.Component.getInstance(Component.java:1643)
        at org.jboss.seam.Component.getInstance(Component.java:1610)
        at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:53)
        at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
        at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:574)
        at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
        at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
        ... 67 more


> Drools bugs
> -----------
>
>                 Key: JBSEAM-1020
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1020
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Security
>            Reporter: Christian Bauer
>         Assigned To: Shane Bryzak
>            Priority: Critical
>
> I want to see what is going on when my rules are evaluated, according to the Drools docs this is how:
>                 workingMemory.addEventListener( new DebugWorkingMemoryEventListener() );
> I have to do that in code right now, would be nice to be able to configure the identity component externally in config file. It also doesn't work, at least not in JBoss with a WAR deployment. I don't see any debug printed on System.out. Task: Ask the drools guys how we get logging for Seam users.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list