Patrick,

As far as kodo.jdo.ProxyMap I fixed it (I had some custom proxies which
implement it) 
My point was that you at least should log an exception if you hide it or
it is virtually impossible to figure out why the class could not be
loaded. Or better yet differentiate handle only ClassNotFoundException
but not all the others 

Alex

-----Original Message-----
From: Patrick Linskey [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 13, 2006 8:11 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: CFMetaDataParser hiding exception info

It sounds like you didn't recompile your sources between Kodo 4.0 and
Kodo 4.1. Kodo 4.0 used different package names than Kodo 4.1, and our
backwards compatibility efforts didn't include binary-compatibility.

(Sorry about the Kodo spam, btw.)

-Patrick

-- 
Patrick Linskey
BEA Systems, Inc. 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it. 

> -----Original Message-----
> From: Roytman, Alex [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 13, 2006 2:01 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: CFMetaDataParser hiding exception info
> 
> In  classForName()
> 
>  
> 
> You can find plenty of statements like this
> 
>  
> 
>         try {
> 
>             if (fullName || noPackage)
> 
>                 return Strings.toClass(name, resolve, loader);
> 
>             return Strings.toClass(pkg + "." + name, resolve, loader);
> 
>         } catch (RuntimeException re) {
> 
>         }
> 
>  
> 
>  
> 
> As result I get exception which tells me nothing about the cause:
> 
>  
> 
> Type "com.peacetech.dts.jdo.ContentFieldImpl" could not be 
> instantiated.
> 
>  
> 
> I had to get all the sources and go through with debugger to 
> get to real
> cause:
> 
>  
> 
> java.lang.NoClassDefFoundError: kodo/util/ProxyMap
> 
>  
> 
>  
> 
> Why Kodo looks for kodo.jdo.ProxyMap? Shouldn't it proxy to
> org.apache.openjpa.util.ProxyMap now?
> 
>  
> 
>  
> 
> Thank you very much
> 
>  
> 
> Alex Roytman
> 
> Peace Technology, Inc.
> 
> 301-206-9696x103
> 
>  
> 
> 

Reply via email to