Menu

Getting warning while stopping the application on one of my custer node

2018-05-22
2018-05-30
  • alka pandey

    alka pandey - 2018-05-22

    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 )

    1. WARN org.jgroups.stack.ProtocolStack - Could not retrieve value of attribute (method) BundlerStats
      java.lang.reflect.InvocationTargetException: null

    2. 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
  • alka pandey

    alka pandey - 2018-05-25

    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]
    
     
    • Bela Ban

      Bela Ban - 2018-05-28

      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]


      Getting warning while stopping the application on one of my custer node
      https://sourceforge.net/p/javagroups/discussion/18794/thread/f4a15b3b/?limit=25#1cc2


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/javagroups/discussion/18794/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Bela Ban | http://www.jgroups.org

       
  • Abhijeet

    Abhijeet - 2018-05-28

    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

     
  • Abhijeet

    Abhijeet - 2018-05-30

    Thanks Bela Ban for your response.
    Appreciate your help :)

     

Log in to post a comment.