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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Manifest Editor hyperlink causes ClassCastException or Problems view creating problems

    Eclipse Bugzilla | 1 decade ago | jed.anderson
    java.lang.ClassCastException: org.eclipse.ui.views.internal.markers.tasks.TaskView at org.eclipse.pde.internal.ui.editor.manifest.AlertSection$1.linkActivated(AlertSection.java:114) at org.eclipse.update.ui.forms.internal.HyperlinkHandler.linkActivated(HyperlinkHandler.java:104) at org.eclipse.update.ui.forms.internal.HyperlinkHandler.mouseUp(HyperlinkHandler.java:82)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Exception in change method signature

    Eclipse Bugzilla | 1 decade ago | dirk_baeumer
    java.lang.ClassCastException: org.eclipse.jdt.core.dom.Block at org.eclipse.jdt.internal.corext.refactoring.TypeContextChecker$MethodTypesChecker.resolveBindings(TypeContextChecker.java:219) at org.eclipse.jdt.internal.corext.refactoring.TypeContextChecker$MethodTypesChecker.checkAndResolveMethodTypes(TypeContextChecker.java:104) at org.eclipse.jdt.internal.corext.refactoring.TypeContextChecker.checkAndResolveMethodTypes(TypeContextChecker.java:336) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring.checkSignature(ChangeSignatureRefactoring.java:301) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$ChangeSignatureInputPage.updateStatus(ChangeSignatureWizard.java:332) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$ChangeSignatureInputPage.update(ChangeSignatureWizard.java:318) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$ChangeSignatureInputPage.access$1(ChangeSignatureWizard.java:317) at org.eclipse.jdt.internal.ui.refactoring.ChangeSignatureWizard$5.parameterListChanged(ChangeSignatureWizard.java:259) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl$6.restoreSelection(ChangeParametersControl.java:480) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl$6.widgetSelected(ChangeParametersControl.java:470)

    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