openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@bea.com>
Subject RE: CFMetaDataParser hiding exception info
Date Sat, 14 Oct 2006 00:10:46 GMT
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:Roytmana@peacetech.com] 
> 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
> 
>  
> 
> 

Mime
View raw message