[ 
https://issues.apache.org/jira/browse/OFBIZ-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098275#comment-14098275
 ] 

Rong Nguyen commented on OFBIZ-5713:
------------------------------------

@Jacques: I have two branch, one have default OFBiz model and one for my 
purpose, the second branch change some fields and add some extra table to 
datamodel, so when use the same database for two branches, NPE will occur when 
i switch to the first branch. I guest NPE caused by my scenario, but i am not 
sure, but when i debug, i see the "field" variable is null because the 
ModelEntity does not have "curKey".

@Adrian: Now, i have to use two database for two branches. Thank for you reply, 
i agree with your concern.



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

Reply via email to