You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rong Nguyen (JIRA)" <ji...@apache.org> on 2014/08/15 07:22:18 UTC

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

     [ 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)