When running test through docker, getting Error in import file

When I am running test through Docker, then one of my test case failed because of error related to one import file and I get following error:

Test Cases/Events/Rotation Definitions/Rotation Definitions- Invalid Inputs FAILED because (of) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

file:/katalon/katalon/project/Scripts/Events/Rotation%20Definitions/Rotation%20Definitions-%20Invalid%20Inputs/Script1515023585906.groovy: 21: unable to resolve class jdk.internal.instrumentation.MethodCallInliner.CatchBlock

@ line 21, column 1.

import jdk.internal.instrumentation.MethodCallInliner.CatchBlock as CatchBlock

^

1 error

Following are my import files:

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint

import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase

import static com.kms.katalon.core.testdata.TestDataFactory.findTestData

import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject

import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint

import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory

import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords

import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile

import com.kms.katalon.core.model.FailureHandling as FailureHandling

import com.kms.katalon.core.testcase.TestCase as TestCase

import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory

import com.kms.katalon.core.testdata.TestData as TestData

import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory

import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository

import com.kms.katalon.core.testobject.TestObject as TestObject

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

import internal.GlobalVariable as GlobalVariable

import jdk.internal.instrumentation.MethodCallInliner.CatchBlock as CatchBlock

import org.codehaus.groovy.ast.stmt.CatchStatement as CatchStatement

import org.openqa.selenium.Keys as Keys

import com.kms.katalon.core.testdata.InternalData as InternalData

import com.kms.katalon.core.webui.driver.DriverFactory as DriverFactory

import org.openqa.selenium.By as By

import org.openqa.selenium.By.ByXPath as ByXPath

import org.openqa.selenium.WebElement as WebElement

import org.testng.Assert as Assert

import org.testng.AssertJUnit as AssertJUnit

import org.openqa.selenium.WebDriver as WebDriver

import javax.swing.JOptionPane as JOptionPane

But If I run the same test through Katalon application then it runs smoothly.