[jboss-jira] [JBoss JIRA] (DROOLS-1998) Guvnor Test Scenarios - "unable to find constructor" error using a Java Interface in the Facts model

Toni Rikkola (Jira) issues at jboss.org
Fri Jan 11 10:15:09 EST 2019


     [ https://issues.jboss.org/browse/DROOLS-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toni Rikkola closed DROOLS-1998.
--------------------------------
    Resolution: Explained


This editor is being replaced by the new table based test scenarios editor.

> Guvnor Test Scenarios - "unable to find constructor" error using a Java Interface in the Facts model
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1998
>                 URL: https://issues.jboss.org/browse/DROOLS-1998
>             Project: Drools
>          Issue Type: Bug
>          Components: Test Scenarios Editor
>    Affects Versions: 5.5.0.Final
>         Environment: Mac OS X version 10.5.8, jboss 4.2.3, jdk_1.6
>            Reporter: Alessandra Magenta
>            Assignee: Toni Rikkola
>            Priority: Major
>              Labels: Test
>         Attachments: Sales.java, SalesImpl.java, repository_export.xml
>
>
> If I use some Facts with a Java Interface I have an error on running Test Scenarios like: 
> There was an error executing the consequence of rule [SalesRule]
> rule: SalesRule CAUSED BY [Error: unable to find constructor: Sales()] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0]
> I have a Java class SalesImpl that implement the Sale Interface
> How I can resolve this error?



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list