[jboss-user] [JBoss Seam] - Re: [1.3.0 Alpha]not-null property references a null or tran

enzhao do-not-reply at jboss.com
Thu Jun 21 10:08:32 EDT 2007


Bug fixed: the line in the entity bean:


  | public void setMsreDesc(String msreDesc) {
  |     msreDesc = msreDesc;
  | }
  | 

should be 

  | public void setMsreDesc(String msreDesc) {
  |     this.msreDesc = msreDesc;
  |   }
  | 

This is really grievous and the bug was hard to track...Finally eclipse's yellow warning "this assignment has no effect" caught my attention, I added a "this." and things are working. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056518#4056518

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056518



More information about the jboss-user mailing list