Konqueror and Java

Marcelo Magno T. Sales marcelo.sales at sefaz.pe.gov.br
Wed Oct 25 13:06:11 BST 2006


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.




More information about the kde mailing list