Hi
thank you for all the help!
was an object referencing error!!
Regards,
2010/5/28 Esteban Aliverti <esteban.aliverti(a)gmail.com>
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(a)nyx.com>
>
>
>
> ------------------------------
>
> *From:* Fnu Mahalakshmi
> *Sent:* Friday, May 28, 2010 3:43 PM
> *To:* 'rules-users-request(a)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
>
> Use real date and time Use a simulated date and time
>
>
>
>
>
>
>
>
>
> Expect rules
>
>
>
> Production Ips:
>
> fired at least once did not fire fired this many times: Choose...
>
>
>
>
>
> More...
>
>
>
>
>
> (configuration)
>
> Allow these rules to fire: Prevent these rules from firing: All rules
> may fire
>
>
>
>
>
> (globals)
>
>
>
>
>
> Test for checking Production Ips
>
> Title: [*ProdIp Test*]
>
> [show more info...]
>
>
>
>
>
> Rules case:
>
>
>
>
>
> WHEN
>
>
>
>
>
> Ovo
>
> useType
>
> --- please choose --- is equal to is not equal to matches sounds like
>
>
>
>
>
>
>
>
>
>
>
> THEN
>
>
>
>
>
>
>
> Insert *Ip*
>
> type
>
>
>
>
>
> (options)
>
>
>
>
>
>
>
>
>
> * *
>
> *View source*
>
> * *
>
>
>
> * *
>
> *Validate*
>
> * *
>
> Ips in Ovo are Production Ips
>
> Title: [*Production Ips*]
>
> [show more info...]
>
>
>
> 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
>
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users