| Author |
Message |
|
|
Post subject: Exception Reverse Engineering class
Posted: Mar 12, 2009 - 08:23 PM
|
|
Registered Member

Joined: Feb 27, 2009
Posts: 2
|
|
I get the following error when Reverse Engineering a class
Creation of element failed
handle: Parameter: return or type: Package: List
Here is the exception in the log
Root exception:
java.lang.IllegalArgumentException: handle: Parameter: return or type: Package: List
at org.argouml.model.uml.CoreHelperImpl.setType(CoreHelperImpl.java:3289)
at org.argouml.uml.reveng.java.Modeller.addOperation(Modeller.java:1544)
at com.genuitec.eclipse.uml.wizard.ReverseEngineerJavaWizard.parseFile(ReverseEngineerJavaWizard.java:483)
at com.genuitec.eclipse.uml.wizard.ReverseEngineerJavaWizard.doImport(ReverseEngineerJavaWizard.java:179)
at com.genuitec.eclipse.uml.wizard.ReverseEngineerJavaWizard.finishPage(ReverseEngineerJavaWizard.java:116)
at com.genuitec.eclipse.core.portability.NewElementWizard$2.run(NewElementWizard.java:105)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:709)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4650)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:92)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:458)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:366)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at com.genuitec.eclipse.core.portability.NewElementWizard.performFinish(NewElementWizard.java:112)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.genuitec.eclipse.uml.action.UMLImportSourcesActionDelegate$1$1.run(UMLImportSourcesActionDelegate.java:72)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Here is the class I am trying to Reverse Engineer
/*
* Created on Feb 10, 2009 by ederksen
*
* CVS ID: $Id$
*/
package com.att.soe.admin.gwt.client;
import java.util.List;
import com.att.soe.admin.gwt.client.db.AdminData;
import com.att.soe.admin.gwt.client.db.PageData;
import com.att.soe.admin.gwt.client.db.UserModel;
import com.att.soe.admin.gwt.client.db.UserSummary;
import com.att.soe.admin.gwt.client.db.UserValidationError;
import com.att.soe.admin.gwt.client.user.search.UserSearchCriteria;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
// "userService" corresponds to "/userService" in Model XML file
@RemoteServiceRelativePath("userService")
public interface UserService extends RemoteService
{
public AdminData getAdminData();
public List<UserSummary> searchUsers(UserSearchCriteria criteria);
public PageData<UserSummary> searchUsersPaged(UserSearchCriteria criteria);
public UserModel getUserModel(String userId);
public List<UserValidationError> saveUser(boolean editNewUser, UserModel userModel);
}
Here is my MyEclipse installation details
*** Date:
Thursday, March 12, 2009 3:17:18 PM EDT
** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.1.1
Build id: 7.1.1-20090310
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 7.1.1
Build id: 7.1.1-20090310
Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700
Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800
Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400
Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800
Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
C:\Program Files\Genuitec\MyEclipse 7.0\configuration
-clean
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll |
|
|
| |
|
|
|
 |
|
|
Post subject: Additional Info
Posted: Mar 13, 2009 - 03:28 PM
|
|
Registered Member

Joined: Feb 27, 2009
Posts: 2
|
|
| Happens on any class that contains a List |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Additional Info
Posted: Mar 16, 2009 - 08:47 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
rrosen119,
I just got a reply from the dev team and they were unable to reproduce this issue using a class that contains a list. Can you switch to a new workspace and check if you are able to reproduce this issue?
Let me know if the problem persists. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Additional Info
Posted: Jun 05, 2009 - 01:01 AM
|
|
Joined: May 28, 2009
Posts: 5
|
|
| I am getting this same error, on 7.1.1 on both Linux and Windows. Different workspaces and -clean do not help me here...any further info on this apparent bug? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Additional Info
Posted: Jun 05, 2009 - 06:27 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
davidwillard,
Can you go to MyEclispe > Installation Summary > Installation details and paste the information here for me. I'll ask the dev team to investigate this issue. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Additional Info
Posted: Feb 16, 2010 - 07:50 PM
|
|
Registered Member

Joined: May 24, 2007
Posts: 5
|
|
| I am having the same problem in 7.5 |
|
|
| |
|
|
|
 |
|
|