facebook

cannot forward engineer diagram

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

    santiagozky
    Member

    Hello. I am new with the UML editor and I am having problems generating the code from a diagram.

    I created a diagram with a few interfaces and some inheritance (7 classes and 2 interfaces). When I click “generate java” the IDE prompts me for the directory (project/src) and the classes I want to generate, but when I click finish and press ‘yes ‘ to save the changes nothing happens.

    What could I be doing wrong to get these results?

    the log says this:

     !ENTRY org.eclipse.ui 4 4 2009-01-28 15:55:25.605
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 2009-01-28 15:55:25.605
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
        at com.genuitec.eclipse.uml.wizard.NewUMLJavaCodeGenWarning$3.compare(NewUMLJavaCodeGenWarning.java:104)
        at java.util.TreeMap.compare(Unknown Source)
        at java.util.TreeMap.put(Unknown Source)
        at java.util.TreeSet.add(Unknown Source)
        at com.genuitec.eclipse.uml.wizard.NewUMLJavaCodeGenWarning$1.getChildren(NewUMLJavaCodeGenWarning.java:126)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1166)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:574)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:543)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1497)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1507)
        at org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:886)
        at org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:869)
        at org.eclipse.jface.viewers.AbstractTreeViewer.expandAll(AbstractTreeViewer.java:858)
        at com.genuitec.eclipse.uml.wizard.NewUMLJavaCodeGenWarning.createCustomArea(NewUMLJavaCodeGenWarning.java:216)
        at org.eclipse.jface.dialogs.MessageDialog.createDialogArea(MessageDialog.java:233)
        at org.eclipse.jface.dialogs.IconAndMessageDialog.createDialogAndButtonArea(IconAndMessageDialog.java:204)
        at org.eclipse.jface.dialogs.IconAndMessageDialog.createContents(IconAndMessageDialog.java:193)
        at org.eclipse.jface.window.Window.create(Window.java:426)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1124)
        at org.eclipse.jface.window.Window.open(Window.java:785)
        at com.genuitec.eclipse.uml.wizard.NewUMLJavaCodeGenWizard.performFinish(NewUMLJavaCodeGenWizard.java:170)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
        at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at com.genuitec.eclipse.uml.action.GenerateJavaActionDelegate.basicRun(GenerateJavaActionDelegate.java:49)
        at com.genuitec.eclipse.uml.action.GenerateJavaActionDelegate.run(GenerateJavaActionDelegate.java:37)
        at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:244)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        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.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
     

    thanks for your help

    #294099 Reply

    santiagozky
    Member

    forgot the installation details

      *** Date: 
    miércoles 28 de enero de 2009 04:10:36 PM CST
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA
    
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA
    
    
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.2.2.v20070208
    Build id: 20070208-1315
    
    
    Eclipse Platform
    
    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330
    
    
    Eclipse RCP
    
    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330
    
    
    Eclipse Java Development Tools
    
    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330
    
    
    Eclipse Project SDK
    
    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Archivos de programa\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    130_84
    -vm
    C:\Archivos de programa\MyEclipse 5.5.1 GA\jre\bin\javaw.exe
    
    
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: cannot forward engineer diagram

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