Error - unable to add test data to test suite

## OS Windows 10

## **Katalon Studio Version: **5.3.0

**## Katalon Studio logs:
**

Windows (\config\.metadata\.log):

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-30 16:03:32.065
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.kms.katalon.composer.testsuite.parts.TestSuiteCompositePart.getChildParts(TestSuiteCompositePart.java:238)
at com.kms.katalon.composer.testsuite.parts.TestSuiteCompositePart.checkDirty(TestSuiteCompositePart.java:268)
at com.kms.katalon.composer.testsuite.parts.TestSuitePart.setDirty(TestSuitePart.java:640)
at com.kms.katalon.composer.testsuite.parts.TestSuitePartTestCaseView.setDirty(TestSuitePartTestCaseView.java:587)
at com.kms.katalon.composer.testsuite.parts.TestSuitePartDataBindingView.setDirty(TestSuitePartDataBindingView.java:657)
at com.kms.katalon.composer.testsuite.listeners.TestDataToolItemListener.performAddTestDataLink(TestDataToolItemListener.java:184)
at com.kms.katalon.composer.testsuite.listeners.TestDataToolItemListener.toolItemSelected(TestDataToolItemListener.java:94)
at com.kms.katalon.composer.testsuite.listeners.TestDataToolItemListener.widgetSelected(TestDataToolItemListener.java:77)
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:115)
at com.kms.katalon.core.application.Application.runGUI(Application.java:100)
at com.kms.katalon.core.application.Application.start(Application.java:60)
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)

## Steps to reproduce -

Created a new test suite

Added a test case with two variables

Attempted to add test data - an internal data file already created and saved

## Expected Behavior -

Test data added to test suite

## Actual Behavior -

Error in below screenshot was displayed. Test data appeared to be added under Test Data, however, I am then unable to save the test suite even though the button is available. The error “java.lang.NullPointerException” appears if I try to add or edit anything else in the suite. I must close it, then reopen to find a blank suite.

image.png

In addition, it now seems I cannot actually save a test suite, regardless of the test data. Is there something wrong with my install?

Have you tried with the new project?

Hi Vinh, I just tried a new project and was unable to save a new test suite. I can create it and name it, but anything else I do to it (add cases, add test data) cannot be saved.
Thanks

I can report the same error. Nothing can be bound and nothing can be saved.
Plus, if I try to actually bind the Variables, I am greeted by the same NullPointerException that’s complained about above, every time I try to set a Data Column.

Joshua Lovejoy said:

Hi Vinh, I just tried a new project and was unable to save a new test suite. I can create it and name it, but anything else I do to it (add cases, add test data) cannot be saved.
Thanks

`Have you tried reinstalling Katalon Studio into a new folder completely from scratch? That did the trick for me.