Forum Stats

  • 3,733,354 Users
  • 2,246,747 Discussions
  • 7,856,665 Comments

Discussions

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

ForceRs
ForceRs Member Posts: 15
edited March 2015 in Java 8 Questions

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: [email protected]1: 6

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

cache: deregisterReference: [email protected]1: 5

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

cache: deregisterReference: [email protected]1: 4

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

cache: deregisterReference: [email protected]1: 3

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

cache: deregisterReference: [email protected]1: 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: [email protected]

basic: Finished applet teardown

basic: Removed progress listener: [email protected]

basic: PluginMain.unregisterApplet: 1 from mananger [email protected]

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: [email protected]

preloader: Installing progress monitor true

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

preloader: Using preloader class: null [email protected]

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: [email protected]

security: Reset deny session certificate store

basic: Removed progress listener: [email protected]

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: [email protected]

preloader: Installing progress monitor true

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

basic: Added progress listener: [email protected]

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 [email protected]

    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 [email protected]

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: [email protected]

    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: [email protected]

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: [email protected]

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: [email protected]

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: [email protected]

basic: Finished applet teardown

basic: PluginMain.unregisterApplet: 5 from mananger [email protected]

basic: Removed progress listener: [email protected]

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: [email protected]

preloader: Installing progress monitor true

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

preloader: Using preloader class: null [email protected]

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: [email protected]

security: Reset deny session certificate store

basic: Removed progress listener: [email protected]

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: [email protected]

preloader: Installing progress monitor true

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

basic: Added progress listener: [email protected]

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 [email protected]

    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 [email protected]

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: [email protected]

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: [email protected]

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: [email protected]

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: [email protected]

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: [email protected]

basic: Finished applet teardown

basic: Removed progress listener: [email protected]

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

basic: PluginMain.unregisterApplet: 1 from mananger [email protected]

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: [email protected]

preloader: Installing progress monitor true

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

preloader: Using preloader class: null [email protected]

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: [email protected]

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: [email protected]

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: [email protected]

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

preloader: Using preloader class: null [email protected]

    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: [email protected]

preloader: Using preloader class: null [email protected]

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: [email protected]

security: Reset deny session certificate store

basic: Removed progress listener: [email protected]

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: [email protected]

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: [email protected]

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.

user7944655Rogerl-Oracle

Best Answer

  • ForceRs
    ForceRs Member Posts: 15
    edited March 2015 Accepted 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.

    Rogerl-Oracle

Answers

  • user7944655
    user7944655 Member Posts: 1
    edited March 2015

    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
    Rogerl-Oracle Member Posts: 214
    edited March 2015

    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
    ForceRs Member Posts: 15
    edited March 2015

    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 [email protected]

    basic: PluginMain.unregisterApplet: 3 from mananger [email protected]

    basic: PluginMain.unregisterApplet: 2 from mananger [email protected]

    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: [email protected]

    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: [email protected]

    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 [email protected]

    basic: error: CharacterEncoder.encode internal error.

    preloader: Using default preloader

    preloader: Requested to use preloader class: null

    basic: Added progress listener: [email protected]

    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 [email protected]

    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 [email protected]

    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: [email protected]

        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: [email protected]

        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: [email protected]

    security: Reset deny session certificate store

    basic: Removed progress listener: [email protected]

    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: [email protected]

    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: [email protected]

    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: [email protected]

    basic: Finished applet teardown

    basic: Removed progress listener: [email protected]

    basic: PluginMain.unregisterApplet: 6 from mananger [email protected]

    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: [email protected]

    preloader: Installing progress monitor true

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

    preloader: Using preloader class: null [email protected]

    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: [email protected]

    security: Reset deny session certificate store

    basic: Removed progress listener: [email protected]

    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: [email protected]

    preloader: Installing progress monitor true

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

    basic: Added progress listener: [email protected]

    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: [email protected]

    basic: error: CharacterEncoder.encode internal error.

    java.lang.Error: CharacterEncoder.encode internal error

    preloader: Using preloader class: null [email protected]

    preloader: Using default preloader

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

    preloader: Requested to use preloader class: null

    preloader: Using preloader class: null [email protected]

    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: [email protected]

    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: [email protected]

    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: [email protected]

    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

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

    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.SDSM0100=DFE2582EB441C82F864FA21E66E90B39"

    network: Server http://host.company.lan:8080/product/servlets/SDSM0100 requesting to set-cookie with "JSESSIONID=BFCA404D4894E8B5EFA4061F7E1D52C4; Path=/product/; HttpOnly"

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

    network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253284998&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop with cookie "com.company.xyz.SDSM0100=DFE2582EB441C82F864FA21E66E90B39"

    network: Server http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253284998&Action=UPDATEUSEROPTIONS&removeAll=N&eop=eop requesting to set-cookie with "JSESSIONID=65C4D7EC6151BC1A604FF9455CB1C633; Path=/product/; HttpOnly"

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

    network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253285499&Action=LOG_USER_ENV_PROPERTIES&eop=eop with cookie "com.company.xyz.SDSM0100=DFE2582EB441C82F864FA21E66E90B39"

    network: Server http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253285499&Action=LOG_USER_ENV_PROPERTIES&eop=eop requesting to set-cookie with "JSESSIONID=C1E78D3718F9BA218CCA3DF6DD7CC145; Path=/product/; HttpOnly"

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

    network: Connecting http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253285545&Action=GET_SESSION_ID&eop=eop with cookie "com.company.xyz.SDSM0100=DFE2582EB441C82F864FA21E66E90B39"

    network: Server http://host.company.lan:8080/product/servlets/CommonServlet?c=1426253285545&Action=GET_SESSION_ID&eop=eop requesting to set-cookie with "JSESSIONID=337ED2E6DC7F13992513BE692DC1F025; Path=/product/; HttpOnly"

    basic: Starting applet teardown

    preloader: Delivering: ApplicationExitEvent

    preloader: Enqueue: [email protected]

    basic: Finished applet teardown

    basic: Removed progress listener: [email protected]

    basic: PluginMain.unregisterApplet: 1 from mananger [email protected]

    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: [email protected]

    preloader: Installing progress monitor true

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

    preloader: Using preloader class: null [email protected]

    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[frame1,0,0,184x556,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: Start progressCheck thread

    preloader: Enqueue: [email protected]

    security: Reset deny session certificate store

    basic: Removed progress listener: [email protected]

    ui: Show default error panel

    preloader: Preloader shutdown after ErrorEvent

    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

    basic: Added progress listener: [email protected]

    preloader: Installing progress monitor true

    security: Expected Main URL: http://host.company.lan:8080/product/xyzmenu.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)

        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: [email protected]

    preloader: Using preloader class: null [email protected]

    preloader: Using default preloader

    preloader: Requested to use preloader class: 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: Enqueue: [email protected]

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

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

    preloader: Preloader shutdown after ErrorEvent

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

    ui: Show default error panel

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

    basic: Added progress listener: [email protected]

    preloader: Installing progress monitor true

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

    security: Reset deny session certificate store

    preloader: Using preloader class: null [email protected]

    preloader: Using default preloader

    preloader: Requested to use preloader class: 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)

        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: [email protected]

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

    preloader: Enqueue: [email protected]

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

    preloader: Start progressCheck thread

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

    preloader: Preloader shutdown after ErrorEvent

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

    ui: Show default error panel

    security: Reset deny session certificate store

    So it appears as though nothing changed at all for the moment.

  • Rogerl-Oracle
    Rogerl-Oracle Member Posts: 214
    edited March 2015

    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
    edited March 2015

    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
    Rogerl-Oracle Member Posts: 214
    edited March 2015

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

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

    -Roger

  • ForceRs
    ForceRs Member Posts: 15
    edited March 2015

    Roger,

    Bug submitted with 100% reproducibility.

    Review ID: JI-9019831

  • Rogerl-Oracle
    Rogerl-Oracle Member Posts: 214
    edited March 2015

    Thank you!

    -Roger

  • ForceRs
    ForceRs Member Posts: 15
    edited March 2015 Accepted 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.

    Rogerl-Oracle
Sign In or Register to comment.