Bug 95977 - java.lang.ClassCastException: org.eclipse.jdt.internal.core.jdom.DOMMethod
Summary: java.lang.ClassCastException: org.eclipse.jdt.internal.core.jdom.DOMMethod
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 95976 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-19 13:00 EDT by David Ly-Gagnon CLA
Modified: 2005-06-08 06:29 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 David Ly-Gagnon CLA 2005-05-19 13:00:55 EDT
I am having the following problem,

Transformation "UML to Java Transform" aborted during its execution.

Reason:
java.lang.ClassCastException:
org.eclipse.jdt.internal.core.jdom.DOMMethod

Transform context stack
Transform UML to Java Transform: Element "Generate Java FIles" was executing
source "[org.eclipse.uml2.impl.ClassImpl@695e1e3f(name: OfficeDepartment,
visibility: public)]"

thanks for your help
Comment 1 David Ly-Gagnon CLA 2005-05-19 14:23:26 EDT
Using the debugger it crashes in ConfigurationManager.doExecute();

have any ideas????

(In reply to comment #0)
> I am having the following problem,
> 
> Transformation "UML to Java Transform" aborted during its execution.
> 
> Reason:
> java.lang.ClassCastException:
> org.eclipse.jdt.internal.core.jdom.DOMMethod
> 
> Transform context stack
> Transform UML to Java Transform: Element "Generate Java FIles" was executing
> source "[org.eclipse.uml2.impl.ClassImpl@695e1e3f(name: OfficeDepartment,
> visibility: public)]"
> 
> thanks for your help

Comment 2 Philipe Mulet CLA 2005-05-19 15:25:56 EDT
Please provide more information. How can we reproduce ? Which build is this ? Do
you have a stack trace proving the issue lies in JDT/Core ?
Comment 3 Philipe Mulet CLA 2005-05-19 15:26:41 EDT
Pls reopen once questions are answered.
Comment 4 Philipe Mulet CLA 2005-05-19 15:27:13 EDT
*** Bug 95976 has been marked as a duplicate of this bug. ***
Comment 5 Philipe Mulet CLA 2005-05-19 15:44:41 EDT
What plugin defines this type ? Doesn't seem to be part of 3.1 SDK.
How can we reproduce ? 
Which build is this ? 
Comment 6 David Ly-Gagnon CLA 2005-05-19 18:22:39 EDT
I found the error. Sorry it was very stupid... 

its actually an extension of the Eclipse module framework, so I would have to
provide the code for you to simulate the bug.

thanks anyway
Comment 7 Frederic Fusier CLA 2005-06-08 06:28:51 EDT
Sounds as an user error...
Comment 8 Frederic Fusier CLA 2005-06-08 06:29:47 EDT
Close as invalid as it seems an user error according to comment 6...