Oxygen Applet is not loading

Having trouble installing Oxygen? Got a bug to report? Post it all here.
yury.eroshenkov
Posts: 34
Joined: Mon Jun 03, 2013 2:17 pm

Oxygen Applet is not loading

Post by yury.eroshenkov »

Hi,
As you may know, we integrated your oXygen Author component into our DITA CMS solution
We have a customer, who has faced with very strange applet loading problems. He has Windows 7 and Java 7 last update (u67). When the applet starts loading, exceptions are occuring and the applet is not starts. The same situation he has when he open oxygen applet from official oxygen site: http://www.oxygenxml.com/demo/AuthorDem ... -dita.html.
He sent a screenshots:
"This is what I see when I start the applet:"

Image

"After that the applet gets stuck in the following mode:"

Image

"This is what I see in the Java Console:"

Image

This is the log he sent when trying to load the oXygen from DITAWorks:

Code: Select all



Java Plug-in 10.60.2.19
Using JRE version 1.7.0_60-b19 Java HotSpot(TM) Client VM
User home directory = C:\Users\NS
----------------------------------------------------
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>
----------------------------------------------------
calling downloadEagerorAll
Trace level set to 5: all ... completed.network: Cache entry not found [url: http://passthrough.fw-notify.net/static/803635/downloader.html, version: null]
network: Connecting http://passthrough.fw-notify.net/static/803635/downloader.html with proxy=DIRECT
network: Connecting http://passthrough.fw-notify.net:80/ with proxy=DIRECT
preloader: Stop progressCheck thread
network: ResponseCode for http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/combined.jar : 200
network: Encoding for http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/combined.jar : null
network: Disconnect connection to http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/combined.jar
CacheEntry[http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/combined.jar]: updateAvailable=false,lastModified=Thu Jan 01 01:00:00 CET 1970,length=21338
network: Download Progress: jarsDone: 3
preloader: Delivering: DownloadEvent[type=verify,loaded=1, total=1, percent=100]
preloader: Start progressCheck thread
network: Created version ID: 1.7.0.60
network: Created version ID: 1.6+
ruleset: Jnlp based RuleId:
title: <oXygen/> XML Author Component Applet
location: http://cloud.ditaworks.com/ditaworks/oxygen-editor/author-component-dita.jnlp
jar location: http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/combined.jar
jar version: null
isArtifact: true
ruleset: finding Deployment Rule Set for
title: <oXygen/> XML Author Component Applet
location: http://cloud.ditaworks.com/ditaworks/oxygen-editor/author-component-dita.jnlp
jar location: http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/combined.jar
jar version: null
isArtifact: true
ruleset: no rule applies, returning Default Rule
network: Created version ID: 1.6+
network: Created version ID: 1.7.0.60
security: --- parseCommandLine converted : -Xmx512m -XX:MaxPermSize=80m
into:
[-Xmx512m, -XX:MaxPermSize=80m]
network: Created version ID: 1.7.0.60
network: Created version ID: 1.7
network: Created version ID: 2.2.60
basic: LaunchDesc.selectJRE(false, false) returning selected jre: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_60
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files (x86)\Java\jre7\bin\javaw.exe
args is:
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.60 found at C:\Program Files (x86)\Java\jre7\
enabled is: true
registered is: false
system is: true

basic: LaunchDesc location: http://cloud.ditaworks.com/ditaworks/oxygen-editor/author-component-dita.jnlp
security: --- parseCommandLine converted :
into:
[]
preloader: Enter wait for preloader jars to be loaded
preloader: Done with loading of preloader jars. Error=null
network: Created version ID: 1.0+
network: Created version ID: 7.0
network: Created version ID: 1.7.0.60
network: Created version ID: 1.6+
network: Created version ID: 1.7.0.60
network: Created version ID: 1.6+
cache: Cancel delay cleanup: URL: http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar | C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\4c01dd8d-472af584.idx
security: Trust for: http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar has ended: Thu Jan 01 01:00:00 CET 1970
security: Trust for: http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar has ended: Thu Jan 01 01:00:00 CET 1970
cache: Read manifest for http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar: read=166 full=5195
cache: Loading full manifest for http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jarsecurity: Validating cached jar url=http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar ffile=C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\4c01dd8d-472af584 com.sun.deploy.cache.CachedJarFile@2d66d5
cache: Reading Signers from 4433 http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar | C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\4c01dd8d-472af584.idx
cache: Done readSigners(http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar)
security: Trust for: http://cloud.ditaworks.com/ditaworks/oxygen-editor/lib/oxygen-author-component.jar has ended: Thu Jan 01 01:00:00 CET 1970
security: Trust for: http://passthrough.fw-notify.net/static/042033/downloader.html has ended: Thu Jan 01 01:00:00 CET 1970
security: Validating cached jar url=http://passthrough.fw-notify.net/static/042033/downloader.html ffile=C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\70a24f85-42c6bea8 com.sun.deploy.cache.CachedJarFile@118eb9f
cache: Reading Signers from 5 http://passthrough.fw-notify.net/static/042033/downloader.html | C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\70a24f85-42c6bea8.idx
network: No certificate info for unsigned JAR file: http://passthrough.fw-notify.net/static/042033/downloader.html
cache: Done readSigners(http://passthrough.fw-notify.net/static/042033/downloader.html)
cache: Cancel delay cleanup: URL: http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar | C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\37\769e48e5-5004c767.idx
security: Trust for: http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar has ended: Thu Jan 01 01:00:00 CET 1970
cache: Read manifest for http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar: read=243 full=243
security: Validating cached jar url=http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar ffile=C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\37\769e48e5-5004c767 com.sun.deploy.cache.CachedJarFile@1ebd19a
cache: Reading Signers from 4433 http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar | C:\Users\NS\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\37\769e48e5-5004c767.idx
cache: Done readSigners(http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar)
security: Trust for: http://cloud.ditaworks.com/ditaworks/oxygen-editor/resources/options.zip.jar has ended: Thu Jan 01 01:00:00 CET 1970
network: Created version ID: 1.7.0.60
network: Created version ID: 1.6+
network: Created version ID: 1.7.0.60
network: Created version ID: 1.6+
network: Created version ID: 1.7.0.60
network: Created version ID: 1.6+
preloader: Delivering: ErrorEvent[url=http://cloud.ditaworks.com/ditaworks/oxygen-editor/author-component-dita.jnlp label=ExitException[ 3]java.lang.NullPointerException cause=ExitException[ 3]java.lang.NullPointerException
basic: exception: ExitException[ 3]java.lang.NullPointerException.
ExitException[ 3]java.lang.NullPointerException
at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
preloader: Delivering: ErrorEvent[url=null label=ExitException[ 3]java.lang.NullPointerException cause=ExitException[ 3]java.lang.NullPointerException
preloader: Preloader shutdown after ErrorEvent
preloader: Stop progressCheck thread
ui: Show default error panel
security: Accessing keys and certificate in Mozilla user profile: null
security: Reset deny session certificate store
ui: Pushing modality for applet ID 1 with dialog sun.plugin.util.PluginSysUtil$DummyDialog[dialog0,-100,-100,132x38,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,126x10,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
basic: Dialog type is not candidate for embedding
ui: Pushing modality for applet ID 1 with dialog javax.swing.JDialog[dialog1,542,474,516x190,layout=java.awt.BorderLayout,TOOLKIT_MODAL,title=Application Error,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,510x162,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
ui: Pushing modality for applet ID 1 with dialog sun.plugin.util.PluginSysUtil$DummyDialog[dialog2,-100,-100,132x38,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,126x10,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Looks like, this is similar problem with oXygen Author Component demo applet loading only with logging level difference.

So, from the our log following that there is a passthrough.fw-notify.net traffic filter and this can be a reason. Did you faced with such situation before? Is it possible to circumvent this traffic filter or just add somehow the certification information to it?
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen Applet is not loading

Post by Radu »

Hi Yuri,

I downloaded the JNLP:

http://cloud.ditaworks.com/ditaworks/ox ... -dita.jnlp

and validated it in a standalone Oxygen installation, it is not wellformed XML, it seems to have XML comments inside other XML comments. Maybe this is why your applet does not work for the client, it might break when the JNLP gets parsed. So you should first fix your JNLP.

About why our applet demo does not work for the client, we cannot reproduce the issue on our side. Maybe the client should reset the local Java cache and try again. This means performing steps 3 and 4 from this topic:

http://www.oxygenxml.com/doc/ug-editor/ ... oting.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply