strange gcjappletviewer problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 06, 2006 at 08:01:56PM +0100, Michael Koch wrote:
> On Mon, Feb 06, 2006 at 06:45:56PM +0100, Christian Thalinger wrote:
> > On Mon, 2006-02-06 at 19:32 +0100, Michael Koch wrote:
> > > I guess this more that the verifier is less strict in SUNs appletviewer
> > > case. Class file formats has nothing to do with HTML parsing. Normally
> > > you get this when you compile something with SUN Java 5 and run it with
> > > SUN Java 1.4.
> > 
> > Not agreed.  I dig a bit into it and found out that it actually gets a
> > file not found webpage.  It tries to load the blaze3d.class from:
> > 
> > http://drei.at/external/offer/java/nokia_6680/blaze3d.class
> > 
> > But this file does not exist, rather it's in the holomatix.jar.  Here
> > are the tags:
> > 
> > parsed applet tags:
> >  tag 0:
> >   name=
> >   code=blaze3d.class
> >   codebase=
> >   archive=[http://drei.at/external/offer/java/nokia_6680/holomatix.jar]
> >   parameters={salign=, width=290, height=395, scale=showall, src=3_3d_nokia_6680.h3f}
> >   documentbase=http://drei.at/external/offer/java/nokia_6680/3_3d_nokia_6680.html
> 
> Does it throw a FileNotFoundException or a ClassFormatError ? You are
> unclear.

Ok. I commited a fix to gcjwebplugin CVS. There was a search path issue
in the AppletClassLoader which looked at the codebase before it looked
in the archives which caused the webserver to return a 404 error
document which gcjappletviewer tried to load as class.

However the applet still doesn't work. I get the following stacktrace:

(sid)mkoch@asterix:~/jamvm/applets/nokia6680$
/home/mkoch/local/gcjwebplugin/bin/gcjappletviewer `cat URL`
Holomatix Blaze Player V1.5.229  (C) 2001-5
http://www.holomatix.com
Exception during event dispatch:
java.lang.NullPointerException
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:237)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:245)
   at blaze3d.paint (Unknown Source)
   at java.awt.Container$GfxPaintVisitor.visit (Container.java:1906)
   at java.awt.Container.visitChild (Container.java:1713)
   at java.awt.Container.visitChildren (Container.java:1683)
   at java.awt.Container.paint (Container.java:773)
   at java.awt.Container.update (Container.java:807)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent (GtkComponentPeer.java:320)
   at java.awt.Component.dispatchEventImpl (Component.java:4939)
   at java.awt.Container.dispatchEventImpl (Container.java:1733)
   at java.awt.Window.dispatchEventImpl (Window.java:623)
   at java.awt.Component.dispatchEvent (Component.java:2317)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
Exception during event dispatch:
java.lang.NullPointerException
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:237)
   at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:245)
   at blaze3d.paint (Unknown Source)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent (GtkComponentPeer.java:318)
   at gnu.java.awt.peer.gtk.GtkPanelPeer.handleEvent (GtkPanelPeer.java:66)
   at java.awt.Component.dispatchEventImpl (Component.java:4939)
   at java.awt.Container.dispatchEventImpl (Container.java:1733)
   at java.awt.Component.dispatchEvent (Component.java:2317)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)

I will investigate this further.


Cheer,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux