Actions
Bug #11307
openОшибка при добавлении теста к узлу
Status:
Verified
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/19/2022
Due date:
% Done:
100%
Estimated time:
Detected in build:
1.3.692
Platform:
Windows x64
Published in build:
1.3.693
Description
1. На требовании или тестовой ситуации (test purpose) вызываем контекстное меню и выбираем New -> Test.
2. В открывшемся диалоговом окне выбираем любой из трех вариантов (Add existing TTCN-test, New Test Step, New TTCN Test) и нажимаем ОК.
При этом ничего не происходит, помимо появления в Error log сообщения об ошибке:
eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_265 java.vendor=AdoptOpenJDK BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU Framework arguments: -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective Command-line arguments: -os win32 -ws win32 -arch x86 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective -data D:\Work\Eclipse Workspaces\workspace38 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective org.eclipse.ui Error Wed Jan 19 16:58:25 MSK 2022 Unhandled event loop exception org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4533) at org.eclipse.swt.SWT.error(SWT.java:4448) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) Caused by: java.lang.NullPointerException at com.unitesk.requality.tests.TestDialogProvider$3.run(TestDialogProvider.java:172) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162) at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) ... 23 more
В случае выбора New Test Step в Error log появляется еще одно сообщение и открывается окно с сообщением об ошибке:
eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_265 java.vendor=AdoptOpenJDK BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU Framework arguments: -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective Command-line arguments: -os win32 -ws win32 -arch x86 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective -data D:\Work\Eclipse Workspaces\workspace38 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective org.eclipse.core.jobs Error Wed Jan 19 16:58:25 MSK 2022 An internal error occurred during: "Create test for 002/002_T001". java.lang.NullPointerException at com.unitesk.requality.tests.TestDialogProvider.openWizard(TestDialogProvider.java:182) at com.unitesk.requality.tests.TestDialogProvider.openWizard(TestDialogProvider.java:159) at com.unitesk.testdb.testgenerators.TestStepGenerator.generateTest(TestStepGenerator.java:14) at com.unitesk.requality.tests.TestDialogProvider$2.runInWorkspace(TestDialogProvider.java:110) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Actions