How are you implementing your multi-threaded code? Your message doesn't provide enough information.
-Adrian --- On Thu, 8/5/10, cqnunez <[email protected]> wrote: > From: cqnunez <[email protected]> > Subject: javolution.JavolutionError: Concurrent maps should be marked shared > To: [email protected] > Date: Thursday, August 5, 2010, 8:12 PM > > We encountered the ff error when implementing multiple > threads to process > multiple orders. Any assistance would be much appreciated. > Thanks. > > ---- error report > -------------------------------------------------------------- > Service [getPartyAccountingPreferences] threw an unexpected > exception/error > Exception: javolution.JavolutionError > Message: Concurrent maps should be marked shared > ---- stack trace > --------------------------------------------------------------- > javolution.JavolutionError: Concurrent maps should be > marked shared > javolution.util.FastMap.indexOf(Unknown Source) > javolution.util.FastMap.unmapEntry(Unknown Source) > javolution.util.FastMap.unmapEntry(Unknown Source) > javolution.util.FastMap.removeEntry(Unknown Source) > javolution.util.FastMap.remove(Unknown Source) > org.ofbiz.entity.transaction.TransactionUtil.clearTransactionBeginStack(TransactionUtil.java:652) > org.ofbiz.entity.transaction.TransactionUtil.suspend(TransactionUtil.java:337) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:294) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:162) > org.ofbiz.service.ModelService.evalPermission(ModelService.java:959) > org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:892) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:342) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:162) > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:244) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:95) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:749) > org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:84) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:749) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:162) > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:244) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:95) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921) > org.ofbiz.minilang.method.envops.Loop.exec(Loop.java:81) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:749) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:148) > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/javolution-JavolutionError-Concurrent-maps-should-be-marked-shared-tp2315856p2315856.html > Sent from the OFBiz - User mailing list archive at > Nabble.com. >
