当尝试使用 Open Web start 调用 JNLP 应用程序时,我得到了这个错误堆栈跟踪。
net.adoptopenjdk.icedteaweb.shaded.mozilla.javascript.EcmaError:ReferenceError:“java”未定义。(internal#105) 在 net.adoptopenjdk.icedteaweb.shaded.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3557) 在 net.adoptopenjdk.icedteaweb.shaded.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3535) ) 在 net.adoptopenjdk.icedteaweb.shaded.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1652) 在 net.adoptopenjdk.icedteaweb.shaded.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1652) 在 net.adoptopenjdk.icedteaweb.shaded.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3620)。采用openjdk.icedteaweb.shaded.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3413) at script.dnsResolve(internal:105) at script.getResolvedIp( http://uhic.ca.edu/toodeepregression3.pac:569 )在 script.FindProxyForURL(http://uhic.ca.edu/toodeepregression3.pac:62)
第 569 行的脚本是.. internalResolvedIp = dnsResolve(host)
if (
host
) {
// If the user has typed an IP address in the address bar, take it
// as it is.
var isIpV4Address = /^(\d+.){3}\d+$/;
var isIpV6Address = /^\[(.*)\]$/;
if (
isIpV4Address.test(host)
) {
internalResolvedIp = host;
} else {
var matches = host.match(isIpV6Address);
if (
matches && matches.length === 2
) {
// Get the address between the square brackets
internalResolvedIp = matches[1];
} else if (
isDnsResolvingAllowed
) {
****internalResolvedIp = dnsResolve(host);****
}
}
}
我不确定这个错误是什么。我也查看了 Open web start 日志。我在 itnernet 世界中进行了广泛的搜索,但我几乎没有因为这个错误而得到任何点击。