Can no longer change the values of local variables


#1

Windows 10
Version: 5.9.0

When I try to change the value of a local variable in a test case the change does not appear. I then am unable to save getting the following error.

Steps to reproduce:
* open variables in test case
* try renaming the local variable --> observe that variable is not changed
* try saving the test case --> observe that you get the error above.

Capture.PNG


#2

Please read this post: https://forum.katalon.com/discussion/9337/tip-my-test-is-broken-nothing-works-please-help-me and provide more details first.

Thanks for your information.


#3

Hi Vinh Nguyen, please look again. I added more details to clarify.


#4

Can you help to provide Katalon Studio logs in this case as well?


#5

There are no logs since the issue is with trying to save changes to a working test case. Since the test case will not save I cannot run the test case,


#6

I just tried a fresh install of katalon and that seems to have fixed the issue for me. This may still be a problem for people who have updated their katalon without a fresh install. Thanks :slight_smile:


#7

Thanks for your information. We will double check again from our side regard to update installation.

Regards


#8

hi
i’ve got the same issue
W10
Katalon v5.9.1

unabled to change or create local variable for a test case…


#9

Can you help to provide Katalon Studio logs? You can access logs from Help -> Error Logs item


#10

here the log… i try to delete a local variable in a test case

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-12-11 08:51:57.036
!MESSAGE
!STACK 0
org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:496)
at com.kms.katalon.composer.components.operation.OperationExecutor.executeOperation(OperationExecutor.java:44)
at com.kms.katalon.composer.parts.CPart.executeOperation(CPart.java:181)
at com.kms.katalon.composer.parts.CPart.executeOperation(CPart.java:185)
at com.kms.katalon.composer.parts.CPart.executeOperation(CPart.java:189)
at com.kms.katalon.composer.testcase.parts.TestCaseVariablePart.removeVariables(TestCaseVariablePart.java:437)
at com.kms.katalon.composer.testcase.parts.TestCaseVariablePart.access$1(TestCaseVariablePart.java:436)
at com.kms.katalon.composer.testcase.parts.TestCaseVariablePart$2.widgetSelected(TestCaseVariablePart.java:152)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
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 com.kms.katalon.core.application.Application.internalRunGUI(Application.java:120)
at com.kms.katalon.core.application.Application.runGUI(Application.java:105)
at com.kms.katalon.core.application.Application.start(Application.java:63)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:32)
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.kms.katalon.composer.testcase.parts.TestCaseVariablePart.setDirty(TestCaseVariablePart.java:454)
at com.kms.katalon.composer.testcase.ast.variable.operations.DeleteVariableOperation.execute(DeleteVariableOperation.java:79)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:488)
… 37 more


#11

Observed this issue for a second time with the new update