java.lang.ClassCastException: com.springsource.sts.grails.editor.gsp.tags.GSPTagLibDocument cannot be cast to org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumentImpl

SpringSource Issue Tracker | Andy Clement | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.springsource.sts.grails.editor.gsp.tags.GSPTagLibDocument cannot be cast to org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumentImpl

      at org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMElementDeclarationImpl.getLocationString()
    2. org.eclipse.jst
      TaglibHyperlinkDetector.detectHyperlinks
      1. org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMElementDeclarationImpl.getLocationString(CMElementDeclarationImpl.java:583)
      2. org.eclipse.jst.jsp.ui.internal.hyperlink.TaglibHyperlinkDetector.detectHyperlinks(TaglibHyperlinkDetector.java:246)
      2 frames
    3. Text Editor Framework
      HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks
      1. org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
      1 frame
    4. JFace Text
      HyperlinkManager.mouseMove
      1. org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:276)
      2. org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:452)
      2 frames
    5. RWT
      TypedListener.handleEvent
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:205)
      1 frame