[
https://issues.jboss.org/browse/ISPN-5089?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on ISPN-5089:
-----------------------------------------------
Dave Stahl <dstahl(a)redhat.com> changed the Status of [bug
1174582|https://bugzilla.redhat.com/show_bug.cgi?id=1174582] from MODIFIED to ON_QA
Zero-divide ArithmeticException in
org.infinispan.interceptors.CacheMgmtInterceptor.getAverageWriteTime()
---------------------------------------------------------------------------------------------------------
Key: ISPN-5089
URL:
https://issues.jboss.org/browse/ISPN-5089
Project: Infinispan
Issue Type: Bug
Components: Core
Environment: JDG 6.3.1 (Infinispan 6.1.1.Final) and the current master seems the
same.
Reporter: Osamu Nagano
Assignee: Tristan Tarrant
Fix For: 7.1.0.Beta1
There are occasional {{java.lang.ArithmeticException: / by zero}} in server.log. It
seems a part collecting statistics for MBean and they were actually collecting such data
by JMX.
{noformat}
2014-12-15 12:32:00.283 ERROR [org.infinispan.server.hotrod.HotRodDecoder]
(HotRodServerWorker-491) ISPN005009: Unexpected error before any request parameters read:
io.netty.handler.codec.DecoderException: org.infinispan.server.hotrod.HotRodException:
java.lang.ArithmeticException: / by zero
at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:417)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:141)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at
org.infinispan.server.core.AbstractProtocolDecoder.channelRead(AbstractProtocolDecoder.scala:471)
[infinispan.jar:6.1.1.Final-redhat-5]
at
io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at
io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:116)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:494)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:461)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
Caused by: org.infinispan.server.hotrod.HotRodException: java.lang.ArithmeticException: /
by zero
at
org.infinispan.server.hotrod.HotRodDecoder.createServerException(HotRodDecoder.scala:206)
[infinispan.jar:6.1.1.Final-redhat-5]
at
org.infinispan.server.core.AbstractProtocolDecoder.decodeDispatch(AbstractProtocolDecoder.scala:77)
[infinispan.jar:6.1.1.Final-redhat-5]
at
org.infinispan.server.core.AbstractProtocolDecoder.decode(AbstractProtocolDecoder.scala:61)
[infinispan.jar:6.1.1.Final-redhat-5]
at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:362)
[netty-all-4.0.18.Final-redhat-1.jar:4.0.18.Final-redhat-1]
... 12 more
Caused by: java.lang.ArithmeticException: / by zero
at
org.infinispan.interceptors.CacheMgmtInterceptor.getAverageWriteTime(CacheMgmtInterceptor.java:294)
[infinispan-core-6.1.1.Final-redhat-5.jar:6.1.1.Final-redhat-5]
at org.infinispan.stats.StatsImpl.<init>(StatsImpl.java:48)
[infinispan-core-6.1.1.Final-redhat-5.jar:6.1.1.Final-redhat-5]
at org.infinispan.CacheImpl.getStats(CacheImpl.java:884)
[infinispan-core-6.1.1.Final-redhat-5.jar:6.1.1.Final-redhat-5]
at
org.infinispan.AbstractDelegatingAdvancedCache.getStats(AbstractDelegatingAdvancedCache.java:173)
[infinispan-core-6.1.1.Final-redhat-5.jar:6.1.1.Final-redhat-5]
at
org.infinispan.server.hotrod.HotRodDecoder.createStatsResponse(HotRodDecoder.scala:161)
[infinispan.jar:6.1.1.Final-redhat-5]
at
org.infinispan.server.core.AbstractProtocolDecoder.decodeHeader(AbstractProtocolDecoder.scala:147)
[infinispan.jar:6.1.1.Final-redhat-5]
at
org.infinispan.server.core.AbstractProtocolDecoder.decodeDispatch(AbstractProtocolDecoder.scala:70)
[infinispan.jar:6.1.1.Final-redhat-5]
... 14 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)