As I remember, we both had this problem when you were
teaching the Naval Safety Center's programmers. 
(Which was a great class by the way for anyone that is
interested in formal training - just a shameless plug
for our very own Mr. Nash!)

Do the "ant clean" and all may be right with the
world.

-Jeff


--- "Michael Nash JGlobal.com" <[EMAIL PROTECTED]>
wrote:
> Jeff:
> 
> I can second this experience: Also Eclipse has a
> nasty habit of generating a class file even if there
> are compile errors. Usually an "ant
> -Ddeploy.name=xxx clean" will start everything off
> fresh.
> 
> Mike
> 
> On Tue, 11 Nov 2003 08:12:48 -0800 (PST)
> Jeff Richley <[EMAIL PROTECTED]> wrote:
> 
> > What IDE are you using?  I have had this happen
> with
> > Eclipse.  Not only did I need to delete the jars,
> I
> > had to delete the class files from my project,
> delete
> > the install directory, and the deploy directory.
> > 
> > What was happening with me was when Eclipse
> generated
> > teh class files, something hickupped and didn't
> > produce a valid class file.  When the jvm hit the
> bad
> > class, I got the same error you did.
> > 
> > -Jeff
> > 
> > --- Eric Simmerman <[EMAIL PROTECTED]>
> wrote:
> > > Keelers,
> > > 
> > >             I'm building an extension to an open
> > > source project based on
> > > Keel called Spider
> > >
> (http://www.tempeststrings.com/spider/index.shtml).
> > > The current version of Spider is based on a
> snapshot
> > > of Keel's HEAD from
> > > about 8 weeks ago. My extension required me to
> > > update Spider to run
> > > against the latest Keel HEAD, but when I did, my
> > > application broke with
> > > the Error stacktrace pasted below. I'm seeing a
> > > ClassFormatError, which
> > > is something I've not run into before. I googled
> it
> > > and found some
> > > advice suggesting that I clean my build paths
> and
> > > recompile my classes.
> > > I did that for Spider's jars and for keel-core &
> > > keel-server, to no
> > > avail.  As you can see from the stacktrace, I'm
> > > attempting to use the
> > > KeelDirectServer to execute SpiderModel.
> Everything
> > > seems to work as
> > > expected (KeelContainer & DirectServer start up
> > > without error) until
> > > Fortress attempts to load my Model. Nothing in
> my
> > > Model has changed, so
> > > I'm guessing that whatever validation is
> throwing
> > > the FormatError was
> > > not a part of the last snapshot or was not
> > > configured by default. Can
> > > anyone guess as to what new feature or
> configuration
> > > might be causing me
> > > this pain? My first thought was to blame proxy
> use
> > > since it appears that
> > > a BCELWrapper is involved, but I tried both
> <keel
> > > proxy-type="java"> and
> > > <keel proxy-type="none">, and neither seemed to
> make
> > > any difference..
> > > 
> > > I've been looking into this for a bit, so any
> > > thoughts or comments would
> > > be much appreciated.
> > > 
> > >  
> > > 
> > > Thanks,
> > > 
> > > -Eric
> > > 
> > >  
> > > 
> > > [KeelAbstractServer] Context passed to model was
> > > {ComparableContext:(no
> > > items)}
> > > 
> > > java.lang.ClassFormatError:
> > >
> >
>
com/tempeststrings/spider/models/SpiderModel$BCELWrapper
> > > (Repetitive
> > > method name/signature)
> > > 
> > >         at
> java.lang.ClassLoader.defineClass0(Native
> > > Method)
> > > 
> > >         at
> > >
> >
>
java.lang.ClassLoader.defineClass(ClassLoader.java:502)
> > > 
> > >         at
> > >
> >
>
java.lang.ClassLoader.defineClass(ClassLoader.java:431)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.factory.BCELWrapperGenerator$BCELClassLo
> > > ader.findClass(BCELWrapperGenerator.j
> > > 
> > > ava:155)
> > > 
> > >         at
> > >
> >
>
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> > > 
> > >         at
> > >
> >
>
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.factory.BCELWrapperGenerator.createWrapp
> > > er(BCELWrapperGenerator.java:272)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.factory.WrapperObjectFactory.newInstance
> > > (WrapperObjectFactory.java:94)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.handler.AbstractComponentHandler.newComp
> > > onent(AbstractComponentHandler.java:2
> > > 
> > > 78)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.handler.ThreadSafeComponentHandler.doPre
> > > pare(ThreadSafeComponentHandler.java:
> > > 
> > > 72)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.handler.AbstractComponentHandler.prepare
> > > Handler(AbstractComponentHandler.java
> > > 
> > > :179)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.handler.AbstractComponentHandler.get(Abs
> > > tractComponentHandler.java:209)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.handler.LEAwareComponentHandler.get(LEAw
> > > areComponentHandler.java:128)
> > > 
> > >         at
> > >
> >
>
org.apache.avalon.fortress.impl.lookup.FortressServiceManager.lookup(For
> > > tressServiceManager.java:129)
> > > 
> > >         at
> > >
> >
>
org.keel.core.container.KeelServiceManager.lookup(KeelServiceManager.jav
> > > a:63)
> > > 
> > >         at
> > >
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to