[OS-JIRA] Created: (WOL-474) Entity Modeler cascade delete relationships (for inheritance)

From: Lachlan Deck (JIRA) ("Lachlan)
Date: Tue Jun 05 2007 - 04:44:54 EDT

  • Next message: George Domurot: "Error Message"

    Entity Modeler cascade delete relationships (for inheritance)
    -------------------------------------------------------------

                     Key: WOL-474
                     URL: http://issues.objectstyle.org/jira/browse/WOL-474
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: 2.0.0.* (unreleased please specify)
             Environment: 2.0.0.4043
                Reporter: Lachlan Deck

    Haven't updated for a little while so this may have been fixed. But I just went to delete a relationship in a parent entity and got the following.

    java.lang.RuntimeException: Failed to delete.
            at org.objectstyle.wolips.eomodeler.actions.DeleteAction.run(Unknown Source)
            at org.objectstyle.wolips.eomodeler.actions.DeleteAction.runWithEvent(Unknown Source)
            at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:229)
            at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
            at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461)
            at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424)
            at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160)
            at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466)
            at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799)
            at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846)
            at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:76)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
            at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1557)
            at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1552)
            at org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(Control.java:1820)
            at org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(Composite.java:583)
            at org.eclipse.swt.widgets.Table.kEventUnicodeKeyPressed(Table.java:2190)
            at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:1812)
            at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:2000)
            at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3838)
            at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2910)
            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(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            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)
    Caused by: org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred
            at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:517)
            ... 43 more
    Caused by: java.lang.NullPointerException
            at org.objectstyle.wolips.eomodeler.core.model.EORelationship._removeFromModelParent(Unknown Source)
            at org.objectstyle.wolips.eomodeler.actions.DeleteOperation.execute(Unknown Source)
            at org.objectstyle.wolips.eomodeler.actions.SimpleCompositeOperation.execute(Unknown Source)
            at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:509)
            ... 43 more

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Tue Jun 05 2007 - 04:46:06 EDT