Topic
1 reply Latest Post - ‏2013-08-29T14:50:55Z by JP_Parkin
MandarChatufale
MandarChatufale
18 Posts
ACCEPTED ANSWER

Pinned topic Error while getting HashMap from cache

‏2013-08-20T12:03:17Z |

Hi,

We inserted a Hashmap<String,String> in wxs cache. But while doing a get operation we get an error.

[8/20/13 16:55:10:016 IST] 00000061 SystemErr     R com.ibm.websphere.objectgrid.TransactionException: transaction marked rollback only, see caused by exception

[8/20/13 16:55:10:016 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.SessionImpl.mapPostInvoke(SessionImpl.java:3589)

[8/20/13 16:55:10:016 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.ObjectMapImpl.postInvoke(ObjectMapImpl.java:883)

[8/20/13 16:55:10:032 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.ObjectMapImpl.get(ObjectMapImpl.java:471)

[8/20/13 16:55:10:032 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.ObjectMapImpl.get(ObjectMapImpl.java:406)

------------------------------------

ch.qos.logback.classic.selector.servlet.LoggerContextFilter.doFilter(LoggerContextFilter.java:70)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:166)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)

[8/20/13 16:55:10:047 IST] 00000061 SystemErr     R Caused by: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.lang.AssertionError

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.plugins.io.dataobject.values.ValueDataImpl.getObject(ValueDataImpl.java:336)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.DiffMap.get(DiffMap.java:1038)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.ObjectMapImpl.get(ObjectMapImpl.java:446)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   ... 123 more

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R Caused by: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.lang.AssertionError

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.throwRuntimeException(XDFSerializerPlugin.java:273)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.inflateDataObject(XDFSerializerPlugin.java:335)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.plugins.io.dataobject.values.ValueDataImpl.getObject(ValueDataImpl.java:328)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   ... 125 more

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R Caused by: java.lang.AssertionError

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.xdf.serializers.collections.HashMapSerializer.deserializeObject(HashMapSerializer.java:213)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   at com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.inflateDataObject(XDFSerializerPlugin.java:303)

[8/20/13 16:55:10:063 IST] 00000061 SystemErr     R   ... 126 more

We are using a shared-library and have put all required jars in it. This works from a standalone program

Thanks