Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-823

NPE during "undo" action on view creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.4
    • 7.2
    • Editors, Modeling
    • None

    Description

      I created a view, which had bad transformation, I edited it, then I hit ctrl-Z couple times, it went back "undo" of the view table itself, and showed the below error. When I selected "redo" view came back fine. It may be hard to reproduce. Also, the refresh action during the "redo" is not complete, it shows un-refreshed screen.

      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
      at org.eclipse.swt.SWT.error(SWT.java:4083)
      at org.eclipse.swt.SWT.error(SWT.java:3998)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      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:369)
      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:619)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
      Caused by: java.lang.NullPointerException
      at com.metamatrix.modeler.internal.ui.editors.ModelObjectEditorPanel.deactivate(ModelObjectEditorPanel.java:343)
      at com.metamatrix.modeler.internal.ui.editors.ModelObjectEditorPanel.close(ModelObjectEditorPanel.java:323)
      at com.metamatrix.modeler.internal.ui.editors.MultiPageModelEditor.closeObjectEditor(MultiPageModelEditor.java:409)
      at com.metamatrix.modeler.internal.ui.editors.ModelEditor$8.run(ModelEditor.java:1173)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

      Attachments

        Activity

          People

            blafond Barry LaFond
            rhn-engineering-rareddy Ramesh Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: