openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Logemann ...@logemann.org>
Subject Re: strange JPA Enhance stack
Date Sat, 16 May 2009 13:17:35 GMT
Ok guys, i give you a hint: It does work when i disable EMMA  
instrumentation. Why is it a problem when i let the EMMA instrument  
the classes? I wanted to use it because of code coverage statistics  
and its supported out of the box by TeamCity.

---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de




Am 16.05.2009 um 15:09 schrieb Marc Logemann:

> Hi,
>
> today we installed our Continous build system (TeamCity) and we  
> tried to run our first automated build on Linux with OpenJDK 6. Even  
> though our build works on all client computers it fails with the  
> same (ivy resolved) build path on OpenJDK 6 wih the following stack.  
> Perhaps someone can comment on this:
>
> [15:06:10]: [jpaenhance] openjpac
> [15:06:11]: [openjpac] java.lang.IllegalArgumentException: 5
> [15:06:11]: [openjpac] at  
> serp.bytecode.Code.getInstruction(Code.java:2131)
> [15:06:11]: [openjpac] at serp.bytecode.Local.getEnd(Local.java:113)
> [15:06:11]: [openjpac] at  
> serp.bytecode.Local.updateTargets(Local.java:155)
> [15:06:11]: [openjpac] at  
> serp.bytecode.LocalTable.updateTargets(LocalTable.java:163)
> [15:06:11]: [openjpac] at serp.bytecode.Code.read(Code.java:2031)
> [15:06:11]: [openjpac] at  
> serp.bytecode.Attributes.readAttributes(Attributes.java:152)
> [15:06:11]: [openjpac] at serp.bytecode.BCMember.read(BCMember.java: 
> 365)
> [15:06:11]: [openjpac] at serp.bytecode.BCClass.read(BCClass.java:123)
> [15:06:11]: [openjpac] at serp.bytecode.BCClass.read(BCClass.java:144)
> [15:06:11]: [openjpac] at  
> serp.bytecode.Project.loadClass(Project.java:139)
> [15:06:11]: [openjpac] at  
> org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4491)
> [15:06:11]: [openjpac] at  
> org.apache.openjpa.ant.PCEnhancerTask.executeOn(PCEnhancerTask.java: 
> 89)
> [15:06:11]: [openjpac] at  
> org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java:172)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> [15:06:11]: [openjpac] at  
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [15:06:11]: [openjpac] at  
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> [15:06:11]: [openjpac] at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:43)
> [15:06:11]: [openjpac] at  
> java.lang.reflect.Method.invoke(Method.java:616)
> [15:06:11]: [openjpac] at  
> org 
> .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 
> 106)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Task.perform(Task.java:348)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Target.execute(Target.java:357)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Target.performTasks(Target.java:385)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> [15:06:11]: [openjpac] at  
> org 
> .apache 
> .tools 
> .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Main.runBuild(Main.java:758)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.Main.startAnt(Main.java:217)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> [15:06:11]: [openjpac] at  
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> [15:06:11]: [openjpac] java.lang.IllegalArgumentException: 5
> [15:06:16]: Ant output:
> at serp.bytecode.Local.updateTargets(Local.java:155)
> at serp.bytecode.LocalTable.updateTargets(LocalTable.java:163)
> at serp.bytecode.Code.read(Code.java:2031)
> at serp.bytecode.Attributes.readAttributes(Attributes.java:152)
> at serp.bytecode.BCMember.read(BCMember.java:365)
> at serp.bytecode.BCClass.read(BCClass.java:123)
> at serp.bytecode.BCClass.read(BCClass.java:144)
> at serp.bytecode.Project.loadClass(Project.java:139)
> at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4491)
> at  
> org.apache.openjpa.ant.PCEnhancerTask.executeOn(PCEnhancerTask.java: 
> 89)
> at org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java: 
> 172)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 
> 288)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at  
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at  
> org 
> .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 
> 106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java: 
> 1337)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at  
> org 
> .apache 
> .tools 
> .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
> at org.apache.tools.ant.Main.runBuild(Main.java:758)
> at org.apache.tools.ant.Main.startAnt(Main.java:217)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
>
>
> ---
> regards
> Marc Logemann
> http://www.logemann.org
> http://www.logentis.de
>
>
>
>


Mime
View raw message