Katalon Integration not working

_Hi Experts,
_
When i try to connect with katalon analytics, i get an error " Cannot Request a Token from Katalon analytics server"

Can someone please suggest on how to resolve it ?

Thanks!

integration.jpg

Hi uma aggarwal
Please double check again your company’s security policy to see maybe if it blocks our connection.

I have installed Katalon Studio on two machines. One is 32 bit and second is 64 bit. On 64 bit machine above integration is working fine. But on 32 bit I am getting above same error.

@Vy Ta
Can you please let us know how check company’s security policy and steps to know connection is blocked?

If you have two machines 32 bit and 64 bit, make sure that your Katalon version suit with these options like the below picture (from Katalon Studio Free Download | Katalon).

I don’t know exactly how to check.company’s security policy because it depends on each company. Just guess if you have some company’s security policy like: https://www.annese.com/blog/how-to-create-your-it-security-policy

image.png

@Vy Ta
Yes, I have downloaded correct specific 32 bit and 64 bit instance on each machine.

Basically, I would like to know is it blocked on browser level or firewall or network level? Then only I can ask my company to unblock specific level… So looking for help to find out level?

Thanks

Hmmm I think you should check as all as you can. :smiley:

By the way, looking for useful solution from another experts. Sorry I can’t help you in this case. :frowning:

Hi All,
I am facing the same problem as the user. I looked in /Contents/Eclipse/configuration/resources/update/5.7.0/extract/contents/MacOS/config/.metadata/.plugins/org.eclipse.ui.workbench/log in Katalon Application (MacOS) and it had nothing useful. However, About Katalon Studio -> Katalon Studio Installation Details -> Configuration -> View Error Log shows the following error. This seems to be a problem with the Katalon Studio Application itself and not a problem with the Proxy (I don’t have any proxies on my MacOS, nor have I any configured).

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-09-18 12:24:03.913!MESSAGE !STACK 0java.lang.reflect.InvocationTargetException	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.getToken(AnalyticsApiProvider.java:235)	at com.kms.katalon.composer.integration.analytics.preferences.AnalyticsPreferencesPage$2.widgetSelected(AnalyticsPreferencesPage.java:459)	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:4256)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)	at org.eclipse.jface.window.Window.open(Window.java:794)	at com.kms.katalon.composer.project.handlers.SettingHandler.execute(SettingHandler.java:167)	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)	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)Caused by: com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception: Cannot request a token from Katalon Analytics server	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.requestToken(AnalyticsApiProvider.java:105)	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.getToken(AnalyticsApiProvider.java:232)	... 59 more	[CIRCULAR REFERENCE:com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception: Cannot request a token from Katalon Analytics server]Root exception:com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception: Cannot request a token from Katalon Analytics server	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.requestToken(AnalyticsApiProvider.java:105)	at com.kms.katalon.integration.analytics.providers.AnalyticsApiProvider.getToken(AnalyticsApiProvider.java:232)	at com.kms.katalon.composer.integration.analytics.preferences.AnalyticsPreferencesPage$2.widgetSelected(AnalyticsPreferencesPage.java:459)	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:4256)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)	at org.eclipse.jface.window.Window.open(Window.java:794)	at com.kms.katalon.composer.project.handlers.SettingHandler.execute(SettingHandler.java:167)	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)	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) 

[CIRCULAR REFERENCE:com.kms.katalon.integration.analytics.exceptions.AnalyticsApiExeception: Cannot request a token from Katalon Analytics server]

2 Likes

Hi All,
When I run test Suites on katalon, that will be error.Please view the error message

Sep 28, 2018 10:02:20 AM java.util.prefs.WindowsPreferences

WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.

java.lang.reflect.InvocationTargetException

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.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)

at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)

Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.SAXParserFactory cannot be created

at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:311)

at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)

at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)

at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:160)

at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:150)

at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:417)

at org.apache.ivy.core.settings.IvySettings$load.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

at groovy.grape.GrapeIvy.(GrapeIvy.groovy:99)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at java.lang.Class.newInstance(Class.java:442)

at groovy.grape.Grape.getInstance(Grape.java:121)

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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1852)

at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3735)

at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:51)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)

at groovy.ui.ConsoleIvyPlugin.addListener(ConsoleIvyPlugin.groovy:44)

at groovy.ui.ConsoleIvyPlugin$addListener.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

at groovy.ui.Console.(Console.groovy:242)

at groovy.ui.Console.(Console.groovy:224)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)

at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)

at groovy.ui.Console.main(Console.groovy:209)

… 6 more

Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.SAXParserFactory cannot be created

at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:308)

… 49 more

Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.SAXParserFactory: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not a subtype

at java.util.ServiceLoader.fail(ServiceLoader.java:239)

at java.util.ServiceLoader.access$300(ServiceLoader.java:185)

at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)

at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)

at java.util.ServiceLoader$1.next(ServiceLoader.java:480)

at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294)

at java.security.AccessController.doPrivileged(Native Method)

at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)

… 49 more

so that ,I can’t use katalon to test,could you please help me fix this issue?Thanks

I fix it.
Its reason : Insufficient computer user rights
solution :
1.open Registry Editor ->Permission for JavaSoft
2.select current user,check “Full Control” and “Read” Allow box on permissions for users

1 Like

The permissions have been set, but it seems that the error is still reported