facebook

sequence diagram is not generating properly

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #321349 Reply

    deelip
    Member

    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

    Attachments:
    You must be logged in to view attached files.
    #321366 Reply

    support-swapna
    Moderator

    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@genuitec.com subject ATTN : Swapna mentioning the link to this thread for us to help investigate the issue.

    #321452 Reply

    deelip
    Member

    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)

    Attachments:
    You must be logged in to view attached files.
    #321525 Reply

    support-tony
    Keymaster

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: sequence diagram is not generating properly

You must be logged in to post in the forum log in