Project

General

Profile

Actions

Bug #3158

closed

Не перетаскиваются узлы в UniEditor

Added by Viktoria Kopach almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
07/03/2012
Due date:
% Done:

0%

Estimated time:
Detected in build:
0.13.163
Platform:
Windows x64
Published in build:
0.13.164

Description

Никакие узлы не получается перетаскивать в UniEditor. Ни требования, ни тестовые ситуации, ни комментарии.
Их даже не получается захватить. Значок захвата объекта получается только при наведении на поле статуса. И после захвата за курсором тянется именно это поле, а не сам объект.
Естественно, никуда вставить это нельзя.


Related issues 1 (0 open1 closed)

Related to Requality - Bug #3153: При перемещении узлов в Requality Explorer случились ошибкиClosedAlexey Khoroshilov07/02/2012

Actions
Actions #1

Updated by Viktoria Kopach almost 12 years ago

Так, поняла. Нужно выделять требование перед перетаскиванием. Тогда все ок.
Но тестовые ситуации и комментарии по-прежнему не перетаскиваются.

Actions #2

Updated by Alexey Khoroshilov almost 12 years ago

У меня перетаскивало, но после десятка перетаскиваний - перестало. В логе обнаружил такое исключение (не знаю имеет ли оно к этому отношение):

null
Error
Tue Jul 03 17:45:24 CEST 2012
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

java.lang.ClassCastException: com.unitesk.requality.core.transaction.TransactionStorage cannot be cast to com.unitesk.requality.eclipse.core.ResourceStorage
    at com.unitesk.requality.eclipse.core.TreesTracker.stopTracking(TreesTracker.java:210)
    at com.unitesk.requality.eclipse.Activator$1.resourceChanged(Activator.java:324)
    at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:249)
    at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:390)
    at org.eclipse.core.internal.resources.Project.close(Project.java:199)
    at org.eclipse.ui.actions.CloseResourceAction.invokeOperation(CloseResourceAction.java:129)
    at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:164)
    at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:485)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Actions #3

Updated by Alexey Khoroshilov almost 12 years ago

Помогло только перезапустить eclipse. Открытие-закрытие проекта не спаcло.

Actions #4

Updated by Alexey Khoroshilov almost 12 years ago

Если подольше попереносить - воспроизводится. Теперь когда проявилось - никаких exceptions ни в логе, ни в терминале. Но при попытке перенести требование в Requality Explorer:

eclipse.buildId=M20120208-0800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.linuxtools.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.linuxtools.product

Error
Tue Jul 03 17:56:15 CEST 2012
transaction "Move Node"is started

java.lang.IllegalStateException: transaction "Move Node"is started
    at com.unitesk.requality.core.TreeDB.startTransaction(TreeDB.java:167)
    at com.unitesk.requality.eclipse.ui.cnf.CNFDropAssistant.handleDrop(CNFDropAssistant.java:142)
    at org.eclipse.ui.navigator.CommonDropAdapter$1.run(CommonDropAdapter.java:194)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.navigator.CommonDropAdapter.performDrop(CommonDropAdapter.java:184)
    at org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276)
    at org.eclipse.ui.part.PluginDropAdapter.drop(PluginDropAdapter.java:69)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
    at org.eclipse.swt.dnd.DropTarget.drag_data_received(DropTarget.java:371)
    at org.eclipse.swt.dnd.DropTarget.Drag_Data_Received(DropTarget.java:251)
    at org.eclipse.swt.internal.gtk.OS._gtk_drag_get_data(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_drag_get_data(OS.java:6693)
    at org.eclipse.swt.dnd.DropTarget.drag_drop(DropTarget.java:416)
    at org.eclipse.swt.dnd.DropTarget.Drag_Drop(DropTarget.java:258)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8422)
    at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2276)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    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:344)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Похоже предыдущая транзакция не закрылась?

Actions #5

Updated by Alexey Khoroshilov almost 12 years ago

  • Target version set to 0.13

Перетаскивать тестовые ситуации и комментарии пока ни к чему, а вот с незакрывающейся транзакцией надо разобраться.

Actions #6

Updated by Viktoria Kopach almost 12 years ago

Это не критично, конечно. Но смущает, что их можно перетаскивать в RE, а в UniEditor почему-то нельзя.

Actions #7

Updated by Yuriy Shekochihin almost 12 years ago

  • Status changed from New to Resolved

похоже исправлено в r2963

Actions #8

Updated by Yuriy Shekochihin almost 12 years ago

  • Published in build set to 0.13.164
Actions #9

Updated by Viktoria Kopach almost 12 years ago

  • Status changed from Resolved to Verified
  • Assignee set to Alexey Khoroshilov

Работает.
Ошибку, описанную Лешей, я не могу воспроизвести.
Тестовые ситуации переносятся.

Actions #10

Updated by Alexey Khoroshilov over 11 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF