]
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?