]
Michael Anstis moved GUVNOR-1289 to DROOLS-1998:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1998 (was: GUVNOR-1289)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Test Scenarios Editor
(was: Test Scenarios)
Affects Version/s: 5.5.0.Final
(was: drools-5.1)
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
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?