Most of the effort required to fix this bug will be in finding a way to 
reproduce it.

Do you have any ideas on this based on where you are seeing it?

Also, which revision of OFBiz are you running on, and what changes have you 
made to the code or configuration?

-David


Pradeep Chaudhary wrote:
We are getting major caching issues in production. Most of it occurs
in LRUMap class. Following is the error that we just got:

2007-08-20 15:21:42,854 (TP-Processor67)
[ServiceDispatcher.java:runSync:387 :ERROR] ::
---- exception report ----------------------------------------------------------
Service [calculateProductPrice] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception
(Entry.next=null, data[removeIndex]=(productPriceRuleId =
'10535')[EMAIL PROTECTED]
previous=(productPriceRuleId =
'10071')[EMAIL PROTECTED]
key=(inputParamEnumId = 'PRIP_PARTY_ID' AND condValue = '215769')
[EMAIL PROTECTED] size=4000
maxSize=4000 Please check that your keys are immutable, and that you
have used synchronization properly. If so, then please report this to
[EMAIL PROTECTED] as a bug.)
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (Entry.next=null,
data[removeIndex]=(productPriceRuleId =
'10535')[EMAIL PROTECTED]
previous=(productPriceRuleId =
'10071')[EMAIL PROTECTED]
key=(inputParamEnumId = 'PRIP_PARTY_ID' AND condValue = '215769')
[EMAIL PROTECTED] size=4000
maxSize=4000 Please check that your keys are immutable, and that you
have used synchronization properly. If so, then please report this to
[EMAIL PROTECTED] as a bug.)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:104)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)
org.ofbiz.order.shoppingcart.ShoppingCartItem.updatePrice(ShoppingCartItem.java:879)
org.ofbiz.order.shoppingcart.ShoppingCartItem.setQuantity(ShoppingCartItem.java:823)
org.ofbiz.order.shoppingcart.ShoppingCartItem.setQuantity(ShoppingCartItem.java:694)
org.ofbiz.order.shoppingcart.ShoppingCartItem.makeItem(ShoppingCartItem.java:448)
org.ofbiz.order.shoppingcart.ShoppingCartItem.makeItem(ShoppingCartItem.java:291)
org.ofbiz.order.shoppingcart.ShoppingCart.addItemToEnd(ShoppingCart.java:523)

We had modified the cache settings for ProductPriceRule,
ProductPriceAction, ProductPriceCond to have a max size and
useSoftReference as false. Could this be a problem ?

Any help would be appreciated. Please reply back if anybody has any ideas on it.

Thanks,
Pradeep

Reply via email to