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!

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

21205
why aren't you using Oracle's built in replication for this?
Anurag Tibrewal
Hi,
This morning's text file was processed, but failed to insert records in either table.
Did you get any error? If yes what is the error.
I do not see any reason why you would not be getting any error, if the data is not inserted?
Yesterday's hourly feed caused 35 records to be inserted in exchange_rate, but only 12 of these were echoed to DM107ExchangeRatesODS.
Are you sure all these 35 records has distinct TS.CNTR_CRNCY_ID, TS.RATE_PRPS AND TS.REF_CURNCY. Why do you believe that out of these 35 records/trigger none trigger would have deleted the records from DM107ExchangeRatesODS

Regards
Anurag
730392
I'm not using Oracle's built-in replication, because it's not appropriate for the task.

You are right about the 12/35 issue, further data analysis shows that the hourly feed records are not unique on the three columns used for the deletion, so only the most recent row for those three values is retained. This is the intended behaviour, but I hadn't thought that through.

So the only issue that remains is why nothing from the daily feed was processed. I haven't seen any errors, it just fails silently.
21205
user2143457 wrote:
I'm not using Oracle's built-in replication, because it's not appropriate for the task.
Not appropriate?... Could you elaborate on that?
Anurag Tibrewal
user2143457 wrote:

So the only issue that remains is why nothing from the daily feed was processed. I haven't seen any errors, it just fails silently.
This is something hard to believe.
As far as I know Oracle does not have any failure without any error reporting and its typically ORA-XXXX.
It is possible you are suppressing this error in your code. If that is the case check your code and then check for the error.

If it is not possible to change the code. Can you run a small test with the below code as your trigger
CREATE OR REPLACE TRIGGER EXRATE_AFT_INS_ROW_ODS
AFTER INSERT ON EXCHANGE_RATE
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
DELETE FROM DM107EXCHANGERATESODS@DM53 TS
WHERE TS.CNTR_CRNCY_ID = :NEW.CNTR_CRNCY_ID
AND TS.RATE_PRPS = :NEW.RATE_PRPS
AND TS.REF_CURNCY = :NEW.REF_CURNCY;

INSERT INTO DM107EXCHANGERATESODS@DM53 (
CNTR_CRNCY_ID, RATE_PRPS, PRC_DT, REF_CURNCY,
AMT_FROM, BID_RATE, AMT_TO
) VALUES (
:NEW.CNTR_CRNCY_ID, :NEW.RATE_PRPS, :NEW.PRC_DT, :NEW.REF_CURNCY,
:NEW.AMT_FROM, :NEW.BID_RATE, :NEW.AMT_TO
);

EXCEPTION
  WHEN OTHERS THEN  
     insert into error_tab(SQLCODE,SQLERRM);

END;
Here it is assumed you have a table named error_tab which has two columns that can store the above value.

Regards
Anurag Tibrewal.
kendenny
Is PRC_DT the effective date? If so are you loading the records in PRC_DT order? If not you could load the most current rate and then overlay it with an older rate.
730392
The reason it's not applicable is that I'm not simply replicating, I am removing old records and only retaining the most recent record.
730392
Yeah, unfortunately the code which processes the morning file and does the inserts is a third-party app to which I don't have source access, and it is emminently possible that they are suppressing the error.

I'll give the code you provided a go, as soon as I finish sorting the Live system issues this has created, and can get on to a test system.

Thanks.
730392
prc-dt is indeed the efefctive date, but is supplied by the original data-provider in the data field, and is the date of the last working day. It has no time field.

Not sure what you mean by "load the most current rate and then overlay it with an older rate", there isn't always a current rate on the Bridge system, and the basis for retention is that we should keep in the Brige system only the most recent record added to the Live system, for a given Currency, Counter-currency and purpose.
21205
I think it's a great candidate for replication... after loading the file, refresh...
something like
SQL> create table test
  2  as
  3  select rownum id
  4       , 'THIS' cd
  5       , sysdate - rownum dt
  6    from dual
  7   connect by level <= 5
  8  /

Table created.

SQL> 
SQL> alter table test
  2  add constraint test_pk primary key (id)
  3  /

Table altered.

SQL> 
SQL> create materialized view log
  2  on test
  3  /

Materialized view log created.

SQL> 
SQL> conn usr/pw@other_side
Connected.
SQL> 
SQL> create materialized view test_mv
  2  as
  3  select cd
  4       , max (dt)
  5    from test@db_link
  6   group by cd
  7  /

Materialized view created.
730392
Ah, now I see what you mean. We can't use a materialised view because the table in Bridge is the subject of a number of Transformation Server Pipes, which don't work properly with materialised views.

We have however solved the problem.

Turns out that there was a second, conditional after insert trigger on the table, which only fired on the records from the morning feed, hence the hourly feed working OK.

The two triggers set up a deadlock between them, since each was updating a remote table, and required either a save or rollback from the other before it could proceed, resulting in a time-out and a trigger failure.

Solution was to merge the two triggers, and apply the conditions to the insert statement from the original conditional trigger (since the new merged trigger is unconditional)

Hence adding:

INSERT INTO blah@remote ( <column list>)
SELECT :new.<column>,...
FROM dual
WHERE :new.<conditional column> = <value>


Thanks for all the suggestions and help guys. I was particularly impressed by how quickly they came, and they all helped get us to the solution.
1 - 11

Post Details

Added on Mar 4 2015
9 comments
11,794 views