An internal error occurred during: "Requesting Java AST from selection"

Hi Team,

Whenever i opened Katalon Studio I am getting this error " An internal error occurred during: “Requesting Java AST from selection”.
Unable to load class org.codehaus.groovy.runtime.DefaultGroovyMethods due to missing dependency groovy/lang/Closure"

1 Like

Which version of Java are you using?

java version “21.0.2”

Hi, I’ve the same problem. Can we reopen this topic?

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Can we see your Error Log? main menu Help > Error Log.

Please check below mentioned screenshot for reference.

Can you display the full Error Log instead of the snapshot? Copy and paste your Error Log into the forum instead of Notepad. But the error message you have indicates you are missing “dependency”. Maybe @kazurayam knows something about this.

I’m having same issue here. Any solution for this error?

Let’s see your error log. From the main menu, can you select Help > Error Log?

The “solution” is often listed within the log.

hi Team,

error log attached.

!SESSION 2024-08-05 12:06:59.711 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.7
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=aarch64, WS=cocoa, NL=en_IN
Framework arguments: -keyring /Users/nidhipriya/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch aarch64 -data @noDefault -keyring /Users/nidhipriya/.eclipse_keyring

!ENTRY org.eclipse.e4.ui.workbench 4 0 2024-08-05 12:07:05.835
!MESSAGE Fragment from platform:/plugin/com.kms.katalon.composer.webservice of com.kms.katalon.composer.webservice could not be validated and was not merged: org.eclipse.e4.ui.model.fragment.impl.StringModelFragmentImpl@6bdad3bb (featurename: handlers, parentElementId: com.kms.katalon.composer.application, positionInList: null)

!ENTRY org.eclipse.e4.ui.workbench 4 0 2024-08-05 12:07:05.850
!MESSAGE Fragment from platform:/plugin/com.kms.katalon.composer.webservice of com.kms.katalon.composer.webservice could not be validated and was not merged: org.eclipse.e4.ui.model.fragment.impl.StringModelFragmentImpl@178ebac3 (featurename: children, parentElementId: com.kms.katalon.menu.action, positionInList: index:0)

!ENTRY org.eclipse.e4.ui.model.workbench 2 0 2024-08-05 12:07:05.852
!MESSAGE Position ‘5’ defined in ‘com.kms.katalon.menu.tools’ is no not a valid list position. Valid list positions are [last, first, before:, after:, index:]

!ENTRY org.eclipse.e4.ui.model.workbench 2 0 2024-08-05 12:07:05.854
!MESSAGE Could not find element with Id ‘katalon.composer.objectrepository.handledmenuitem.spyweb’ in ‘com.kms.katalon.menu.spy’

!ENTRY org.eclipse.e4.ui.model.workbench 2 0 2024-08-05 12:07:05.855
!MESSAGE Could not find element with Id ‘com.kms.katalon.composer.integration.testcloud.handledtoolitem.katalonTestCloud’ in ‘com.kms.katalon.composer.toolbar.execution’

!ENTRY org.eclipse.e4.ui.model.workbench 2 0 2024-08-05 12:07:05.860
!MESSAGE Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’ in ‘com.kms.katalon.composer.execution.menu.debug’

!ENTRY org.eclipse.e4.ui.model.workbench 2 0 2024-08-05 12:07:05.860
!MESSAGE Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’ in ‘com.kms.katalon.composer.execution.menu.debug’

!ENTRY org.eclipse.e4.ui.workbench 2 0 2024-08-05 12:07:05.869
!MESSAGE No binding context exists for org.eclipse.ui.contexts.dialog

!ENTRY org.eclipse.jface 2 0 2024-08-05 12:07:07.853
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2024-08-05 12:07:07.853
!MESSAGE A conflict occurred for COMMAND+X:
Binding(COMMAND+X,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
WorkbenchHandlerServiceHandler(“org.eclipse.ui.edit.cut”),
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,system)
Binding(COMMAND+X,
ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.cut,Explorer Cut Command,
,
Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
WorkbenchHandlerServiceHandler(“com.kms.katalon.composer.explorer.command.cut”),
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow ,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2024-08-05 12:07:07.853
!MESSAGE A conflict occurred for DEL:
Binding(DEL,
ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.delete,Explorer Delete Command,
,
Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
WorkbenchHandlerServiceHandler(“com.kms.katalon.composer.explorer.command.delete”),
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow ,system)
Binding(DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.delete,Delete,
Delete the selection,
Category(org.eclipse.ui.category.edit,Edit,null,true),