Bug 165727 - Java applet loading but not showing
Summary: Java applet loading but not showing
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: kjava (other bugs)
Version First Reported In: 4.2.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 16:40 UTC by Md. Aftabuddin
Modified: 2023-01-14 05:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Md. Aftabuddin 2008-07-04 16:40:57 UTC
Version:           4.0.5 (KDE 4.0.5) (using 4.0.5 (KDE 4.0.5), 4.0.5-5.fc9 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.9-76.fc9.i686

java applet is loading but not showing, I can see some output in error console the following

Java VM version: 1.6.0_06
Java VM vendor:  Sun Microsystems Inc.
Proxy: 192.168.10.9:3128
WARNING: Security Manager disabled!
Java VM: Sun Microsystems Inc. 1.6.0_06
Proxy: 192.168.10.9:null
WARNING: Security Manager disabled!
----------------------------------------------------
Konqueror Java Console Help
  c: clear console
  g: run garbage collection
  h: show help
  m: show memory info
  s: print system properties
  t: list threads
  x: empty classloader cache
----------------------------------------------------
any long short 0

Where the last line indicates applet is loaded.
The path of java is
/usr/local/jdk1.6.0_06/jre/bin/java
I have also tried with 
/usr/local/jdk1.6.0_03/jre/bin/java
and 
/usr/local/jdk1.6.0_01/jre/bin/java
but with no luck
The applet is loading in mozilla 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061712 Fedora/3.0-1.fc9 Firefox/3.0

Some times the applet is loading in konqueror but if I refresh or try to load any other applet then the above symptoms again arise.
Comment 1 A. Spehr 2008-08-09 02:07:06 UTC
Is this an application we can download? ie which application? All java applets? 

Thanks
Comment 2 A. Spehr 2008-08-09 02:09:34 UTC
Opps. Actually, I should direct you to: 
http://bugs.kde.org/show_bug.cgi?id=161825
Comment 3 Md. Aftabuddin 2008-08-10 14:19:57 UTC
The applet can be used at 
www.bioinformatics.org/aminonet/AminoNet.html

Thanks for your reply
Comment 4 A. Spehr 2008-08-30 23:51:33 UTC
Do the comments and commits on bug #161825 help you?
Comment 5 Md. Aftabuddin 2008-09-01 10:33:01 UTC
(In reply to comment #4)
> Do the comments and commits on bug #161825 help you?
> 

No it doesn't help.
Comment 6 Børre Gaup 2009-05-13 16:20:06 UTC
I have the same problem using Konqueror 4.2.2 on KDE 4.2.3.

The applet loads and shows a grey rectangle. I get a security warning, and press allow all. Then nothing seems to happen.

The output from the Konqueror Java Console is:
Error during state 2
Backtrace: 
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
	at java.security.AccessController.checkPermission(AccessController.java:546)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
	at org.kde.kjas.server.KJASSecurityManager.checkPermission(KJASSecurityManager.java:64)
	at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
	at java.lang.System.getProperty(System.java:652)
	at javax.swing.filechooser.FileSystemView.getHomeDirectory(FileSystemView.java:380)
	at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:253)
	at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:136)
	at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:126)
	at javax.swing.JComponent.setUI(JComponent.java:673)
	at javax.swing.JFileChooser.updateUI(JFileChooser.java:1763)
	at javax.swing.JFileChooser.setup(JFileChooser.java:360)
	at javax.swing.JFileChooser.<init>(JFileChooser.java:333)
	at javax.swing.JFileChooser.<init>(JFileChooser.java:286)
	at tabpane.AminoNet.<init>(AminoNet.java:79)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at org.kde.kjas.server.KJASAppletStub$RunThread.doState(KJASAppletStub.java:173)
	at org.kde.kjas.server.KJASAppletStub$RunThread.run(KJASAppletStub.java:255)
java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:394)
	at org.kde.kjas.server.KJASProtocolHandler.processCommand(KJASProtocolHandler.java:312)
	at org.kde.kjas.server.KJASProtocolHandler.commandLoop(KJASProtocolHandler.java:89)
	at org.kde.kjas.server.Main.main(Main.java:175)

Other non working applets:

http://www2.ecobolsa.com/pmcont.html (Found in https://bugs.kde.org/show_bug.cgi?id=151900)

Output from javaconsole:
KJAS: JSObject.getWindow
KJAS: JSObject.getWindow
KJAS: JSObject.ctor: [WINDOW]
KJAS: JSObject.ctor: [WINDOW]
KJAS: JSObject.getMember: [WINDOW].document
KJAS: evaluate (".document")
KJAS: JSObject.getMember: [WINDOW].document
KJAS: evaluate (".document")
Error during state 3
Backtrace: 
java.lang.NullPointerException
	at GrupoTR.init(GrupoTR.java:446)
	at org.kde.kjas.server.KJASAppletStub$RunThread.doState(KJASAppletStub.java:197)
	at org.kde.kjas.server.KJASAppletStub$RunThread.run(KJASAppletStub.java:255)
Error during state 3
Backtrace: 
java.lang.NullPointerException
	at GrupoTR.init(GrupoTR.java:446)
	at org.kde.kjas.server.KJASAppletStub$RunThread.doState(KJASAppletStub.java:197)
	at org.kde.kjas.server.KJASAppletStub$RunThread.run(KJASAppletStub.java:255)

Some working applets:

http://www.w3.org/People/mimasa/test/object/java/clock
Loads fast

http://www.java.com/en/download/help/testvm.xml
First time I opened the page it took a long time before the applet worked, two minutes or more. Second time I opened the page it showed only a grey rectangle. When I reloaded the page the system info part appeared as it should, but the animation below it didn't show up.

All the above mentioned pages work in Opera and Firefox.

Output from the Konqueror Java Console:
TestVM 8.18 sc
Copyright (c) 2008 Sun Microsystems, Inc.
All Rights Reserved.
Current JRE version set in file: 613
 
Cmd Line Java -version:   Java 6  update  13
 
Your JRE version number-javaVersionInt:   613
Current JRE version on Java.com - currentJREinTextInt: 613
Your Operating System:   linux
Your OS Version:   2.6.29.2boerre
Your system architecture: i386
Comment 7 Andrew Crouthamel 2018-11-06 15:06:06 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-11-17 04:57:12 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Justin Zobel 2022-12-15 05:48:47 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-12-30 05:22:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2023-01-14 05:11:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!