My Oracle Support Banner

Java SE 8 update 66 Causes the Following Error with a proxy.pac File 'Exception in thread "Nashorn AST Serializer" java.lang.StackOverflowError' (Doc ID 2120757.1)

Last updated on JULY 05, 2023

Applies to:

Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.
When using a very large proxy.pac file with JRE 1.8.0_66, the applet fails to run.


The Java Console log shows that the applet is attempting to run using an incorrect Proxy server.

During the execution of the FindProxyForURL(url, host) function in the proxy.pac file, a StackOverflowError takes place with the following thread dump:


 The change in behavior was noticed after upgrading to Java SE 8 update 66.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.