Hi Marc,As Mike says, we could be a bit more friendly. By the way, SERP has been very reliable so this hasn't been much of an issue to date.
Could you please file a JIRA so we don't forget about it? Thanks, Craig On May 19, 2009, at 5:53 AM, Michael Dick wrote:
Hi Marc,Sounds like an unchecked exception thrown by Serp and we could be a bit friendlier about how we handle it. At least dumping the classname that we're trying to load would help. Adding a try / catch might be helpful. Whichversion of OpenJPA are you using? My guess is that it is OpenJDK related and the compiled class is notmatching Serp's expectation. I haven't seen this exception before though andI can't tell you why you're getting it. -mikeOn Tue, May 19, 2009 at 3:46 AM, Marc Logemann <l...@logemann.org> wrote:David,no, have not done this. Its quite a hughe effort to create a project from scratch and deploy it to SCM and configure TeamCity to "compile/ test" it. I still think its not a library issue because i use ivy within ANT and thebuild system resolves libs the same way as its done on each developermachine. The stack doesnt look like a missing lib to me. And its definitely also not an ANT issue because i am using the same ANT Target on the devmachines.I hoped somebody who developed the enhancer can tell something about the stack. I mean something like "this problem can only occur under this or thatcondition".In any way... do we agree that an IllegalArgumentException in SERP shouldnt be the first Exception on the stack ? I definitely would expect an Enhancer Exception saying whats wrong on an upper level. Something like "Enhancement failed on Class X" or something. The root cause would be of course the SERPexception. --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 18.05.2009 um 16:29 schrieb Rick Curtis:-Marc Any luck with the suggestion that David made? David Beer-2 wrote:On Sat, 16 May 2009 15:32:36 +0200 Marc Logemann <l...@logemann.org> wrote: Hi MarcCan't seem that it is OpenJDK 6 related as I use it here for both mydevelopment and continous build system (hudson under tomcat).Are you using Ant or Maven with the build process. I have seen on lists that this can sometimes be a problem. Can you create a small project which has say just one class to enhance and see if that works through you build system. I am thinking that it may be a classpath or libraryproblem. David-- View this message in context:http://n2.nabble.com/strange-JPA-Enhance-stack- tp2912505p2933425.htmlSent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 408 276-5638 mailto:craig.russ...@sun.com P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature