My Oracle Support Banner

Intermittently the Error "Failed to register 50 MBeans (Wrapped) java.io.IOException: negative quantity: -32" is Reported in a Coherence Node's Log File (Doc ID 1615353.1)

Last updated on SEPTEMBER 10, 2018

Applies to:

Oracle Coherence - Version 3.7.1 to 3.7.1.11 [Release AS10g]
Information in this document applies to any platform.

Symptoms

After starting the cluster, error similar to the following start to be reported by the nodes, the number of MBeans and the negative value can differ:

2013-01-29T06:03:34.068+0100|rzt-1-2|ERROR|Invocation:Management|Coherence|||Failed to register 50 MBeans (Wrapped) java.io.IOException: negative quantity: -32
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.dispatchMessage(Grid.CDB:62)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.post(Grid.CDB:46)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.send(Grid.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService.execute(InvocationService.CDB:31)
at com.tangosol.coherence.component.util.safeService.SafeInvocationService.execute(SafeInvocationService.CDB:1)
at com.tangosol.coherence.component.net.management.Connector.sendRegister(Connector.CDB:7)
at com.tangosol.coherence.component.net.management.Connector.registerAll(Connector.CDB:8)
at com.tangosol.coherence.component.net.management.Connector.onAnnouncement(Connector.CDB:10)
at com.tangosol.coherence.component.net.management.Connector$Announce.run(Connector.CDB:2)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService.onInvocationRequest(InvocationService.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationRequest.onReceived(InvocationService.CDB:40)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: negative quantity: -32
at com.tangosol.io.DefaultSerializer.serialize(DefaultSerializer.java:59)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.writeObject(Service.CDB:1)
at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationMessage.write(InvocationService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.serializeMessage(Grid.CDB:14)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:17)
... 16 more
Caused by: java.lang.IllegalArgumentException: negative quantity: -32
at com.tangosol.util.Base.toMemorySizeString(Base.java:3014)
at com.tangosol.util.SimpleMapIndex.toString(SimpleMapIndex.java:736)
at com.tangosol.util.SimpleMapIndex.toString(SimpleMapIndex.java:721)
at com.tangosol.coherence.component.net.management.model.localModel.StorageManagerModel.getIndexInfo(StorageManagerModel.CDB:24)
at com.tangosol.coherence.component.net.management.model.localModel.StorageManagerModel.writeExternal(StorageManagerModel.CDB:7)
at com.tangosol.util.ExternalizableHelper.writeExternalizableLite(ExternalizableHelper.java:2066)
at com.tangosol.util.ExternalizableHelper.writeObject(ExternalizableHelper.java:2436)
at com.tangosol.coherence.component.net.management.Connector$Register.writeExternal(Connector.CDB:15)
at com.tangosol.util.ExternalizableHelper.writeExternalizableLite(ExternalizableHelper.java:2066)
at com.tangosol.util.ExternalizableHelper.writeObject(ExternalizableHelper.java:2436)
at com.tangosol.io.DefaultSerializer.serialize(DefaultSerializer.java:53)
... 21 more

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.