Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

1.8.0_40-b25: Anyone else getting error: "CharacterEncoder.encode internal error"?

ForceRsMar 4 2015 — edited Mar 18 2015

I just updated to Java version 1.8.0_40-b25.

When I try to load an applet that was working with version 1.8.0_31, I get the following error pop-up dialog (CharacterEncoder.encode internal error):

CharEncod.gif

I turned on level "5" debugging in my Java console and get this stack trace:

Java Plug-in 11.40.2.25

Using JRE version 1.8.0_40-b25 Java HotSpot(TM) Client VM

User home directory = C:\Users\bjal1

----------------------------------------------------

c: clear console window

f: finalize objects on finalization queue

g: garbage collect

h: display this help message

l: dump classloader list

m: print memory usage

o: trigger logging

q: hide console

r: reload policy configuration

s: dump system and deployment properties

t: dump thread list

v: dump thread stack

x: clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

Trace level set to 5: all ... completed.network: Connecting http://good.company.lan:8080/product/servlets/ABCD0100 with proxy=DIRECT

network: Connecting http://good.company.lan:8080/ with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/ABCD0100 with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

cache: Clean up the reference queue: http://good.company.lan:8080/product/xyzSignOnApplet.jar

cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6c67c581: 6

cache: Clean up the reference queue: http://good.company.lan:8080/product/xyzSignOnApplet.jar

cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6c67c581: 5

cache: Clean up the reference queue: http://good.company.lan:8080/product/xyzSignOnApplet.jar

cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6c67c581: 4

cache: Clean up the reference queue: http://good.company.lan:8080/product/xyzSignOnApplet.jar

cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6c67c581: 3

cache: Clean up the reference queue: http://good.company.lan:8080/product/xyzSignOnApplet.jar

cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6c67c581: 2

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482396331&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482396331&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482396832&Action=LOG_USER_ENV_PROPERTIES&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482396832&Action=LOG_USER_ENV_PROPERTIES&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482396906&Action=GET_SESSION_ID&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482396906&Action=GET_SESSION_ID&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

basic: Starting applet teardown

preloader: Delivering: ApplicationExitEvent

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1c47b9

basic: Finished applet teardown

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1d4eb

basic: PluginMain.unregisterApplet: 1 from mananger sun.plugin2.applet.Applet2Manager@100d6b1

preloader: Start progressCheck thread

preloader: Stop progressCheck thread queue.size()=0

ui: plugin2manager.parentwindowDispose

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1096dae

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/SystemOverviewApplet.jar

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@d818d1

basic: error: CharacterEncoder.encode internal error.

preloader: Using default preloader

preloader: Requested to use preloader class: null

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

preloader: Skipped all (0) download events prior to null

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame1,0,0,178x476,layout=java.awt.BorderLayout,title=,resizable,normal]

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@adf9a9

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1096dae

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

security: Reset deny session certificate store

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1d0784f

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/xyzmenu.jar

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@177e70c

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/AlertNotificationApplet.jar

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@6451e

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

preloader: Using default preloader

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

preloader: Requested to use preloader class: null

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1494225

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

preloader: Using default preloader

preloader: Requested to use preloader class: null

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

security: Reset deny session certificate store

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1d0784f

at java.lang.Thread.run(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame2,0,0,818x28,layout=java.awt.BorderLayout,title=,resizable,normal]

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@177e70c

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame3,0,0,180x47,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@c10330

preloader: Skipped all (0) download events prior to null

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1800f2d

preloader: Skipped all (0) download events prior to null

preloader: Start progressCheck thread

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

Here is another stack trace with slightly different content:

Java Plug-in 11.40.2.25

Using JRE version 1.8.0_40-b25 Java HotSpot(TM) Client VM

User home directory = C:\Users\bjal1

----------------------------------------------------

c: clear console window

f: finalize objects on finalization queue

g: garbage collect

h: display this help message

l: dump classloader list

m: print memory usage

o: trigger logging

q: hide console

r: reload policy configuration

s: dump system and deployment properties

t: dump thread list

v: dump thread stack

x: clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

Trace level set to 5: all ... completed.network: Connecting http://good.company.lan:8080/product/servlets/ABCD0100 with proxy=DIRECT

