Topic
  • 4 replies
  • Latest Post - ‏2012-07-04T08:06:03Z by reital
R6BN_Robert_Wright
R6BN_Robert_Wright
13 Posts

Pinned topic IDA 8.1.0 - Copy/Paste Logical Diagram Fails

‏2012-07-04T00:42:32Z |
Hi

This is an interesting issue because I can get around it by dragging and dropping the diagram but if I use Logical diagram copy/paste it doesn't work.

With trace on, I get the following error

eclipse.buildId=unknown

java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr10-20111207_96808 (JIT enabled, AOT enabled)

J9VM - 20111207_096808

JIT - r9_20111107_21307ifx1

GC - 20110519_AA

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NZ

Framework arguments: -product com.ibm.rational.data.architect.product.ide

Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.rational.data.architect.product.ide

Error

Wed Jul 04 11:59:13 NZST 2012

Unhandled event loop exception

java.lang.NullPointerException

at com.ibm.datatools.project.ui.ldm.internal.extensions.explorer.popup.edit.SQLObjectPasteAction.isDiagramCrossModelReference(Unknown Source)

at com.ibm.datatools.project.ui.ldm.internal.extensions.explorer.popup.edit.SQLObjectPasteAction.isPasteCrossModelReference(Unknown Source)

at com.ibm.datatools.project.ui.internal.extensions.explorer.popup.edit.AbstractSQLObjectPasteAction.checkForCrossModelReferences(Unknown Source)

at com.ibm.datatools.project.ui.ldm.internal.extensions.explorer.popup.edit.SQLObjectPasteAction.run(Unknown Source)

at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(Unknown Source)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)

at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)

at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)

at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)

at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)

at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)

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.equinox.launcher.Main.invokeFramework(Unknown Source)

at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)

at org.eclipse.equinox.launcher.Main.run(Unknown Source)

at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Updated on 2012-07-04T08:06:03Z at 2012-07-04T08:06:03Z by reital
  • reital
    reital
    58 Posts

    Re: IDA 8.1.0 - Copy/Paste Logical Diagram Fails

    ‏2012-07-04T01:31:30Z  
    Hi Rob.

    Could you let me know the steps you followed when met this problem, Are you doing the copy/paste for entities from one diagram to another inner the LDM model or using other steps . I can look into it with the steps you provided . Thanks .

    • Tao
  • R6BN_Robert_Wright
    R6BN_Robert_Wright
    13 Posts

    Re: IDA 8.1.0 - Copy/Paste Logical Diagram Fails

    ‏2012-07-04T05:32:02Z  
    • reital
    • ‏2012-07-04T01:31:30Z
    Hi Rob.

    Could you let me know the steps you followed when met this problem, Are you doing the copy/paste for entities from one diagram to another inner the LDM model or using other steps . I can look into it with the steps you provided . Thanks .

    • Tao
    Hi Tao

    I am copying a complete diagram as follows.

    1. Failing way

    Right click diagram in Project Explorer and select copy
    Right click Diagrams folder or Package you want a copy in and select paste.

    The unhandled event loop error above is shown in the Event Log

    2. Successful way

    Left click (right handed mouse) a diagram while selecting the <ctrl> key and drag the diagram to the Diagrams folder or Package you want a copy in.

    HTH
    Rob
  • reital
    reital
    58 Posts

    Re: IDA 8.1.0 - Copy/Paste Logical Diagram Fails

    ‏2012-07-04T06:14:55Z  
    Hi Tao

    I am copying a complete diagram as follows.

    1. Failing way

    Right click diagram in Project Explorer and select copy
    Right click Diagrams folder or Package you want a copy in and select paste.

    The unhandled event loop error above is shown in the Event Log

    2. Successful way

    Left click (right handed mouse) a diagram while selecting the <ctrl> key and drag the diagram to the Diagrams folder or Package you want a copy in.

    HTH
    Rob
    Hello Rob.

    Sorry, but I can not reproduce, I can copy logical diagram in both way in a model which is most complicated I have . Is the trace you posted are all what you have ?
    Since this is a NPE alone with the unhandled loop exception and also I could not reproduce. I check the method which report NPE , the chance it may reports NPE is the selection is lost , and this is possible caused by unhandled loop exception . There may have a possibility that the eclipse / workspace is mess cause the SWT widget messing then cause this ULE, could you try switch a new workspace whether can still encount this problem ?

    Thanks .
    Tao
  • reital
    reital
    58 Posts

    Re: IDA 8.1.0 - Copy/Paste Logical Diagram Fails

    ‏2012-07-04T08:06:03Z  
    • reital
    • ‏2012-07-04T06:14:55Z
    Hello Rob.

    Sorry, but I can not reproduce, I can copy logical diagram in both way in a model which is most complicated I have . Is the trace you posted are all what you have ?
    Since this is a NPE alone with the unhandled loop exception and also I could not reproduce. I check the method which report NPE , the chance it may reports NPE is the selection is lost , and this is possible caused by unhandled loop exception . There may have a possibility that the eclipse / workspace is mess cause the SWT widget messing then cause this ULE, could you try switch a new workspace whether can still encount this problem ?

    Thanks .
    Tao
    Hi Rob.

    As we talked through ST, the problem solved by an eclipse restart, so this is a problem which eclipse is mess. Here is a mark for the steps , switch into an new workspace - try copy failed (the failed maybe caused by missing steps) but when switch back to old workspace again both copy diagram and Drag diagram works well.

    Thanks .
    • Tao