Jira#KRACOEUS-7264,Fixing NPE while attaching the xml stream from user uploaded form