[jboss-jira] [JBoss JIRA] (JBRULES-3417) 5.3.x Regression: SuperTypeName for a Declared Type extending reports as Object

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Apr 25 11:19:27 EDT 2012


    [ https://issues.jboss.org/browse/JBRULES-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687662#comment-12687662 ] 

RH Bugzilla Integration commented on JBRULES-3417:
--------------------------------------------------

Zuzana Krejčová <zkrejcov at redhat.com> made a comment on [bug 754093|https://bugzilla.redhat.com/show_bug.cgi?id=754093]

I am sorry to say it still needs some tweaking.

I got "[rule] Unable to validate this asset. (Check log for detailed messages)." upon validation of a rule using such Facts (B) or either of the models.

I have a model parentModel:
declare ParentFact
    parentFiled: String
end

and another one childModel:
declare ChildFact
    childFiled: String
end

and a simple rule using both of those.

There's also NPE in the server log, "Unable to build asset." at org.drools.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:130). 

See attachments for the rule and the stacktrace.
                
> 5.3.x Regression: SuperTypeName for a Declared Type extending reports as Object
> -------------------------------------------------------------------------------
>
>                 Key: JBRULES-3417
>                 URL: https://issues.jboss.org/browse/JBRULES-3417
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert)
>    Affects Versions: 5.3.1.Final
>            Reporter: Michael Anstis
>            Assignee: Michael Anstis
>            Priority: Blocker
>             Fix For: 5.3.2.Final
>
>
> See test DRLParserTest.testDeclaredSuperType(). *5.3.x Branch only*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list