Red Hat Bugzilla – Bug 821687
Exception occurs whilst running the mortgage samples
Last modified: 2013-11-07 17:12:17 EST
Description of problem:
During smoke testing, I have encountered a org.drools.RuntimeDroolsException when running the BRMS mortgage samples Test scenarios.
Version-Release number of selected component (if applicable):
Every single time.
Steps to Reproduce:
1. Perform smoke testing of BRMS 5.3 as described in the guide: https://docspace.corp.redhat.com/docs/DOC-89613
2. The error occurs in section "Check BRMS console and samples" of the guide
Exception appears in server.log
There shouldn't be an exception.
I have attached the server.log from the smoke test run that has the exception.
I have noticed that the exception only happens once, the very first time the test is run, subsequent runs fail to produce the exception.
No attachments, but will look at issue anyway...
Followed instructions given, unable to re-produce with community 5.3.x branch.
Please provide more information. Unable to reproduce.
Created attachment 586333 [details]
Server Log showing the exception
Yes, I can reproduce the issue.
1) import the mortgage-sample-repository.xml
2) Click QA->Test Scenarios in packs->mortgages->run all scenarios
I can spot java.io.InvalidClassException: org.drools.rule.MVELDialectRuntimeData; local class incompatible: stream classdesc serialVersionUID = 8808844570772337501, local class serialVersionUID =5166066541265170937 in server.log.
Though the mortage samples package could rebuild automatically after the error detected and run it succesfully, it would be better off avoiding such error.
If I rebuild all the package first before I do step2, the error won't occur.
I suspect that the mortage-sample-repository.xml in github should be updated after the mvel version updates to mvel2-2.1.0.drools16.
CC more people to get more attentions.
cc email@example.com, firstname.lastname@example.org, email@example.com
Hope to pick up fix to ER8 as more as possible.
OK, exception was not causing QA not to run, but I see your point. New example repository pushed to 5.3.x branch (and attached so you can test before ER8).
Created attachment 586445 [details]
Repository file built with mvel2-2.1.0.drools16.
Please verify them on ER8.
I have tested the new repository file against ER8 and it works!
I have tested it too. I followed steps in guide and in section "Check BRMS console and samples" no exception occured in server.log.