network: Connecting http://good.company.lan:8080/ with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/ABCD0100 with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; JSESSIONID=2EBB8F86EA2C02359E2D6A667803D64F; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482742225&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482742225&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; JSESSIONID=2EBB8F86EA2C02359E2D6A667803D64F; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482742724&Action=LOG_USER_ENV_PROPERTIES&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482742724&Action=LOG_USER_ENV_PROPERTIES&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; JSESSIONID=2EBB8F86EA2C02359E2D6A667803D64F; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482742767&Action=GET_SESSION_ID&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425482742767&Action=GET_SESSION_ID&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; JSESSIONID=2EBB8F86EA2C02359E2D6A667803D64F; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

basic: Starting applet teardown

preloader: Delivering: ApplicationExitEvent

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@79799b

basic: Finished applet teardown

basic: PluginMain.unregisterApplet: 5 from mananger sun.plugin2.applet.Applet2Manager@166e5bd

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@c3e87e

preloader: Start progressCheck thread

preloader: Stop progressCheck thread queue.size()=0

ui: plugin2manager.parentwindowDispose

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@230375

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/SystemOverviewApplet.jar

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@586a9a

preloader: Using default preloader

preloader: Requested to use preloader class: null

basic: error: CharacterEncoder.encode internal error.

preloader: Skipped all (0) download events prior to null

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame5,0,0,178x476,layout=java.awt.BorderLayout,title=,resizable,normal]

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1897d1f

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@230375

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

security: Reset deny session certificate store

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@17aabe5

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/xyzmenu.jar

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@447f91

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/AlertNotificationApplet.jar

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1dc3e88

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

preloader: Using default preloader

preloader: Requested to use preloader class: null

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@d4004b

basic: error: CharacterEncoder.encode internal error.

preloader: Using default preloader

preloader: Requested to use preloader class: null

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@17aabe5

preloader: Added pending event 1: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@447f91

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame6,0,0,818x28,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1ef3398

preloader: Skipped all (0) download events prior to null

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame7,0,0,180x47,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Start progressCheck thread

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@275de

preloader: Skipped all (0) download events prior to null

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

ui: Show default error panel

preloader: Stop progressCheck thread queue.size()=0

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

And here is yet a third stack trace variation:

Java Plug-in 11.40.2.25

Using JRE version 1.8.0_40-b25 Java HotSpot(TM) Client VM

User home directory = C:\Users\bjal1

----------------------------------------------------

c: clear console window

f: finalize objects on finalization queue

g: garbage collect

h: display this help message

l: dump classloader list

m: print memory usage

o: trigger logging

q: hide console

r: reload policy configuration

s: dump system and deployment properties

t: dump thread list

v: dump thread stack

x: clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

Trace level set to 5: all ... completed.network: Connecting http://good.company.lan:8080/product/servlets/ABCD0100 with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/ABCD0100 with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425483648182&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425483648182&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425483648681&Action=LOG_USER_ENV_PROPERTIES&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425483648681&Action=LOG_USER_ENV_PROPERTIES&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425483648731&Action=GET_SESSION_ID&eop=eop with proxy=DIRECT

network: Connecting http://good.company.lan:8080/product/servlets/CommonServlet?c=1425483648731&Action=GET_SESSION_ID&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=13C350EB9496C3C7E5CB91F658A8548B; productheight=146; productheighttable=181; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//good.company.lan%3A8080/product/||; com.company.xyz.ABCD0100=13C350EB9496C3C7E5CB91F658A8548B"

basic: Starting applet teardown

preloader: Delivering: ApplicationExitEvent

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@6a8d55

basic: Finished applet teardown

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@a3a71c

preloader: Stop progressCheck thread queue.size()=1

basic: PluginMain.unregisterApplet: 1 from mananger sun.plugin2.applet.Applet2Manager@1fc625e

ui: plugin2manager.parentwindowDispose

preloader: Start progressCheck thread

preloader: Stop progressCheck thread queue.size()=0

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@c2c36

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/SystemOverviewApplet.jar

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@199bd52

preloader: Using default preloader

preloader: Setting default preloader and progress monitor for non JNLP applets

preloader: Requested to use preloader class: null

basic: error: CharacterEncoder.encode internal error.

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1021c30

preloader: Installing progress monitor true

preloader: Setting default preloader and progress monitor for non JNLP applets

security: Expected Main URL: http://good.company.lan:8080/product/AlertNotificationApplet.jar

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@158598b

preloader: Installing progress monitor true

security: Expected Main URL: http://good.company.lan:8080/product/xyzmenu.jar

preloader: Skipped all (0) download events prior to null

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

at sun.misc.CharacterEncoder.encode(Unknown Source)

at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

security: Reset deny session certificate store

at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1021c30

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@71f4dd

at java.lang.Thread.run(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@158598b

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1023edb

preloader: Using default preloader

preloader: Requested to use preloader class: null

preloader: Start progressCheck thread

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame1,0,0,178x476,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@f44746

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@c2c36

preloader: Using default preloader

preloader: Requested to use preloader class: null

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame2,0,0,180x47,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@19c1700

preloader: Skipped all (0) download events prior to null

preloader: Start progressCheck thread

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame3,0,0,818x28,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Start progressCheck thread

preloader: Delivering: ErrorEvent[url=http://good.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@bbdc7b

preloader: Skipped all (0) download events prior to null

preloader: Preloader shutdown after ErrorEvent

ui: Show default error panel

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

security: Reset deny session certificate store

This page has three applets on it. When I have just one applet, it seems to work without error.

Interestingly, when I go to the page with three applets, it will load occasionally. So it seems that if I load the page with three applets on it from the within the applet on the single applet page, the three applets fails. If I load the page with three applets on it directly, it loads okay.

Thanks.

This post has been answered by ForceRs on Mar 18 2015
Jump to Answer

Comments

user7944655

Yep,  We're seeing an error with this new JRE 1.8.0_40-b25.

Production applet that was working perfectly with 1.8.31  is suddenly not working.

Rogerl-Oracle

This bug has been fixed in 8u40b26, which was released today, March 12th.

https://bugs.openjdk.java.net/browse/JDK-8074564

Please download the latest version of 8u40 and let us know if it fixes the issue from your side.

Download from:

http://java.com

Java SE - Downloads | Oracle Technology Network | Oracle

-Roger

ForceRs

This is still failing using 1.8.0_40-b26.

Here are three more representative stack traces produced by invoking level "5" diagnostics:

Stacktrace #1 (from IE browser run):

Java Plug-in 11.40.2.26

Using JRE version 1.8.0_40-b26 Java HotSpot(TM) Client VM

User home directory = C:\Users\bjal1

----------------------------------------------------

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

Trace level set to 5: all ... completed.basic: PluginMain.unregisterApplet: 4 from mananger sun.plugin2.applet.Applet2Manager@df9f5f

basic: PluginMain.unregisterApplet: 3 from mananger sun.plugin2.applet.Applet2Manager@5ede7b

basic: PluginMain.unregisterApplet: 2 from mananger sun.plugin2.applet.Applet2Manager@13b4dd7

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@14a13c6

preloader: Installing progress monitor true

security: Expected Main URL: http://host.company.lan:8080/product/AlertNotificationApplet.jar

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@15d134a

preloader: Installing progress monitor true

security: Expected Main URL: http://host.company.lan:8080/product/SystemOverviewApplet.jar

basic: error: CharacterEncoder.encode internal error.

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1b54208

basic: error: CharacterEncoder.encode internal error.

preloader: Using default preloader

preloader: Requested to use preloader class: null

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1627688

preloader: Installing progress monitor true

security: Expected Main URL: http://host.company.lan:8080/product/xyzmenu.jar

java.lang.Error: CharacterEncoder.encode internal error

    at sun.misc.CharacterEncoder.encode(Unknown Source)

    at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

basic: error: CharacterEncoder.encode internal error.

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@74cd4d

java.lang.Error: CharacterEncoder.encode internal error

preloader: Using default preloader

preloader: Requested to use preloader class: null

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame4,0,0,180x47,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1961c42

preloader: Using default preloader

preloader: Requested to use preloader class: null

    at sun.misc.CharacterEncoder.encode(Unknown Source)

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame5,0,0,178x476,layout=java.awt.BorderLayout,title=,resizable,normal]

    at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@14a13c6

    at java.lang.Thread.run(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Skipped all (0) download events prior to null

security: Reset deny session certificate store

java.lang.Error: CharacterEncoder.encode internal error

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@15d134a

    at sun.misc.CharacterEncoder.encode(Unknown Source)

    at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame6,0,0,818x28,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Delivering: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@19a1df8

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1627688

preloader: Start progressCheck thread

preloader: Delivering: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1b25524

preloader: Skipped all (0) download events prior to null

preloader: Start progressCheck thread

preloader: Delivering: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Start progressCheck thread

ui: Show default error panel

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@17e6bf8

preloader: Skipped all (0) download events prior to null

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

security: Reset deny session certificate store

network: Checking for update at: https://javadl-esd-secure.oracle.com/update/securitypack.jar

network: Connecting https://javadl-esd-secure.oracle.com/update/securitypack.jar with proxy=DIRECT

network: Cache entry not found [url: file:/C:/Program%20Files%20(x86)/Java/jre1.8.0_40/lib/ext/sunec.jar, version: null]

network: Connecting http://javadl-esd-secure.oracle.com:443/ with proxy=DIRECT

security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre1.8.0_40\lib\security\cacerts

security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre1.8.0_40\lib\security\cacerts

security: Obtain certificate collection in SSL Root CA certificate store

security: Obtain certificate collection in SSL Root CA certificate store

security: Loading Deployment SSL certificates from C:\Users\bjal1\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts

security: Loaded Deployment SSL certificates from C:\Users\bjal1\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts

security: Loading certificates from Deployment session certificate store

security: Loaded certificates from Deployment session certificate store

security: Loading certificates from Internet Explorer ROOT certificate store

security: Loaded certificates from Internet Explorer ROOT certificate store

security: Loading certificates from Internet Explorer DISALLOWED certificate store

security: Loaded certificates from Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: 0F0879A21AB3277D5D7880565D9BFB53C68EF9523830B150F03AA880827ED5A1

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: D4C4C99819F3A5F2C6261C9444C62A8B263B39BC6ACCE35CDCABE272D5037FB2

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: FF856A2D251DCD88D36656F450126798CFABAADE40799C722DE4D2B5DB36A73A

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: Checking if SSL certificate is in Deployment permanent certificate store

security: Loading certificates from Internet Explorer ROOT certificate store

security: Loaded certificates from Internet Explorer ROOT certificate store

security: Loading certificates from Deployment session certificate store

security: Loaded certificates from Deployment session certificate store

network: Connecting http://ocsp.geotrust.com/ with proxy=DIRECT

network: Connecting http://ocsp.geotrust.com:80/ with proxy=DIRECT

security: OCSP Response: GOOD

network: Connecting http://gtssl-ocsp.geotrust.com/ with proxy=DIRECT

network: Connecting http://gtssl-ocsp.geotrust.com:80/ with proxy=DIRECT

security: OCSP Response: GOOD

security: Saving certificates in Deployment session certificate store

security: Saved certificates in Deployment session certificate store

network: Updating file at: C:\Users\bjal1\AppData\LocalLow\Sun\Java\Deployment\security\securitypack.jar from url: https://javadl-esd-secure.oracle.com/update/securitypack.jar

security: SHA-256Certificate finger print: 5184FC1E50375F7FF3BE8F0E847759111918604DFE3CEAF1D22BA20DE1C193E1

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: 0CFC19DB681B014BFE3F23CB3A78B67208B4E3D8D7B6A7B1807F7CD6ECB2A54E

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: 8420DFBE376F414BF4C0A81E6936D24CCC03F304835B86C7A39142FCA723A689

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: A4B6B3996FC2F306B3FD8681BD63413D8C5009CC4FA329C2CCF0E2FA1B140305

security: Checking if certificate is in Internet Explorer DISALLOWED certificate store

security: The OCSP support is enabled

security: The CRL support is enabled

network: Connecting http://ocsp.verisign.com/ with proxy=DIRECT

network: Connecting http://ocsp.verisign.com:80/ with proxy=DIRECT

security: OCSP Response: GOOD

network: Connecting http://ocsp.verisign.com/ with proxy=DIRECT

security: OCSP Response: GOOD

network: Connecting http://sf.symcd.com/ with proxy=DIRECT

network: Connecting http://sf.symcd.com:80/ with proxy=DIRECT

security: OCSP Response: GOOD

security: Certificate validation succeeded using OCSP/CRL

security: Saving certificates in Deployment session certificate store

security: Saved certificates in Deployment session certificate store

security: Checking if certificate is in Internet Explorer TrustedPublisher certificate store

security: Verification succeeded for signed security pack file C:\Users\bjal1\AppData\LocalLow\Sun\Java\Deployment\security\securitypack.jar

network: Created version ID: 1.8.0.40

network: Created version ID: 1.8.0.31

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Stacktrace #2 (from IE browser run):

Java Plug-in 11.40.2.26

Using JRE version 1.8.0_40-b26 Java HotSpot(TM) Client VM

User home directory = C:\Users\bjal1

----------------------------------------------------

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

network: Connecting http://host.company.lan:8080/product/servlets/SDSM0100 with proxy=DIRECT

network: Connecting http://host.company.lan:8080/ with proxy=DIRECT

network: Connecting http://host.company.lan:8080/product/servlets/SDSM0100 with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=FD8BB7DAD9F8B77201A6A854CFBAAEF2; productheight=146; productheighttable=181; JSESSIONID=900F2C4558DFB8AF027D1D7F45D016CC; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//host.company.lan%3A8080/product/||; com.company.xyz.SDSM0100=FD8BB7DAD9F8B77201A6A854CFBAAEF2"

network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253120029&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with proxy=DIRECT

network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253120029&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=FD8BB7DAD9F8B77201A6A854CFBAAEF2; productheight=146; productheighttable=181; JSESSIONID=900F2C4558DFB8AF027D1D7F45D016CC; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//host.company.lan%3A8080/product/||; com.company.xyz.SDSM0100=FD8BB7DAD9F8B77201A6A854CFBAAEF2"

network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253120528&Action=LOG_USER_ENV_PROPERTIES&eop=eop with proxy=DIRECT

network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253120528&Action=LOG_USER_ENV_PROPERTIES&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=FD8BB7DAD9F8B77201A6A854CFBAAEF2; productheight=146; productheighttable=181; JSESSIONID=900F2C4558DFB8AF027D1D7F45D016CC; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//host.company.lan%3A8080/product/||; com.company.xyz.SDSM0100=FD8BB7DAD9F8B77201A6A854CFBAAEF2"

network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253120583&Action=GET_SESSION_ID&eop=eop with proxy=DIRECT

network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253120583&Action=GET_SESSION_ID&eop=eop with cookie "com.company.xyz.K1=HH9hfy8IPMUgjQUNG8tViA==; com.company.xyz.A1=fjMODFn52jiEHK1xaceT+g==; JSESSIONID=FD8BB7DAD9F8B77201A6A854CFBAAEF2; productheight=146; productheighttable=181; JSESSIONID=900F2C4558DFB8AF027D1D7F45D016CC; xyzHelpWindow=hIeWarn=-1,hTabWarn=1,hWestPx=160,hX=0,hY=21,hW=1008,hH=706,hDigX=200,hDigY=200,hDigW=200,hDigH=200,parmsUserOK=true,||; sdsvsurls=http%3A//host.company.lan%3A8080/product/||; com.company.xyz.SDSM0100=FD8BB7DAD9F8B77201A6A854CFBAAEF2"

basic: Starting applet teardown

preloader: Delivering: ApplicationExitEvent

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1f78140

basic: Finished applet teardown

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@15d5990

basic: PluginMain.unregisterApplet: 6 from mananger sun.plugin2.applet.Applet2Manager@1b54208

preloader: Start progressCheck thread

preloader: Stop progressCheck thread queue.size()=0

ui: plugin2manager.parentwindowDispose

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1333e65

preloader: Installing progress monitor true

security: Expected Main URL: http://host.company.lan:8080/product/SystemOverviewApplet.jar

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1079d31

preloader: Using default preloader

preloader: Requested to use preloader class: null

basic: error: CharacterEncoder.encode internal error.

preloader: Skipped all (0) download events prior to null

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame5,0,0,0x0,layout=java.awt.BorderLayout,title=,resizable,normal]

java.lang.Error: CharacterEncoder.encode internal error

    at sun.misc.CharacterEncoder.encode(Unknown Source)

    at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

preloader: Delivering: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1cb5515

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1333e65

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

ui: Show default error panel

preloader: Stop progressCheck thread queue.size()=0

security: Reset deny session certificate store

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Construct preloader delegate

preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter

preloader: Setting default preloader and progress monitor for non JNLP applets

preloader: Setting default preloader and progress monitor for non JNLP applets

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@48a6c6

preloader: Installing progress monitor true

security: Expected Main URL: http://host.company.lan:8080/product/xyzmenu.jar

basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@fe77ac

preloader: Installing progress monitor true

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

security: Expected Main URL: http://host.company.lan:8080/product/AlertNotificationApplet.jar

    at sun.misc.CharacterEncoder.encode(Unknown Source)

    at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@48a6c6

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@1e6f5c3

preloader: Using default preloader

    at sun.misc.CharacterEncoder.encode(Unknown Source)

preloader: Requested to use preloader class: null

preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@14d82d4

preloader: Using default preloader

preloader: Requested to use preloader class: null

    at com.sun.deploy.util.SystemUtils.encodeString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getParametersString(Unknown Source)

    at sun.plugin2.applet.Applet2Manager.getAppInfo(Unknown Source)

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

preloader: Added pending event 1: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

security: Reset deny session certificate store

basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@fe77ac

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame6,0,0,180x47,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Delivering: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@19ce25f

preloader: Skipped all (0) download events prior to null

preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame7,0,0,818x28,layout=java.awt.BorderLayout,title=,resizable,normal]

