Skip to Main Content

APEX

Announcement

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

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

Top navigation menu: How to influence sub list entries?

Sven W.Feb 8 2019 — edited Mar 4 2019

This is from Apex 18.1 on apex.oracle.com.

I use a navigation menu on the top. Not on the left side. This is an important difference.

Here is an example:

pastedImage_0.png

The menu is based upon a (dynamic) list. I now want to influence the sub menus, for example to color code them using attributes from the list.

Here is an example that i did for a left side navigation menu:

apex5_sidebar_colored_after

I wrote a (somewhat outdated) blog post how to do that: https://svenweller.wordpress.com/2015/11/05/apex-5-universal-theme-navigation-experiment-4/

Base idea was to change the template for the list, so that the additional attributes are added as a class to the LI tag.

apex5_sidebar_colored_template1.png (1677×271)

The same is not possible for a top navigation menu. The list template is not used, at least not for the sub entries.

Instead the menu widget uses some content layout to create the sub menu on the fly.

I'm looking for a way to influence this behaviour.

Best would be to be able to define the complete LI tag using the sub-template setting of the list.

Second best would be to read an attribute (might be even a data-xxx entry) and use this to set a class for the menu label.

@"John Snyders-Oracle" do you have any idea how to solve this?

Comments

user7944655

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

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

Rogerl-Oracle

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

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

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

Download from:

http://java.com

Java SE - Downloads | Oracle Technology Network | Oracle

-Roger

ForceRs

This is still failing using 1.8.0_40-b26.

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

Stacktrace #1 (from IE browser run):

Java Plug-in 11.40.2.26

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

User home directory = C:\Users\bjal1

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

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to <n>

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

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

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

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

preloader: Construct preloader delegate

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

preloader: Construct preloader delegate

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

preloader: Construct preloader delegate

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

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

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

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

preloader: Installing progress monitor true

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

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

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

preloader: Installing progress monitor true

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

basic: error: CharacterEncoder.encode internal error.

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

basic: error: CharacterEncoder.encode internal error.

preloader: Using default preloader

preloader: Requested to use preloader class: null

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

preloader: Installing progress monitor true

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

java.lang.Error: CharacterEncoder.encode internal error

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

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

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

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

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

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

basic: error: CharacterEncoder.encode internal error.

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

java.lang.Error: CharacterEncoder.encode internal error

preloader: Using default preloader

preloader: Requested to use preloader class: null

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

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

preloader: Using default preloader

preloader: Requested to use preloader class: null

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

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

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

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

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

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

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

security: Reset deny session certificate store

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

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

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

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

security: Reset deny session certificate store

java.lang.Error: CharacterEncoder.encode internal error

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

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

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

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

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

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

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

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

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

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

security: Reset deny session certificate store

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

preloader: Start progressCheck thread

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

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

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

preloader: Start progressCheck thread

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

preloader: Start progressCheck thread

ui: Show default error panel

preloader: Preloader shutdown after ErrorEvent

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

preloader: Preloader shutdown after ErrorEvent

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

ui: Show default error panel

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

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

preloader: Preloader shutdown after ErrorEvent

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

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

security: Reset deny session certificate store

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

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

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

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

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

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

security: Obtain certificate collection in SSL Root CA certificate store

security: Obtain certificate collection in SSL Root CA certificate store

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

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

security: Loading certificates from Deployment session certificate store

security: Loaded certificates from Deployment session certificate store

security: Loading certificates from Internet Explorer ROOT certificate store

security: Loaded certificates from Internet Explorer ROOT certificate store

security: Loading certificates from Internet Explorer DISALLOWED certificate store

security: Loaded certificates from Internet Explorer DISALLOWED certificate store

security: SHA-256Certificate finger print: 0F0879A21AB3277D5D7880565D9BFB53C68EF9523830B150F03AA880827ED5A1

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

security: SHA-256Certificate finger print: D4C4C99819F3A5F2C6261C9444C62A8B263B39BC6ACCE35CDCABE272D5037FB2

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

security: SHA-256Certificate finger print: FF856A2D251DCD88D36656F450126798CFABAADE40799C722DE4D2B5DB36A73A

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

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

