Bug 470443 - [navigation][painting] ClassCastException in JavaElementImplementationHyperlink.openImplementations (198)
Summary: [navigation][painting] ClassCastException in JavaElementImplementationHyperli...
Status: CLOSED DUPLICATE of bug 510019
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-06-18 01:34 EDT by EPP Error Reports CLA
Modified: 2017-01-06 05:06 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2015-06-18 01:34:31 EDT
The following incident was reported via the automated error reporting:


    code:                   0
    plugin:                 org.eclipse.ui_3.107.0.v20150107-0903
    message:                Unhandled event loop exception
    fingerprint:            1d284832
    exception class:        java.lang.ClassCastException
    exception message:      org.eclipse.jdt.internal.core.TypeParameter cannot be cast to org.eclipse.jdt.core.IType
    number of children:     0
    
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.TypeParameter cannot be cast to org.eclipse.jdt.core.IType
    at org.eclipse.jdt.internal.ui.javaeditor.JavaElementImplementationHyperlink.openImplementations(JavaElementImplementationHyperlink.java:198)
    at org.eclipse.jdt.internal.ui.javaeditor.JavaElementImplementationHyperlink.open(JavaElementImplementationHyperlink.java:145)
    at org.eclipse.jface.text.hyperlink.MultipleHyperlinkPresenter$LinkListInformationControl.openSelectedLink(MultipleHyperlinkPresenter.java:373)
    at org.eclipse.jface.text.hyperlink.MultipleHyperlinkPresenter$LinkListInformationControl.access$1(MultipleHyperlinkPresenter.java:365)
    at org.eclipse.jface.text.hyperlink.MultipleHyperlinkPresenter$4.mouseUp(MultipleHyperlinkPresenter.java:341)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4354)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:648)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:592)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
    at java.lang.reflect.Method.invoke(null:-1)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
   
  

General Information:

    reported-by:      
    anonymous-id:     f8360295-7a2f-4cf9-b5e3-6bca9263bec3
    eclipse-build-id: 4.5.0.I20150203-1300
    eclipse-product:  org.eclipse.epp.package.jee.product
    operating system: Windows7 6.1.0 (x86) - win32
    jre-version:      1.8.0_31-b13

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.databinding.observable_1.4.1.v20140910-2107
    2. org.eclipse.core.databinding_1.4.100.v20141002-1314
    3. org.eclipse.core.runtime_3.10.0.v20150112-1422
    4. org.eclipse.e4.ui.workbench_1.3.0.v20150113-2327
    5. org.eclipse.e4.ui.workbench.swt_0.12.100.v20150114-0905
    6. org.eclipse.equinox.app_1.3.200.v20130910-1609
    7. org.eclipse.equinox.launcher_1.3.0.v20140415-2008
    8. org.eclipse.jdt.ui_3.10.100.v20150116-1347
    9. org.eclipse.jdt_3.11.0.v20150203-1300
    10. org.eclipse.jface.text_3.10.0.v20150112-1146
    11. org.eclipse.jface_3.11.0.v20150121-1751
    12. org.eclipse.swt_3.104.0.v20150203-2243
    13. org.eclipse.ui_3.107.0.v20150107-0903
    14. org.eclipse.ui.ide.application_1.0.600.v20150120-1542
    15. org.eclipse.ui.ide_3.10.100.v20150126-1117

Please note that:
* Messages, stacktraces, and nested status objects may be shortened.
* Bug fields like status, resolution, and whiteboard are sent
  back to reporters.
* The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.

Other Resources:
* Report: https://dev.eclipse.org/recommenders/committers/confess/#/problems/551cfe6ce4b026254ee004bc  
* Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide


Thank you for your assistance.
Your friendly error-reports-inbox.

This bug was created on behalf of noopur_gupta@in.ibm.com.
Comment 1 Dani Megert CLA 2015-07-23 09:44:20 EDT
> This bug was created on behalf of noopur_gupta@in.ibm.com.

Noopur, any additional info?
Comment 2 Stephan Herrmann CLA 2015-07-23 10:49:34 EDT
LMK, if this indicates that the new binding based hovers create bogus hyperlinks. From some quick experiments I could not reproduce using binding based hovers and by clicking on type parameters / type variables in various positions.
Comment 3 Noopur Gupta CLA 2015-07-23 16:07:56 EDT
> This bug was created on behalf of noopur_gupta@in.ibm.com.

I have just triaged this report from the error reporting tool and I am not the reporter of this stacktrace.

The error reporting tool always adds this statement at the end of a bug report when I triage any report as a new bug on Bugzilla. It also adds me to the cc list of the created bug.

Similar confusion (that I have reported the issue) has happened several times when I triaged bugs to JDT/Core. Hence, I usually delete this statement from the bug report and remove myself from the cc list in other components after creating the bug report.

Marcel, I couldn't find a way to disable these while creating the bug reports. Let me know if I can disable it somehow.
Comment 4 Marcel Bruch CLA 2015-07-23 23:56:26 EDT
(In reply to Noopur Gupta from comment #3)
> Marcel, I couldn't find a way to disable these while creating the bug
> reports. Let me know if I can disable it somehow.

I created bug 473447. Please subscribe to get notified when it's done.

FWIW, I'm not following every bug discussion. Please consider creating bugs in EPP logging about annoying functionality directly :)
Comment 5 Dani Megert CLA 2015-07-24 03:16:12 EDT
We can take a closer look once we get more details.
Comment 6 Noopur Gupta CLA 2017-01-06 05:06:37 EST
.

*** This bug has been marked as a duplicate of bug 510019 ***