JBIDE-12592: Issue is fixed. JUnit Test Case is added for the issue