Yes I see the stackoverflowerror in the logging

https://demo-stable.ofbiz.apache.org/webtools/control/LogView


On Thu, Oct 31, 2024 at 12:50 AM Omar Abdullwahhab <
omar.abdullwah...@gmail.com> wrote:

> Please check the stable demo,
> I have created a  Sales Order (  WSCO10000
> <https://demo-stable.ofbiz.apache.org:443/ordermgr/control/orderview?orderId=WSCO10000>
> )
>
> https://demo-stable.ofbiz.apache.org/ordermgr/control/orderview?orderId=WSCO10000
> Try adding a GZ-1006 to this product,
> I got an error message but it may be the same problem
> Please check.
>
>
> On Thu, Oct 31, 2024 at 12:13 AM Omar Abdullwahhab <
> omar.abdullwah...@gmail.com> wrote:
>
>> Hi Michael, Jacques ,
>> Sorry being late for the answer
>> I was figuring out what caused the problem,
>> In a hurry till I completely assert the cause,
>> It happened when I make the webstore warehouse
>> Configuration as follows.
>> OFBiz E-Commerce Store [ID:9000]
>> Check Inventory -> NO,
>> Require Inventory -> NO.
>>
>> Create a Sales order ( set currency to SAR ).
>> Add  a new item with id ( GZ-1005 )
>> You will get the error.
>>
>> But as I deviated little from the current *trunk* repository
>> I will download a fresh clone and test again,
>>
>> Best Regards
>>
>> On Wed, Oct 30, 2024 at 5:30 PM Michael Brohl <michael.br...@ecomify.de>
>> wrote:
>>
>>> Hi Omar,
>>>
>>> as an addition, please specify exactly what you are doing, what you are
>>> expecting and what the result is, including a stacktrace.
>>>
>>> Also, please check if you have defined a circular dependency in your
>>> product assocs, causing an endless loop. The last service call to
>>> getProductInventoryAvailableFromAssocProducts at least suggests that
>>> this could be a source of error.
>>>
>>> Best regards,
>>>
>>> Michael Brohl
>>>
>>> ecomify GmbH - www.ecomify.de
>>>
>>>
>>> Am 30.10.24 um 08:25 schrieb Jacques Le Roux:
>>> > Hi Omar,
>>> >
>>> > Could you please create a Jira?
>>> >
>>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices#OFBizContributorsBestPractices-HowtocreateaJiraissue
>>> >
>>> >
>>> > TIA
>>> >
>>> > Jacques
>>> >
>>> > Le 30/10/2024 à 01:35, Omar Abdullwahhab a écrit :
>>> >> Another service also to consider,
>>> >> getInventoryAvailableByFacility
>>> >>
>>> >>
>>> >> On Wed, Oct 30, 2024 at 3:05 AM Omar Abdullwahhab <
>>> >> omar.abdullwah...@gmail.com> wrote:
>>> >>
>>> >>> Hello OFBiz devs,
>>> >>> Today I faced a strange java.lang.StackOverflowError
>>> >>> exception when I was modifying  sales order items
>>> >>> in order manager application.
>>> >>> I traced the service calls and found that these services
>>> >>> Somehow  will cause this error,
>>> >>> These methods/services are.
>>> >>>
>>> >>> getProductInventoryAvailable
>>> >>> getMktgPackagesAvailable
>>> >>> getProductInventoryAvailableFromAssocProducts
>>> >>>
>>> >>> --
>>> >>> Omar Abu-Arab
>>> >>> Java Engineer
>>> >>>
>>> >>>
>>>
>>
>>
>> --
>> Omar Abu-Arab
>> Java Engineer
>>
>>
>
> --
> Omar Abu-Arab
> Java Engineer
>
>

-- 
Omar Abu-Arab
Java Engineer

Reply via email to