http://issues.jabsorb.org/show_bug.cgi?id=46

           Summary: beanserializer impl problem
           Product: jabsorb
           Version: 1.2
               URL: http://itx.ru
            Status: NEW
          Severity: defect
          Priority: medium
         Component: serializer
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Another error beanserializer impl. When calling overload method of bean with
bean object as parameter with their null valued field - I receive null
exception. 
Reason of this problem it's bad work bean serializer (primitive null pointer
exception). I enclose below a temporary solution
 diff -r
/home/d.yacenko/Desktop/jabsorb-1.2.2/src/org/jabsorb/serializer/impl/BeanSerializer.java
jabsorb-1.2.2/src/org/jabsorb/serializer/impl/BeanSerializer.java
317a318
>           if(tmp!=null){
319,324c320,326
<           {
<             m = tmp;
<           }
<           else
<           {
<             m = m.max(tmp);
---
>             {
>               m = tmp;
>             }
>             else
>             {
>               m = m.max(tmp);
>             }
PS: tmp was null for me :(.


-- 
Configure bugmail: http://issues.jabsorb.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
Jabsorb-dev mailing list
[email protected]
http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev

Reply via email to