You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2006/08/06 09:50:15 UTC

[jira] Closed: (OFBIZ-58) Bug - FacilityScreens.xml#ReceiveInventory bug line 106

     [ http://issues.apache.org/jira/browse/OFBIZ-58?page=all ]

Jacopo Cappellato closed OFBIZ-58.
----------------------------------

    Resolution: Fixed

The last error was caused by the fact that right now it is not possible to do an 'anonymous checkout' for purchase order.
As a workaround I've disabled the "checkout" option (in po) is the supplier is not set.


> Bug - FacilityScreens.xml#ReceiveInventory bug line 106
> -------------------------------------------------------
>
>                 Key: OFBIZ-58
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-58
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: order
>    Affects 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