[jira] [Updated] (OFBIZ-5713) NPE when database is changed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5713) NPE when database is changed

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rong Nguyen updated OFBIZ-5713:
-------------------------------

    Attachment: Issue-5713.diff

I guest when data is updated by other app(not the same OFBiz instance), NPE will occur on OFBiz instance.
I think OFBiz have to check field null before get its value, view more detail at my patch file.

> NPE when database is changed
> ----------------------------
>
>                 Key: OFBIZ-5713
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5713
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>         Environment: Java 7, Linux
>            Reporter: Rong Nguyen
>            Priority: Minor
>         Attachments: Issue-5713.diff
>
>
> Scenario:
>   1. Change table structure: add column to table.
>   2. Not update entity in OBFbiz
>   3. Go to one application(Order, Humanres,...)
> => NPE will occur.



--
This message was sent by Atlassian JIRA
(v6.2#6252)