Bug 47895 - CCE in HandleFactory
Summary: CCE in HandleFactory
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2003-12-02 10:57 EST by Nikolay Metchev CLA
Modified: 2009-08-30 02:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Metchev CLA 2003-12-02 10:57:57 EST
this appeared in my console window (NOT IN THE LOG). Don't know how it got 
there:
----------------------------------
java.lang.ClassCastException
        at org.eclipse.jdt.internal.core.util.HandleFactory$1$Visitor.visit(Hand
leFactory.java:245)
        at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDe
claration.java:1083)
        at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDe
claration.java:1006)
        at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.trav
erse(CompilationUnitDeclaration.java:305)
        at org.eclipse.jdt.internal.core.util.HandleFactory.createElement(Handle
Factory.java:292)
        at org.eclipse.jdt.internal.core.SelectionRequestor.acceptLocalVariable(
SelectionRequestor.java:191)
        at org.eclipse.jdt.internal.codeassist.SelectionEngine.selectFrom(Select
ionEngine.java:650)
        at org.eclipse.jdt.internal.codeassist.SelectionEngine.select(SelectionE
ngine.java:520)
        at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.java:169)
        at org.eclipse.jdt.internal.core.ClassFile.codeSelect(ClassFile.java:134
)
        at org.eclipse.jdt.internal.core.ClassFile.codeSelect(ClassFile.java:119
)
        at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHov
er.getHoverInfo(AbstractJavaEditorTextHover.java:95)
        at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverIn
fo(BestMatchHover.java:140)
        at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.
getHoverInfo(JavaEditorTextHoverProxy.java:69)
        at org.eclipse.jface.text.TextViewerHoverManager$2.run(TextViewerHoverMa
nager.java:119)
Comment 1 Nikolay Metchev CLA 2003-12-02 10:58:26 EST
I200311260800
Comment 2 Philipe Mulet CLA 2003-12-02 11:02:40 EST
Which build are you using ?
Comment 3 Nikolay Metchev CLA 2003-12-02 12:02:39 EST
look at comment 1
Comment 4 Philipe Mulet CLA 2003-12-02 12:16:24 EST
Frederic - seems like the problem you addressed earlier this week.
Comment 5 Frederic Fusier CLA 2003-12-05 09:52:26 EST
I agree that this look the same, but without any test case it is hard to be 
100% sure of that...

Nikolay, please verify that it is fixed with a build > 20031201
Comment 6 Nikolay Metchev CLA 2003-12-05 10:04:55 EST
this has only happend once to me and I have no idea how. I just logged the 
stack trace and hoped it was enough info for you guys to go on.
Comment 7 Frederic Fusier CLA 2003-12-16 09:44:31 EST
Reopen to change state result from FIXED to DUPLICATE
Comment 8 Frederic Fusier CLA 2003-12-16 09:46:01 EST
As there was no code modification, it's better to use DUPLICATE for result 
state. It's also give a little idea of what was the similar problem...


*** This bug has been marked as a duplicate of 47177 ***
Comment 9 Frederic Fusier CLA 2003-12-16 09:51:19 EST
As David rightly said, it's not possible that this bug was a duplicate of
bug 47177 as it appeared post M5...
Comment 10 Frederic Fusier CLA 2003-12-16 09:55:14 EST
This problem surely should have been fixed while Handlefactory rewriting (see 
bug 47214).

Just let us know if this assumption would not be correct
Comment 11 Philipe Mulet CLA 2004-04-08 09:38:47 EDT
Timed out
Comment 12 Denis Roy CLA 2009-08-30 02:05:54 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.