preloader: Start progressCheck thread

preloader: Delivering: ErrorEvent[url=http://host.company.lan:8080/product/ label=CharacterEncoder.encode internal error cause=CharacterEncoder.encode internal error

preloader: Enqueue: com.sun.javaws.progress.PreloaderDelegate$4@1e1ebc4

preloader: Skipped all (0) download events prior to null

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

preloader: Preloader shutdown after ErrorEvent

preloader: Stop progressCheck thread queue.size()=0

ui: Show default error panel

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Stacktrace #3 (from Chrome browser run):

Java Plug-in 11.40.2.26

Using JRE version 1.8.0_40-b26 Java HotSpot(TM) Client VM

User home directory = C:\Users\bjal1

----------------------------------------------------

<
Rogerl-Oracle

Hi ForceRs,

    We had believed that the encoding issue was fixed and verified it was fixed in one scenario. Can I ask that you file a bug so we can understand more about your scenario? Post the ID here once so I can make sure to take ownership of it.

You can file the bug here:  Report a Bug or Request a Feature

Thank you!

Roger

0d481be9-5d58-449c-b841-6cb097d5fec7

I too am getting this error after installing 8u40

Java Plug-in 11.40.2.26

Using JRE version 1.8.0_40-b26 Java HotSpot(TM) Client VM

User home directory = C:\Users\*****

----------------------------------------------------

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

Rogerl-Oracle

Hi ,

Can I ask you to file a bug so we can get further information?

-Roger

ForceRs

Roger,

Bug submitted with 100% reproducibility.

Review ID: JI-9019831

Rogerl-Oracle

Thank you!

-Roger

ForceRs
Answer

Thanks to the first-class help at Oracle, this issue has been identified and resolved.

It was not a Java issue, but user error.

Our web application logs Java plug-in System Properties (i.e., System.getProperties();) to a server log at sign on to assist in diagnosing java browser plug-in issues.  The sign-on applet sends them down to the server.  Before sending them down, it was making a copy of the System Properties and then removing two of the properties: "line.separator" and "line.separator.applet".  Why did we remove them?  Simply to prevent an unwanted line-break from appearing in the server log file.

Well, what was meant to be a copy of the System Properties was actually a reference to the System Properties.  So when we removed those two properties, the CharacterEncoder failed because it relies on the "line.separator" System Property being present and unadulterated.

To make a long story short, we were pulling the rug out from under the JVM itself, clobbering vital System Property values.

Our sign on applet has done this for years.  Somehow we got away with it until version 1.8.0_40-b25.

Marked as Answer by ForceRs · Sep 27 2020
1 - 9

Post Details

Added on Mar 4 2015
9 comments
11,738 views