[rules-users] drools-guvnor, problem when creating test scenarios based on referenced domain model

david_nabble david.drools_user_list at schmithuesen.net
Thu Mar 25 05:39:08 EDT 2010


Hi !


kicho wrote:
> 
> As you can see, i get a blank screen with no info at all, which points me
> to conclusion that something (not good) happend.
> 
> In server log i found this:
> 
> 2010-03-25 09:27:17,684 INFO  [STDOUT] ERROR 25-03 09:27:17,684
> (ServiceImplementation.java:runScenario:1942) 	 [Error: could not
> access/write property (roleAttr) in: comExpert01.User]
> [Near : {... __fact__.roleAttr = __val_ ....}]
>                                        ^
> [Line: 1, Column: 0]
> 

Does your model declare a setRoleAttr(Role r) Method for the user class?


kicho wrote:
> 
>  http://n3.nabble.com/file/n519577/test_scenario_no_roleAttr.jpg 
> 
> I get another blank screen after running test with this exception in log
> file:
> 
> 2010-03-25 09:49:38,295 INFO  [STDOUT] ERROR 25-03 09:49:38,295
> (ServiceImplementation.java:runScenario:1942) 	
> org.drools.RuntimeDroolsException: Exception executing predicate
> roleAttr.roleName == "ADMIN"
> 
 
no idea on this so far..

Could you provide your (test-)model?


-- 
View this message in context: http://n3.nabble.com/drools-guvnor-problem-when-creating-test-scenarios-based-on-referenced-domain-model-tp471099p519650.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list