HI,
While starting and stopping the application , I am getting thsese errors .( Upgrading my jgroup version 3.4.3 Version 4.0.10 , This issue is not in 3.4.3 version )
WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerStats
java.lang.reflect.InvocationTargetException: null
2018-05-22 10:33:30.244 WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerBufferSize
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
at org.jgroups.jmx.ResourceDMBean.dumpStats(ResourceDMBean.java:214) ~[jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:384) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:268) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.dumpStats(JChannel.java:345) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at com.cluster.router.jgroups.ClusterRouterChannel.channelDisconnected(ClusterRouterChannel.java:267) [com.cluster.router.jgroups_3.7.4.JGROUPLCM-SNAPSHOT.jar:na]
at org.jgroups.JChannel.lambda$notifyChannelDisconnected$2(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891) ~[na:1.8.0_152]
at java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:404) ~[na:1.8.0_152]
at org.jgroups.JChannel.notifyListeners(JChannel.java:1161) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.notifyChannelDisconnected(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.disconnect(JChannel.java:477) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel._close(JChannel.java:1102) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.close(JChannel.java:495) [jgroups-4.0.10.Final.jar:4.0.10.Final]
Last edit: alka pandey 2018-05-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
can you please let us know about these warning/error messages" ?
While starting and stopping the application , I am getting thsese errors .(
Upgrading my jgroup version 3.4.3 Version 4.0.10 , This issue is not in 3.4.3 version )
WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerStats
java.lang.reflect.InvocationTargetException: null
2018-05-22 10:33:30.244 WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerBufferSize
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
at org.jgroups.jmx.ResourceDMBean.dumpStats(ResourceDMBean.java:214) ~[jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:384) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:268) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.dumpStats(JChannel.java:345) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at com.cluster.router.jgroups.ClusterRouterChannel.channelDisconnected(ClusterRouterChannel.java:267) [com.cluster.router.jgroups_3.7.4.JGROUPLCM-SNAPSHOT.jar:na]
at org.jgroups.JChannel.lambda$notifyChannelDisconnected$2(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891) ~[na:1.8.0_152]
at java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:404) ~[na:1.8.0_152]
at org.jgroups.JChannel.notifyListeners(JChannel.java:1161) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.notifyChannelDisconnected(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.disconnect(JChannel.java:477) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel._close(JChannel.java:1102) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.close(JChannel.java:495) [jgroups-4.0.10.Final.jar:4.0.10.Final]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reason is that you're calling dumpStats() after the channel has been
disconnected, and 'bundler' was set to null. I fixed this on master
(commit 42bcc3b13f1fe677d00e135798e4ed38df82b972), but calling
dumpStats() should be done on a connected channel.
Cheers,
On 25/05/18 06:10, alka pandey wrote:
Hi,
can you please let us know about these warning/error messages" ?
While starting and stopping the application , I am getting thsese errors .(
Upgrading my jgroup version 3.4.3 Version 4.0.10 , This issue is not in
3.4.3 version )
WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerStats
java.lang.reflect.InvocationTargetException: null
2018-05-22 10:33:30.244 WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerBufferSize
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
at org.jgroups.jmx.ResourceDMBean.dumpStats(ResourceDMBean.java:214) ~[jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:384) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:268) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.dumpStats(JChannel.java:345) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at com.cluster.router.jgroups.ClusterRouterChannel.channelDisconnected(ClusterRouterChannel.java:267) [com.cluster.router.jgroups_3.7.4.JGROUPLCM-SNAPSHOT.jar:na]
at org.jgroups.JChannel.lambda$notifyChannelDisconnected$2(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891) ~[na:1.8.0_152]
at java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:404) ~[na:1.8.0_152]
at org.jgroups.JChannel.notifyListeners(JChannel.java:1161) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.notifyChannelDisconnected(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.disconnect(JChannel.java:477) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel._close(JChannel.java:1102) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.close(JChannel.java:495) [jgroups-4.0.10.Final.jar:4.0.10.Final]
HI,
While starting and stopping the application , I am getting thsese errors .(
Upgrading my jgroup version 3.4.3 Version 4.0.10 , This issue is not in 3.4.3 version )
WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerStats
java.lang.reflect.InvocationTargetException: null
2018-05-22 10:33:30.244 WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerBufferSize
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
at org.jgroups.jmx.ResourceDMBean.dumpStats(ResourceDMBean.java:214) ~[jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:384) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.stack.ProtocolStack.dumpStats(ProtocolStack.java:268) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.dumpStats(JChannel.java:345) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at com.cluster.router.jgroups.ClusterRouterChannel.channelDisconnected(ClusterRouterChannel.java:267) [com.cluster.router.jgroups_3.7.4.JGROUPLCM-SNAPSHOT.jar:na]
at org.jgroups.JChannel.lambda$notifyChannelDisconnected$2(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891) ~[na:1.8.0_152]
at java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:404) ~[na:1.8.0_152]
at org.jgroups.JChannel.notifyListeners(JChannel.java:1161) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.notifyChannelDisconnected(JChannel.java:1151) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.disconnect(JChannel.java:477) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel._close(JChannel.java:1102) [jgroups-4.0.10.Final.jar:4.0.10.Final]
at org.jgroups.JChannel.close(JChannel.java:495) [jgroups-4.0.10.Final.jar:4.0.10.Final]
Last edit: alka pandey 2018-05-22
Hi,
can you please let us know about these warning/error messages" ?
While starting and stopping the application , I am getting thsese errors .(
Upgrading my jgroup version 3.4.3 Version 4.0.10 , This issue is not in 3.4.3 version )
The reason is that you're calling dumpStats() after the channel has been
disconnected, and 'bundler' was set to null. I fixed this on master
(commit 42bcc3b13f1fe677d00e135798e4ed38df82b972), but calling
dumpStats() should be done on a connected channel.
Cheers,
On 25/05/18 06:10, alka pandey wrote:
--
Bela Ban | http://www.jgroups.org
Hello Expert,
We are getting exception when close the JChannel. [4.0.10.Final]
We didnt get any exception when using Channel [3.4.3.Final]
Are we missing something
Thanks Bela Ban for your response.
Appreciate your help :)