Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IntelliJ][ReportedByUser] It occurrs an error when remotely debug with HDI4 #2866

Closed
v-xiaocw opened this issue Mar 8, 2019 · 5 comments
Closed

Comments

@v-xiaocw
Copy link

v-xiaocw commented Mar 8, 2019

IntelliJ build version: 2018.3.1 IC-183.4588.27
OS: Windows 10
JDK: JetBrains s.r.o 1.8.0_152-release
Plugin version: 3.19.0-2018.3
Repro Steps:
1.Create a new HDInsight project
2.Create a Run config file
select spark23-hdi4-yan-test and default storage account
3.Set a breakpoint
4.Click the debug button
Result:

Additional Info: None
Parent component: 
Job run failed with unexpected RuntimeException: ReferenceError: "resourceRequestsTableData" is not defined. (https://spark23-hdi4-yan-test.azurehdinsight.net/yarnui/static/jquery/jquery-3.3.1.min.js#2)

======= EXCEPTION START ========
Exception class=[net.sourceforge.htmlunit.corejs.javascript.JavaScriptException]
com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "resourceRequestsTableData" is not defined. (https://spark23-hdi4-yan-test.azurehdinsight.net/yarnui/static/jquery/jquery-3.3.1.min.js#2)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:898)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:637)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:518)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:827)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:799)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:2470)
	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob.runJavaScript(JavaScriptFunctionJob.java:52)
	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutionJob.run(JavaScriptExecutionJob.java:102)
	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:424)
	at com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:155)
	at java.lang.Thread.run(Thread.java:745)
Caused by: net.sourceforge.htmlunit.corejs.javascript.JavaScriptException: ReferenceError: "resourceRequestsTableData" is not defined. (https://spark23-hdi4-yan-test.azurehdinsight.net/yarnui/static/jquery/jquery-3.3.1.min.js#2)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1009)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:800)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:416)
	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:292)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3264)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:820)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:883)
	... 10 more
JavaScriptException value = ReferenceError: "resourceRequestsTableData" is not defined.
== CALLING JAVASCRIPT ==
  function () {
      throw t;
  }
======= EXCEPTION END ========
@v-xiaocw v-xiaocw changed the title [IntelliJ][ReportedByUser] Uncaught Exception Job run failed with unexpected RuntimeException: ReferenceError: "resourceRequestsTableData" is not defined. (https://spark23-hdi4-yan-test.azurehdinsight.net/yarnui/static/jquery/jquery-3.3.1.min.js#2)======= EXCEPTION START ========Exception class=[net.sourceforge.htmlunit.corejs.javascript.JavaScriptException] com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "resourceRequestsTableData" is not defined. (https://spark23-hdi4-yan-test.azurehdinsight.net/yarnui/static/jquery/jquery-3.3.1.min.js#2) [IntelliJ][ReportedByUser] It occurrs an error when remote debug Mar 8, 2019
@v-xiaocw v-xiaocw changed the title [IntelliJ][ReportedByUser] It occurrs an error when remote debug [IntelliJ][ReportedByUser] It occurrs an error when remotely debug Mar 8, 2019
@wezhang
Copy link
Member

wezhang commented Mar 11, 2019

@t-rufang , could you help have a look?

@t-rufang
Copy link
Contributor

Looking.

@wezhang
Copy link
Member

wezhang commented Mar 13, 2019

The root cause is our browser client htmlunit only support jquery 1.x version, the cluster has upgraded the Yarn to 3.1 with jquery 3.3.1.

@jingyanjingyan jingyanjingyan changed the title [IntelliJ][ReportedByUser] It occurrs an error when remotely debug [IntelliJ][ReportedByUser] It occurrs an error when remotely debug with HDI4 Mar 27, 2019
@t-rufang t-rufang added the fixed label Mar 28, 2019
@t-rufang t-rufang assigned v-xiaocw and unassigned wezhang and t-rufang Mar 28, 2019
@t-rufang
Copy link
Contributor

Fixed in #2952

@v-xiaocw v-xiaocw closed this as completed Apr 1, 2019
@v-xiaocw
Copy link
Author

v-xiaocw commented Apr 1, 2019

Fixed in build 1067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants