JBIDE-17467 Visual Page Editor: CoreException Caused by ClassCastException

fixed