MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to General Development
View previous topic Printable version Log in to check your private messages View next topic
Author Message
MyEclipseUser2010
Post subject: Reverse Engineer UML from Java: Creation of element failed  PostPosted: Jul 13, 2010 - 12:36 AM



Joined: Jul 13, 2010
Posts: 1

I get the following error when I tried doing Reverse Engineer UML from Java:

Creation of element failed
handle: Parameter: return or type: Package: List

===============================================================================================
I'm using:
MyEclipse Enterprise Workbench

Version: 8.5
Build id: 8.5-20100319

===============================================================================================
Installation Summary:
*** Date:
Monday, July 12, 2010 4:35:13 PM PDT

** System properties:
OS=Linux
OS version=2.6.32
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.5
Build id: 8.5-20100319


Eclipse startup command=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
/home/tonyd/Genuitec/MyEclipse 8.x Latest/myeclipse
-name
Myeclipse
--launcher.library
/home/tonyd/Genuitec/MyEclipse 8.x Latest//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so
-startup
/home/tonyd/Genuitec/MyEclipse 8.x Latest//../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata
a6f8024
-install
/home/tonyd/Genuitec/MyEclipse 8.x Latest
-configuration
/home/tonyd/Genuitec/MyEclipse 8.x Latest/configuration
-vm
/home/tonyd/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java


===============================================================================================
Error log:

java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)
at com.genuitec.eclipse.core.portability.NewElementWizard.performFinish(NewElementWizard.java:112)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
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:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
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:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: 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:452)
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:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
... 39 more
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:452)
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:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)
at com.genuitec.eclipse.core.portability.NewElementWizard.performFinish(NewElementWizard.java:112)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
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:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
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:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
 
 View user's profile Send private message  
Reply with quote Back to top
support-ram
Post subject: RE: Reverse Engineer UML from Java: Creation of element fail  PostPosted: Jul 13, 2010 - 11:18 AM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 58

MyEclipseUser2010,

I am unable to reproduce this issue using a class that contains a list.
Are you getting the same error using both UML1&UML2 models.
Can you share a sample project which replicates this issue.

You can send a mail to support@myeclipseide.com. Please add ATTN:RAM in the subject and refer to this thread.

_________________
Ram
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
edwardmaccarthy
Post subject: Getting same error  PostPosted: May 16, 2011 - 08:31 PM



Joined: May 16, 2011
Posts: 4

I am getting the same error on Windows XP, running MyEclipse 9. Is there a solution yet?

MyEclipse Enterprise Workbench

Version: 9.0
Build id: 9.0-20110318
 
 View user's profile Send private message  
Reply with quote Back to top
edwardmaccarthy
Post subject: RE: Getting same error  PostPosted: May 16, 2011 - 08:52 PM



Joined: May 16, 2011
Posts: 4

edwardmaccarthy wrote:
I am getting the same error on Windows XP, running MyEclipse 9. Is there a solution yet?

MyEclipse Enterprise Workbench

Version: 9.0
Build id: 9.0-20110318
When I tried to close the file that I had half created, I got an error message in a dialog box:
"Error saving: null"
 
 View user's profile Send private message  
Reply with quote Back to top
edwardmaccarthy
Post subject: RE: Getting same error  PostPosted: May 16, 2011 - 09:13 PM



Joined: May 16, 2011
Posts: 4

edwardmaccarthy wrote:
edwardmaccarthy wrote:
I am getting the same error on Windows XP, running MyEclipse 9. Is there a solution yet?

MyEclipse Enterprise Workbench

Version: 9.0
Build id: 9.0-20110318
When I tried to close the file that I had half created, I got an error message in a dialog box:
"Error saving: null"
Full text of the error message is:
"A problem occurred while saving: "null".
Your file might be corrupted.
Please file a bug report at www.myeclipseide.com
 
 View user's profile Send private message  
Reply with quote Back to top
edwardmaccarthy
Post subject: Re: RE: Getting same error  PostPosted: May 16, 2011 - 09:30 PM



Joined: May 16, 2011
Posts: 4

edwardmaccarthy wrote:
edwardmaccarthy wrote:
edwardmaccarthy wrote:
I am getting the same error on Windows XP, running MyEclipse 9. Is there a solution yet?

MyEclipse Enterprise Workbench

Version: 9.0
Build id: 9.0-20110318
When I tried to close the file that I had half created, I got an error message in a dialog box:
"Error saving: null"
Full text of the error message is:
A problem occurred while saving: "null".
Your file might be corrupted.
Please file a bug report at www.myeclipseide.com


Funny, it works after a restart of MyEclipse. Please let me know if there is a fix available.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject: RE: Re: RE: Getting same error  PostPosted: May 17, 2011 - 04:42 AM



Joined: Nov 11, 2010
Posts: 2491

edwardmaccarthy,

Sorry that you ran into this issue.

1) Can you give detail steps right from creating a java class to the point where you got the null pointer exception for me to be able to replicate it at my end ?

2) Clear the contents of the .log file which is located at <workspace dir>/.metadata/.log. Replicate the issue and copy paste the errors logged in the .log file here.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits