[jira] [Commented] (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] [Commented] (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:comment-tabpanel&focusedCommentId=14098260#comment-14098260 ]

Jacques Le Roux commented on OFBIZ-5713:
----------------------------------------

Adding a NPE check there surely can't hurt, but I'd like to be sure how it happened to you. You have a shared DB between many OFBiz instances and those instances where not coordinated. I mean you changed the data model in one instance but not the others (or one other) or you did not reboot them (or one) even if the data model was changed there, no other scenarios?

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