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
deelip
Post subject: sequence diagram is not generating properly  PostPosted: Nov 23, 2011 - 06:41 PM



Joined: Nov 07, 2011
Posts: 4

Hi Team,
I am using MyEclipse 10 and i have generated sequence diagram from class by reviser engineering but it is not coming properly. Please see the attached file
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Nov 24, 2011 - 06:51 AM



Joined: Nov 11, 2010
Posts: 2499

deelip,

Sorry that you are seeing this issue. Thank you for the screenshots.

Can you answer some more questions for us to understand the issue better ?

1) Can you share your Build ID from Help > About MyEclipse Enterprise Edition > Build ID ? Also share your Operating System and version details.

2) Clear the contents of the .log file which is located at <workspace dir>/.metadata/.log , replicate the issue and check if there are any errors logged in the .log file. If yes then paste them here for us.

3) Can you share detail steps you are following right from project generation to reverse engineering it ? If possible can you replicate the issue with minimum files and send us the project to support@myeclipseide.com subject ATTN : Swapna mentioning the link to this thread for us to help investigate the issue.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
deelip
Post subject: sequence diagram is not generating properly  PostPosted: Nov 28, 2011 - 10:51 PM



Joined: Nov 07, 2011
Posts: 4

I am trying to crate sequence diagram from class and it is crating sequence diagram but it is not appearing properly and if and else conditions are missing and try catch is missing and some eroue marks are missing .

i think My-eclipse is not able to handle big and complex sequence ?
i have attached sequence diagram image

1. MyEclipse 10.0 Build id: 10.0-20111028 and my system operating system is Windows 7
2. steps to create sequence diagram.
right click on class and -> MyEclipse-> generate UML2 sequence diagram

.log file which is located at <workspace dir>/.metadata/.log


!ENTRY org.eclipse.ui 4 0 2011-11-28 14:47:37.849
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at com.genuitec.eclipse.uml2.reverse.seqeunce.helpers.SequenceDiagramLayout.doLayoutCombinedFragments(SequenceDiagramLayout.java:401)
at com.genuitec.eclipse.uml2.reverse.seqeunce.helpers.SequenceDiagramLayout.layout(SequenceDiagramLayout.java:70)
at com.genuitec.eclipse.uml2.reverse.seqeunce.DiagramConvertor.convertToDi(DiagramConvertor.java:160)
at com.genuitec.eclipse.uml2.reverse.seqeunce.DiagramConvertor.convert(DiagramConvertor.java:132)
at com.genuitec.eclipse.uml2.reverse.seqeunce.DiagramConvertor.convert(DiagramConvertor.java:117)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:80)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.genuitec.eclipse.uml2.ui.actions.Java2SequenceDiagramAction.run(Java2SequenceDiagramAction.java:47)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
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 com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Dec 02, 2011 - 03:52 AM



Joined: Mar 09, 2011
Posts: 919

deelip,

I could replicate the general problem, with a moderately complex class generating an unreadable sequence diagram. I've raised a bug for it. Unfortunately, at this time, I don't have a workaround for you other than building the sequence diagram by hand.

Apologies for the inconvenience.

_________________
Tony
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