security: Loading certificates from Internet Explorer ROOT certificate store

security: Loaded certificates from Internet Explorer ROOT certificate store

security: Loading certificates from Deployment session certificate store

security: Loaded certificates from Deployment session certificate store

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

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

security: OCSP Response: GOOD

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

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

security: OCSP Response: GOOD

security: Saving certificates in Deployment session certificate store

security: Saved certificates in Deployment session certificate store

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

security: SHA-256Certificate finger print: 5184FC1E50375F7FF3BE8F0E847759111918604DFE3CEAF1D22BA20DE1C193E1

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

security: SHA-256Certificate finger print: 0CFC19DB681B014BFE3F23CB3A78B67208B4E3D8D7B6A7B1807F7CD6ECB2A54E

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

security: SHA-256Certificate finger print: 8420DFBE376F414BF4C0A81E6936D24CCC03F304835B86C7A39142FCA723A689

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

security: SHA-256Certificate finger print: A4B6B3996FC2F306B3FD8681BD63413D8C5009CC4FA329C2CCF0E2FA1B140305

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

security: The OCSP support is enabled

security: The CRL support is enabled

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

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

security: OCSP Response: GOOD

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

security: OCSP Response: GOOD

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

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

security: OCSP Response: GOOD

security: Certificate validation succeeded using OCSP/CRL

security: Saving certificates in Deployment session certificate store

security: Saved certificates in Deployment session certificate store

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

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

network: Created version ID: 1.8.0.40

network: Created version ID: 1.8.0.31

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

Stacktrace #2 (from IE browser run):

Java Plug-in 11.40.2.26

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

User home directory = C:\Users\bjal1

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

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to <n>

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

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

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

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

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

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

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

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

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

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

basic: Starting applet teardown

preloader: Delivering: ApplicationExitEvent

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

basic: Finished applet teardown

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

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

preloader: Start progressCheck thread

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

ui: plugin2manager.parentwindowDispose

preloader: Construct preloader delegate

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

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

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

preloader: Installing progress monitor true

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

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

preloader: Using default preloader

preloader: Requested to use preloader class: null

basic: error: CharacterEncoder.encode internal error.

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

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

java.lang.Error: CharacterEncoder.encode internal error

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

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

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

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

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

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

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

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

security: Reset deny session certificate store

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

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

ui: Show default error panel

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

security: Reset deny session certificate store

preloader: Construct preloader delegate

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

preloader: Construct preloader delegate

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

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

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

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

preloader: Installing progress monitor true

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

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

preloader: Installing progress monitor true

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

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

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

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

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

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

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

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

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

security: Reset deny session certificate store

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

basic: error: CharacterEncoder.encode internal error.

java.lang.Error: CharacterEncoder.encode internal error

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

preloader: Using default preloader

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

preloader: Requested to use preloader class: null

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

preloader: Using default preloader

preloader: Requested to use preloader class: null

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

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

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

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

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

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

security: Reset deny session certificate store

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

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

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

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

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

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

preloader: Start progressCheck thread

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

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

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

preloader: Start progressCheck thread

preloader: Preloader shutdown after ErrorEvent

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

preloader: Preloader shutdown after ErrorEvent

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

ui: Show default error panel

ui: Show default error panel

security: Reset deny session certificate store

security: Reset deny session certificate store

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

Stacktrace #3 (from Chrome browser run):

Java Plug-in 11.40.2.26

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

User home directory = C:\Users\bjal1

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

<
Rogerl-Oracle

Hi ForceRs,

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

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

Thank you!

Roger

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

I too am getting this error after installing 8u40

Java Plug-in 11.40.2.26

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

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

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

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to <n>

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

Rogerl-Oracle

Hi ,

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

-Roger

ForceRs

Roger,

Bug submitted with 100% reproducibility.

Review ID: JI-9019831

Rogerl-Oracle

Thank you!

-Roger

ForceRs
Answer

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

It was not a Java issue, but user error.

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

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

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

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

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

Post Details

Added on Feb 8 2019
8 comments
7,240 views