[ https://issues.apache.org/jira/browse/OFBIZ-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-4040. ---------------------------------- Resolution: Fixed Assignee: Jacques Le Roux Thanks Felice, Your patch is in trunk at r1040890. Please next time create your patch from OFBiz root, it's far easier for use to apply. By chance yours was only one line, so I did it by hand... It's explained here https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices#OFBizContributorsBestPractices-HowtoSendinYourContributions(orhowtocreateandapplypatches) > NPE when calling org.ofbiz.entity.model.ModelEntity.getTableName(null) > ---------------------------------------------------------------------- > > Key: OFBIZ-4040 > URL: https://issues.apache.org/jira/browse/OFBIZ-4040 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Felice Romano > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-4040 ModelEntity.java.patch > > > When "table name" is required to a "model entity" object, it throws a NPE if > "datasource info" object is null. > Here is the patch: > Have a nice day, > Felice. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.