- This topic has 5 replies, 2 voices, and was last updated 14 years, 5 months ago by Ram.
-
AuthorPosts
-
Bryan CantuMemberI am attempting to reverse engineer UML2 Sequence Diagrams from java code.
The dialog “UML2 Sequence Diagram” is displayed and its possible to enter a UML2 model name and the Destination. Which I have.The button is presses and “remains down” for about 20 sec and then appears in the “raised” position… So something is being processed but no diagram or message appears.
The company I am working for were hoping the reverse engineering of Sequence Diagrams would be an effective and useful tool but this problem has raised serious questions, unfortunately.
I did try closing MyEclipse and trying the process more than once which is visible in the logs. The log file I has the following:
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.jface 2 0 2010-06-25 15:11:29.985
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-06-25 15:11:29.985
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@38e9e9,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.629
!MESSAGE NLS unused message: UMLPlugin.requires_jre_linux_1_5_0 in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.629
!MESSAGE NLS unused message: UMLUtil_dialog_deleteWarning2_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.629
!MESSAGE NLS unused message: UMLPlugin.dialog_rename_warning_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLEditor_dialog_read_only_file_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLPlugin.requires_jre_windows_1_4_2 in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLEditor_dialog_invalid_input_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLPlugin.dialog_rename_warning_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLEditor_dialog_incompatible_os_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLEditor_dialog_invalid_input_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: UMLPlugin_error_invalid_os in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: NewUML2ModelWizard_dialog_error_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: NewUML2ModelWizard_dialog_error_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: NewDiagramAction.item_new_use_case_diagram in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: NewDiagramAction.item_new_sequence_diagram in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:13:17.644
!MESSAGE NLS unused message: NewDiagramAction.new_collaboration_diagram in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.maven.ide.eclipse 4 0 2010-06-25 15:13:22.472
!MESSAGE Unable to update index for central|http://repo1.maven.org/maven2
!STACK 0
java.io.IOException: Transfer for nexus-maven-repository-index.properties failed; Transfer error: Connection timed out: no further information
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$WagonFetcher.retrieve(DefaultIndexUpdater.java:693)
at org.sonatype.nexus.index.updater.AbstractResourceFetcher.retrieve(AbstractResourceFetcher.java:22)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:493)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$100(DefaultIndexUpdater.java:74)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:780)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:954)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:138)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1060)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1013)
at org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:624)
at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:13:35.520
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:15:11.943
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:15:44.694
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:16:25.617
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:20:31.762
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:20:43.403
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:20:56.684
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:261)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.evaluateIfTreeEmpty(ElementTreeSelectionDialog.java:375)
at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.open(ElementTreeSelectionDialog.java:219)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3.widgetSelected(Java2SequenceDiagramWizardPage.java:279)
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:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:21:03.309
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:261)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3$1.select(Java2SequenceDiagramWizardPage.java:266)
at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.evaluateIfTreeEmpty(ElementTreeSelectionDialog.java:375)
at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.open(ElementTreeSelectionDialog.java:219)
at com.genuitec.eclipse.uml2.ui.wizards.pages.Java2SequenceDiagramWizardPage$3.widgetSelected(Java2SequenceDiagramWizardPage.java:279)
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:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)!ENTRY org.eclipse.ui 4 0 2010-06-25 15:21:44.201
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ThrowStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)
!SESSION 2010-06-25 15:22:30.827 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.jface 2 0 2010-06-25 15:22:50.296
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-06-25 15:22:50.296
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@11396ec,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY org.maven.ide.eclipse 4 0 2010-06-25 15:23:23.734
!MESSAGE Unable to update index for central|http://repo1.maven.org/maven2
!STACK 0
java.io.IOException: Transfer for nexus-maven-repository-index.properties failed; Transfer error: Connection timed out: no further information
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$WagonFetcher.retrieve(DefaultIndexUpdater.java:693)
at org.sonatype.nexus.index.updater.AbstractResourceFetcher.retrieve(AbstractResourceFetcher.java:22)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:493)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$100(DefaultIndexUpdater.java:74)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:780)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:954)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:138)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1060)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1013)
at org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:624)
at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLPlugin.requires_jre_linux_1_5_0 in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLUtil_dialog_deleteWarning2_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLPlugin.dialog_rename_warning_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLEditor_dialog_read_only_file_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLPlugin.requires_jre_windows_1_4_2 in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLEditor_dialog_invalid_input_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLPlugin.dialog_rename_warning_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLEditor_dialog_incompatible_os_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLEditor_dialog_invalid_input_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: UMLPlugin_error_invalid_os in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: NewUML2ModelWizard_dialog_error_title in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: NewUML2ModelWizard_dialog_error_message in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: NewDiagramAction.item_new_use_case_diagram in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: NewDiagramAction.item_new_sequence_diagram in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.osgi 2 1 2010-06-25 15:24:31.813
!MESSAGE NLS unused message: NewDiagramAction.new_collaboration_diagram in: com.genuitec.eclipse.uml2.ui.messages!ENTRY org.eclipse.ui 4 0 2010-06-25 15:24:48.407
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doIfStatement(StatementSwitch.java:291)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:80)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doBlockStatement(StatementSwitch.java:282)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.doTryStatement(StatementSwitch.java:219)
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.switchStatement(StatementSwitch.java:96)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convertMethodDeclaration(ModelConvertor.java:172)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.access$2(ModelConvertor.java:165)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor$1.visit(ModelConvertor.java:122)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:487)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.visitAST(ModelConvertor.java:110)
at com.genuitec.eclipse.uml2.reverse.seqeunce.ModelConvertor.convert(ModelConvertor.java:72)
at com.genuitec.eclipse.uml2.reverse.seqeunce.Java2SequenceDiagramConvertor.createSequenceDiargam(Java2SequenceDiagramConvertor.java:72)
at com.genuitec.eclipse.uml2.ui.wizards.Java2SequenceDiagramWizard.performFinish(Java2SequenceDiagramWizard.java:66)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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)
RamMemberb.cantu,
I am unable to replicate the issue When tried with simple class at my end.
Can you give me some information to investigate the error.
1) What version of MyEclipse are you using?
2) Can you copy and paste your installation details. You can get them from – MyEclipse > Installation Summary > Installation Details
3) Can you share a sample project which replicates this issue.You can send a mail to support@genuitec.com. Please add ATTN:RAM in the subject and refer to this thread.
Bryan CantuMemberI have located the problem that has caused us all here to question the maturity of the MyEclipse UML modelling tool and if My Eclipse and the UML modelling tools should be used.
The problem causing the problem comes down to the source code that is being parsed and the sequence diagram generated. The offending code is a simple if that hasn’t the brackets ‘{‘ and ‘}’ used to encapsulate the case in the if clause.eg The following will cause the exception:
java.lang.ClassCastException: org.eclipse.jdt.core.dom.ExpressionStatement cannot be cast to org.eclipse.jdt.core.dom.Block
at com.genuitec.eclipse.uml2.reverse.seqeunce.StatementSwitch.createFragmentForLoop(StatementSwitch.java:404)will be thrown if the following code is encountered:
if (1==2) x = ""; else { x = ""; }
using the following will correct the problem:
if (1==2) { x = ""; } else { x = ""; }
The company I am providing consultancy services for needs to know, if other such simple problems with generating UML sequence diagrams from old JAVA source code is likely to occur.
If they make a substantial investment in using MyEclipse to generate a large number of sequence diagrams from code that is rather old. Then they need to understand how large the risk is, that the code used to generate sequence diagrams will or will not work. The problem indicated above is a rather simple issue and the belief here is that this UML tool hasn’t been used in any considerable way in large projects to generate sequence diagrams from source code. Is this the case?
RamMemberb.cantu,
Thank you for bringing this to our notice. I am able to reproduce the same at my end. I have filed a PR for the dev team.
Bryan CantuMemberMany Thanks,
Hopefully the issue can be identified soon so that the company that would like to adopt the UML tools in MyEclipse, could reconsider it for use.
RamMemberb.cantu,
Thank you for your feedback. I have escalated this issue to the dev team. Sorry for the inconvenience. -
AuthorPosts