Re: [kde] Konqueror and Java



Hi, Nigel

Em Terça 24 Outubro 2006 16:34, Nigel Henry escreveu:
On Tuesday 24 October 2006 13:31, Marcelo Magno T. Sales wrote:
People,

I'm having some difficulties to run java applets in Konqueror. Some of
them malfunction and others do not work at all.
For example, try to open http://www.itautrade.com.br
Here, the applet starts to load and then I get the message "Falha no
sistema" (which means "System failure").
The applet works fine in Firefox, using the very same JVM (Sun 1.5.0_08).
Is this a known bug? Or is it a configuration problem? Does this site
work for you?
Another thing, how do I enable Java persistently in Konqueror? Is it
necessary to activate it every time Konqueror is opened?

Thanks,

Marcelo

I have JRE 1.5.0.06 installed from Sun, and the site you have on your post
works fine. the monitor graph is displayed correctly. I had not set up
Konqueror for Java, but spent some time on this, this afternoon. Konqueror
does not use the Java plugin, and you have to directly link to the binary.
Eventually I got Konqueror accessing the binary, which was confirmed by
running the following URL.

http://www.java.com/en/download/help/testvm.xml

This showed that the applet was working ok. So I tried your site, which
said that the applet was starting, and the ticker started running at the
bottom of the monitor screen, but then got the same system failure as you,
and the graph would not display. the Java console gave a lot of output as
below.

24/10/06 21:21:56 [HPTI3] init
24/10/06 21:21:56 [HPGR3] init
Url : https://ww51.itau.com.br/pegabds/URL
24/10/06 21:21:57 [HPGR3] start
24/10/06 21:21:57 [HPGR3] run
Url :
https://ww51.itau.com.br/pegabds/HP3.asp?PerDay=264&PerIDY=1&Int=1&TGD=0&Pa
pel=IBOV.IDY&Compress=1 Url : https://ww51.itau.com.br/pegabds/URL
24/10/06 21:22:02 [HPTI3] start
Refresh :
https://ww51.itau.com.br/pegabds/Ticker.asp?Titulo=null&Arquivo=tickerdifer
ido.dat&NomeAtivo=1 Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException at HP3.HPTI3.update(Unknown Source)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.X11.XRepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.X11.XComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
24/10/06 21:22:02 [HPTI3] run
run falha: false java.lang.NullPointerException
24/10/06 21:22:06 [HPGR3] run finalizado

I can't make much sense from this, but the continual references to "unknown
source" seem to be a problem here.

It would be good to have some other sites that need Java to try with
Konqueror. The only one I have is a French learning site that needs Java
for it's IRC, but Konqueror locks up using 100% CPU using that, and I have
to use Firefox.

Anyone suggest some sites that need Java, to try out Konqueror with them?

I also Googled a lot this afternoon, and it seems that lots of folks have
problems with Java on Konqueror.

Sorry I havn't found a solution to your problem.

Thank you very much for your attention and investigation of the problem.
I get the same errors in the Java Console and will research a little more.
However, there must be some problem in Konqueror, once the applets work fine
in other browsers... With this site I mentioned, the graph applet fails
completely (but the ticker works, as you've noted), however there are others
in which the applet runs apparently ok but displays wrong data. In this case
no error is logged in Java Console and this kind of problem is, in my
opinion, much worse.

Thanks again,

Marcelo

___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Java with Konqueror on FC2
    ... plugin so I have to set the Java path to, ... This works fine on Firefox, and Opera, but not with Konqueror. ... uses a Java applet. ... the Java plugin worked fine and the applet loaded. ...
    (Fedora)
  • [SLE] SuSE V8.0 & Java
    ... the web site shows a box on my window with "loading applet" and the ... Presently the applet does nothing and so I can't start ... I seem to have a problem with my Java installation and so have tried to ... To ensure Konqueror can use Java can someone point me to a doc on ...
    (SuSE)
  • Re: Datemi qualche motivo per non cancellare Safari
    ... Konqueror, come ti fanno notare. ... nomi e non cambiano il significato del discorso, facendo a gara a chi e ... conosce la differenza tra java e javascript. ...
    (it.comp.macintosh)
  • Re: JDK 1.4.2_11, 1.5.0_06, unsigned applets consuming all free harddisk space
    ... Even when leaving the page the applet continues to work due ... and the JVM and after quitting the browser the temp file ... Java is supposed to work similar on all platforms (write ... The same happened on my Linux Fedora Core 4 workstation with Konqueror ...
    (Bugtraq)
  • Re: [kde] Konqueror and Java
    ... I'm having some difficulties to run java applets in Konqueror. ... The applet works fine in Firefox, using the very same JVM. ... the monitor graph is displayed correctly. ...
    (KDE)