[ http://issues.apache.org/jira/browse/OFBIZ-58?page=comments#action_12418187 ]
Jacopo Cappellato commented on OFBIZ-58: ---------------------------------------- Daniel, your feedback is appreciated since in this area there are a lot of things that need to be fixed. Please, try my last commits: 7886, 7888, 7889; I've improved the error messages and the facility address selection. However, in my opinion the selection of a supplier when the po is started should be mandatory (in fact I suspect that the checkout process for an anonymous supplier will simply not work): what do you (all) think of making it mandatory? About your last error: is it cause by the service that creates invoices... what supplier are you using? > Bug - FacilityScreens.xml#ReceiveInventory bug line 106 > ------------------------------------------------------- > > Key: OFBIZ-58 > URL: http://issues.apache.org/jira/browse/OFBIZ-58 > Project: The Open For Business Project > Type: Bug > Components: order > Versions: SVN trunk > Environment: test linux system > Reporter: Daniel Kunkel > Priority: Minor > > Using a very fresh svn demo system with seed data... > I placed an order using NO SUPPLIER of record for 100 GZ-1004. > Because not an existing supplier I entered data for "supplier" including > name, phone numbers, e-mail. > Finished the order, approved, and got the error below when I went to "Quick > Receive purchase order" from catlog, GZ-1004, Inventory, Order 10000, order > screen. > org.ofbiz.base.util.GeneralException: Error rendering screen > [component://product/widget/facility/FacilityScreens.xml#ReceiveInventory]: > org.ofbiz.base.util.GeneralException: Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh], > line [106]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null : at Line: 106 : in file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : facility .getRelatedOne ( "OwnerParty" ) > Target exception: java.lang.NullPointerException: Null Pointer in Method > Invocation > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null) (Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh], > line [106]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null : at Line: 106 : in file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : facility .getRelatedOne ( "OwnerParty" ) > Target exception: java.lang.NullPointerException: Null Pointer in Method > Invocation > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null)) (Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh], > line [106]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null : at Line: 106 : in file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : facility .getRelatedOne ( "OwnerParty" ) > Target exception: java.lang.NullPointerException: Null Pointer in Method > Invocation > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null) (Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh], > line [106]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null : at Line: 106 : in file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : facility .getRelatedOne ( "OwnerParty" ) > Target exception: java.lang.NullPointerException: Null Pointer in Method > Invocation > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/inventory/receiveInventory.bsh > : null))) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
