Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

java.lang.VerifyError in Netscape when loading applet

Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created an applet and I am running it off a local web server.
When I load the html page containing the applet using Opera5.11
everything works great. However, when I try to load it using
Netscape4.7 I get the following error in the java console:
Netscape Communications Corporation -- Java 1.1.5
Type '?' for options.
Symantec Java! ByteCode Compiler Version 210.065
Copyright (C) 1996-97 Symantec Corporation
# Verifier error profile/searchProfiles.sortVector()V: Cannot find class java/util/List
# Applet exception: class profile/searchProfiles got a security violation: method verification error
java.lang.VerifyError: profile/searchProfiles
at java.lang.ClassLoader.resolveClass(Compiled Code)
at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
* at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at Code)
at netscape.applet.DerivedAppletFrame$ Code)
This applet consist of only AWT components so everything should
be supported. Any help would be greatly appreciated.
Ezra Exposito
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still no luck with this one. Here is some extra info that
might give some clues. When I try to open the applet in
IE4 I get the following:
java.lang.InstantiationException: searchProfiles
at com/ms/applet/BrowserAppletFrame.newInstance (
at com/ms/applet/AppletPanel.processSentEvent (
at com/ms/applet/AppletPanel.processSentEvent (
at com/ms/applet/ (
at java/lang/ (
I also made sure that the applet had a default constructor so the
browser can instantiate it. In addition, it works when I run it
from the DOS prompt using appletviewer. So it works with Opera and appletviewer but not with Netscape or IE. The only thing I can think of is that appletviewer and Opera have some classes
that need to be loaded into Netscape and IE. Does anyone know
in what jar file does sun place their class files like java.awt.List ?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic