Developer forum

Forum » CMS - Standard features » System.InvalidOperationException: Queue empty.

System.InvalidOperationException: Queue empty.

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am noticing a lot of errors in one of our solutions.

They look like this:

Parsing

Application

Error

-1

System

Processed data: 獛浯嵥; Default type: Undefined.

Sun, 05 Jul 2020 00:06 (UTC+03:00)

WIN-BRANDFUSION

InvalidOperationException
 
2020-07-05 00:06:27.272: Processed data: ???; Default type: Undefined.
System.InvalidOperationException: Queue empty.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Queue`1.Dequeue()
at Dynamicweb.Ecommerce.Extensibility.Controls.ProductsAndGroupsHandler.ParseData(String data, Boolean loadDataFromDatabase, HandlerConfigurationType defaultDataType, List`1& productIdAndVariantIds, List`1& groupIds, HashSet`1& iQueries)
 
 
Any idea what it might be?
Thank you,
Adrian

Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Anybody?

I have a lot of errors like this every minute.

Thank you,
Adrian

 
Nicolai Pedersen
Reply

Can we see the entire stack?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

This is the entire message I see in the interface in Monitoring.
Should I look elsewhere?

Thank you,

Adrian

 
Nicolai Pedersen
Reply

You can probably find it in the log folder.

But as you can see it seems like you have some bad data in a product selector somewhere, maybe a discount?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

I don't know where to find it in the log.

Is there any way I can figure out what product selector is causing this issue?

I have a lot of these messages and we don't have custom discounts.

Adrian

 

You must be logged in to post in the forum