Initial set up of katalon - error with eclipse

Katalon Apprentice

1 minutes ago

Initial set up of Katalon - hit the error message about eclipse environment

Please help - who already using katalon - how to install properly. IT IS URGENT QUESTION!!!

1. I have downloaded the latest version of Katalon_Studio_Windows_64-5.7.1
2. When I clicked on Katalon.exe file to run first time, I’ve got the error message from oracle

The details about configuration problem (I believe it is about environment set up for the eclipse, included in katalon bundle set up file). Please HELP !! Maybe I need to set Environmental Variable path in the Advanced System settings? Maybe Eclipse better to install separately?
I really need to start using Katalon soon!!!

!SESSION 2018-10-07 19:04:33.249 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_181

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Command-line arguments: -os win32 -ws win32 -arch x86_64 -data config

!ENTRY org.eclipse.osgi 4 0 2018-10-07 19:04:34.259

!MESSAGE Application error

!STACK 1

java.lang.IllegalStateException: The platform metadata area could not be written: C:\Program Files\Katalon\Katalon_Studio_Windows_64-5.7.1\config\.metadata. By default the platform writes its content

under the current working directory when the platform is launched. Use the -data parameter to

specify a different content area for the platform.

at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:61)

at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:129)

at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44)

at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:209)

at org.eclipse.core.internal.preferences.InstancePreferences.(InstancePreferences.java:59)

at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:220)

at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:352)

at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:340)

at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:391)

at org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:60)

at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:95)

at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:84)

at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)

at org.eclipse.core.runtime.preferences.InstanceScope.getNode(InstanceScope.java:77)

at com.kms.katalon.preferences.internal.ScopedPreferenceStore.getStorePreferences(ScopedPreferenceStore.java:216)

at com.kms.katalon.preferences.internal.ScopedPreferenceStore.(ScopedPreferenceStore.java:117)

at com.kms.katalon.preferences.internal.PreferenceStoreManager.initialPreferenceStore(PreferenceStoreManager.java:25)

at com.kms.katalon.preferences.internal.PreferenceStoreManager.getPreferenceStore(PreferenceStoreManager.java:21)

at com.kms.katalon.preferences.internal.PreferenceStoreManager.getPreferenceStore(PreferenceStoreManager.java:14)

at com.kms.katalon.util.ApplicationSession.getStore(ApplicationSession.java:51)

at com.kms.katalon.util.ApplicationSession.clean(ApplicationSession.java:17)

at com.kms.katalon.core.application.Application.preRunInit(Application.java:80)

at com.kms.katalon.core.application.Application.start(Application.java:49)

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)

looks like Katalon does not have right to write to C:\Program Files\Katalon\Katalon_Studio_Windows_64-5.7.1\config\.metadata
try to execute it as Administrator
(never seen such error before, so it’s just wild guess)

1 Like

We has such systems, where some OS hardening is active. Katalon is not able to start in such case.

Your user “Me” is not allowed to write into C:\Program Files\ nor its sub folders.

1. if you have admin rights add this user to the folder permission

2. or start it with administration rights (but this will lead to other problems in case you want to start the console mode in Jenkins later on)

3. or just locate the installation into you profile %userprofile%

4. or start Katlon with option -data %userprofile%\Katalon_Studio_Windows_64-5.7.1\config

2 Likes

Hi Patrick.
1. As admin I shared Program Files access with “Me” user, gave permissions in this access -
“Full control”, “Change”, “Read”. it did not help to open Katalon, got the same error message
2. Copied and installed “Katalon” package just for this User (in his folders) - Katalon is open and works !!
Thanks a lot for the help!!

1 Like

thanks, I fixed the problem through your way

How this can be solve in mac?