Is there any log which will tell which object is causing the exception ?
Discussion posts and replies are publicly visible
You need to check the Security of the object whether you are part of the group or not