fragment to fragment transitionin with FloatingActionButton Android : There are two fragments ChatFragment and CreateGroupFragment. When FloatingActionButton is selected in ChatFragment, CreateGroupFragment should come screen. But when click this button app closing.  



[this is my code][1]


[this is chatFragment][2]


  [1]: https://i.stack.imgur.com/QXkFP.png
  [2]: https://i.stack.imgur.com/THBDm.png