Hi
thank you for all the help!
was an object referencing error!!
Regards,
Can you double check that you have a public non-args constructor in Ovo class? Did you update your jar model and recompile the package in guvnor?Best,2010/5/28 Fnu Mahalakshmi <FMahalakshmi@nyx.com>
From: Fnu Mahalakshmi
Sent: Friday, May 28, 2010 3:43 PM
To: 'rules-users-request@lists.jboss.org'
Subject: error running test scenarios
Hi,
I am working on a drools application and I am getting the following error:
I import java files to my application and then create the rules + test scenarios to run them.
Attaching a jar file of the java classes.
My Test Case:
Run scenario
GIVEN
insert [Ovo]
[TestOvoUseType]
ipAddress:
useType:
EXPECT
Expect rules
Production Ips:
(configuration)
(globals)
Title: [ProdIp Test]
Rules case:
WHEN
Ovo
useType
THEN
Insert Ip
type
(options)
Title: [Production Ips]
Error stack:
15:36:25,517 INFO [STDOUT] ERROR 28-05 15:36:25,507 (ServiceImplementation.java:runScenario:1942) [Error: unable to find constructor for: org.servers.Ovo] [Near : {... new org.servers.Ovo( ....}] ^ [Line: 1, Column: 0]
I have defined the constructor in the Ovo class and Ip class respectively.
Please let me know if you can throw some light on this.
Thanks,
Jillika
Please consider the environment before printing this email.
Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.
_______________________________________________
rules-users mailing list
--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users