Bug 94895 - IllegalArgumentException from Javadoc Hover
Summary: IllegalArgumentException from Javadoc Hover
Status: RESOLVED DUPLICATE of bug 94398
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 02:43 EDT by Brock Janiczak CLA
Modified: 2005-05-13 06:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brock Janiczak CLA 2005-05-12 02:43:29 EDT
Version: 3.1.0
Build id: I20050506-1600

I have gotten a few of these errors in my log, but have no idea what is
triggering it.

Exception in thread "Text Viewer Hover Presenter" java.lang.IllegalArgumentExcep
tion
        at org.eclipse.jdt.core.Signature.getReturnType(Signature.java:1595)
        at org.eclipse.jdt.core.Signature.getReturnType(Signature.java:1611)
        at org.eclipse.jdt.ui.JavaElementLabels.getMethodLabel(JavaElementLabels
.java:471)
        at org.eclipse.jdt.ui.JavaElementLabels.getElementLabel(JavaElementLabel
s.java:386)
        at org.eclipse.jdt.ui.JavaElementLabels.getElementLabel(JavaElementLabel
s.java:363)
        at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getInfoText(
JavadocHover.java:143)
        at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo
(JavadocHover.java:119)
        at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHov
er.getHoverInfo(AbstractJavaEditorTextHover.java:120)
        at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverIn
fo(BestMatchHover.java:102)
        at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.
getHoverInfo(JavaEditorTextHoverProxy.java:69)
        at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverMa
nager.java:160)
Comment 1 Olivier Thomann CLA 2005-05-12 07:52:17 EDT
Move to JDT/UI
Comment 2 Martin Aeschlimann CLA 2005-05-13 05:08:56 EDT
The problem must be in jdt.core. The signature is received from the key of a
IMethod and should represent a method signature.
Comment 3 Jerome Lanneluc CLA 2005-05-13 06:14:16 EDT

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