<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/eclemma/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/eclemma/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 27 May 2013 08:47:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/eclemma/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#103 EclEmma 2.0 can't handle test fragments</title><link>https://sourceforge.net/p/eclemma/bugs/103/?limit=25#7f79</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; closed-works-for-me&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Version 2.1.4&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marc R. Hoffmann</dc:creator><pubDate>Mon, 27 May 2013 08:47:51 -0000</pubDate><guid>https://sourceforge.netf3ca701b0b3b8cb5dd6ee53d9efcab7d13c9aa75</guid></item><item><title>dead lock accrue.</title><link>https://sourceforge.net/p/eclemma/bugs/142/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dead lock accrue. AppClassLoader tries to load class form ExtClassLoader and ExtClassLoader try to load class from AppClassLoader.&lt;br /&gt;
In my configuration AppClassLoader is excluded. So dead lock should not accrue. Is there any workaround&lt;/p&gt;
&lt;p&gt;&amp;lt;jacoco:coverage enabled="@{test.coverage}" destfile="${coverage.File}" includes="com.xxx.tool.*:com.xxx.ci.*:com.nomagic.cts.*:com.xxx.common.*"&lt;br /&gt;
excludes="org.*:java.*:com.xxx.rcpf.*:com.xxx.registration.*:sun.*:javax.*:com.oracle.*:com.sun.*" exclclassloader="sun.misc.Launcher$AppClassLoader:sun.reflect.DelegatingClassLoader"&amp;gt;&lt;/p&gt;
&lt;p&gt;Most our class is loaded by ExtClassLoader.&lt;/p&gt;
&lt;p&gt;"pool-tool-thread-1:Loading..." prio=10 tid=0x00007fde1c070800 nid=0x63e7 waiting for monitor entry [0x00007fde1a77f000]&lt;br /&gt;
java.lang.Thread.State: BLOCKED (on object monitor)&lt;br /&gt;
at org.jacoco.agent.rt_mlrowg.CoverageTransformer.transform(CoverageTransformer.java:78)&lt;br /&gt;
at sun.instrument.TransformerManager.transform(TransformerManager.java:169)&lt;br /&gt;
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:365)&lt;br /&gt;
at java.lang.ClassLoader.defineClass1(Native Method)&lt;br /&gt;
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)&lt;br /&gt;
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)&lt;br /&gt;
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)&lt;br /&gt;
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)&lt;br /&gt;
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)&lt;br /&gt;
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)&lt;br /&gt;
at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&lt;br /&gt;
at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)&lt;br /&gt;
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;br /&gt;
- locked &amp;lt;0x00000000b58a44a0&amp;gt; (a sun.misc.Launcher$ExtClassLoader)&lt;br /&gt;
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;br /&gt;
at com.xxx.tool.persistence.ci.d.j.&amp;lt;init&amp;gt;(j.java:151)&lt;br /&gt;
at com.xxx.tool.persistence.ci.d.d.doCreateProject(d.java:76)&lt;br /&gt;
at com.xxx.ci.persistence.spi.local.LocalProjectOpenUtil.createProject(LocalProjectOpenUtil.java:84)&lt;br /&gt;
at com.xxx.ci.persistence.spi.local.LocalProjectOpenUtil.doOpenProject(LocalProjectOpenUtil.java:53)&lt;br /&gt;
at com.xxx.ci.persistence.spi.local.LocalProjectRepository.doOpenProject(LocalProjectRepository.java:92)&lt;br /&gt;
at com.xxx.ci.persistence.spi.ProjectOpenUtil.doOpenProject(ProjectOpenUtil.java:50)&lt;br /&gt;
at com.xxx.ci.persistence.spi.ProjectOpenUtil.openProject(ProjectOpenUtil.java:34)&lt;br /&gt;
at com.xxx.ci.persistence.spi.DefaultProjectRepository.openProject(DefaultProjectRepository.java:218)&lt;br /&gt;
at com.xxx.tool.persistence.ProjectLoadService.loadStorage(ProjectLoadService.java:310)&lt;br /&gt;
at com.xxx.tool.persistence.ProjectLoadService.load(ProjectLoadService.java:203)&lt;br /&gt;
at com.xxx.tool.persistence.ProjectLoadService.load(ProjectLoadService.java:163)&lt;br /&gt;
at com.xxx.tool.persistence.ProjectLoadService.loadAndHandleErrors(ProjectLoadService.java:54)&lt;br /&gt;
at com.xxx.tool.persistence.ProjectLoadService$1.execute(ProjectLoadService.java:109)&lt;br /&gt;
at com.xxx.task.Task.construct(Task.java:188)&lt;br /&gt;
at com.xxx.task.SwingWorker$3.call(SwingWorker.java:227)&lt;br /&gt;
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&lt;br /&gt;
at java.util.concurrent.FutureTask.run(FutureTask.java:138)&lt;br /&gt;
at com.xxx.task.SwingWorker$SwingWorkerFuture.run(SwingWorker.java:573)&lt;br /&gt;
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;br /&gt;
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;br /&gt;
at com.xxx.task.PooledThread.run(PooledThread.java:64)&lt;/p&gt;
&lt;p&gt;"Thread-20" prio=10 tid=0x00007fde5dbdf800 nid=0x63e6 waiting for monitor entry [0x00007fde2a372000]&lt;br /&gt;
java.lang.Thread.State: BLOCKED (on object monitor)&lt;br /&gt;
at java.lang.ClassLoader.loadClass(ClassLoader.java:291)&lt;br /&gt;
- waiting to lock &amp;lt;0x00000000b58a44a0&amp;gt; (a sun.misc.Launcher$ExtClassLoader)&lt;br /&gt;
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)&lt;br /&gt;
- locked &amp;lt;0x00000000b58a4458&amp;gt; (a sun.misc.Launcher$AppClassLoader)&lt;br /&gt;
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&lt;br /&gt;
- locked &amp;lt;0x00000000b58a4458&amp;gt; (a sun.misc.Launcher$AppClassLoader)&lt;br /&gt;
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;br /&gt;
at java.beans.Introspector.instantiate(Introspector.java:1470)&lt;br /&gt;
at java.beans.Introspector.findExplicitBeanInfo(Introspector.java:431)&lt;br /&gt;
at java.beans.Introspector.&amp;lt;init&amp;gt;(Introspector.java:380)&lt;br /&gt;
at java.beans.Introspector.getBeanInfo(Introspector.java:167)&lt;br /&gt;
at org.apache.axis.utils.BeanUtils$1.run(BeanUtils.java:92)&lt;br /&gt;
at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;
at org.apache.axis.utils.BeanUtils.getPropertyDescriptors(BeanUtils.java:73)&lt;br /&gt;
at org.apache.axis.utils.BeanUtils.getPd(BeanUtils.java:63)&lt;br /&gt;
at org.apache.axis.description.TypeDesc.makePropertyDescriptors(TypeDesc.java:460)&lt;br /&gt;
- locked &amp;lt;0x00000000fed08428&amp;gt; (a org.apache.axis.description.TypeDesc)&lt;br /&gt;
at org.apache.axis.description.TypeDesc.getPropertyDescriptors(TypeDesc.java:439)&lt;br /&gt;
at org.apache.axis.encoding.ser.BeanSerializerFactory.init(BeanSerializerFactory.java:56)&lt;br /&gt;
at org.apache.axis.encoding.ser.BeanSerializerFactory.&amp;lt;init&amp;gt;(BeanSerializerFactory.java:42)&lt;br /&gt;
at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:235)&lt;br /&gt;
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2315)&lt;br /&gt;
at com.xxx.registration.user.Registration_serviceSoapBindingStub.createCall(Unknown Source)&lt;br /&gt;
- locked &amp;lt;0x00000000feda1040&amp;gt; (a com.xxx.registration.user.Registration_serviceSoapBindingStub)&lt;br /&gt;
at com.xxx.registration.user.Registration_serviceSoapBindingStub.checkActivation(Unknown Source)&lt;br /&gt;
at com.xxx.rcpf.product.c.a.n.w(n.java:405)&lt;br /&gt;
at com.xxx.rcpf.product.p$0.run(p$0.java:360)&lt;br /&gt;
at java.lang.Thread.run(Thread.java:662)&lt;/p&gt;
&lt;h1 id="found-one-java-level-deadlock"&gt;Found one Java-level deadlock:&lt;/h1&gt;
&lt;p&gt;"pool-MagicDraw-thread-1:Loading...":&lt;br /&gt;
waiting to lock monitor 0x00007fde4c0359e0 (object 0x00000000b58a4458, a sun.misc.Launcher$AppClassLoader),&lt;br /&gt;
which is held by "Thread-20"&lt;br /&gt;
"Thread-20":&lt;br /&gt;
waiting to lock monitor 0x00007fde4c035a88 (object 0x00000000b58a44a0, a sun.misc.Launcher$ExtClassLoader),&lt;br /&gt;
which is held by "pool-tool-thread-1:Loading..."&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 13 Dec 2012 07:17:32 -0000</pubDate><guid>https://sourceforge.neta2faff17ecf7e76c950c0b6bc0c227edaa3c1859</guid></item><item><title>Coverage report wrongly reporting 100% coverage</title><link>https://sourceforge.net/p/eclemma/bugs/141/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When the coverage on a project is very high, but still a few branches are not covered, EclEmma reports 100% coverage. I had 2 instructions missed in 5649 and it reported the module as 100% covered.&lt;br /&gt;
Probably this is due to some rounding, but in this case I would rather have a round down instead of a round up. If it had reported 99.9% I would've noticed much earlier that something was not covered.&lt;/p&gt;
&lt;p&gt;Version: EclEmma 2.2.0.201210261515&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eduardo Simioni</dc:creator><pubDate>Wed, 28 Nov 2012 17:18:49 -0000</pubDate><guid>https://sourceforge.netdf2a93a2d369e0f30a99fce24b5622595b76b511</guid></item><item><title>infinite wait on EclEmma "Loading..." after JUnit tests run</title><link>https://sourceforge.net/p/eclemma/bugs/140/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was running Eclipse Juno (Build id: 20120614-1722) with EclEmma 2.1.4.201208011137 and Eclipse EGit 2.0.0.201206130900 (among other plug-ins).  I have 100 JUnit-based tests that take about 1 second to run.  Getting code coverage based on that run takes less than an additional second.  Normally ...&lt;/p&gt;
&lt;p&gt;1) I ran the tests w/coverage and looked at the results.&lt;br /&gt;
2) I exited Eclipse&lt;br /&gt;
3) I moved the test data files&lt;br /&gt;
4) I "informed" git about the changes and did a "git commit"&lt;br /&gt;
5) I restarted Eclipse&lt;br /&gt;
BOOM&lt;br /&gt;
6) I can still run the JUnit tests, but _no_ coverage data!  I get an infinite wait on the "Loading..." message in the "Coverage" tab.&lt;/p&gt;
&lt;p&gt;There is nothing in the "Problems" tab.  Based on another (related) EclEmma bug (recorded on the Eclipse website), I checked the .log file and found the (attached) log fragment.  It seems that the moved data files are messing up EclEmma.&lt;/p&gt;
&lt;p&gt;WORKAROUND:&lt;br /&gt;
Doing an F5 (Refresh) on the "Package Explorer" tab resolves the problem.  (Nothing else, including Eclipse restarts, seems to work.)&lt;/p&gt;
&lt;p&gt;-- Configuration Details --&lt;br /&gt;
Product: Eclipse 1.5.0.20120131-1544 (org.eclipse.epp.package.jee.product)&lt;br /&gt;
Installed Features:&lt;br /&gt;
org.eclipse.platform 4.2.0.v20120608-135145-9JF7BHV8FyMteji0Oi_ePMz0xuZ8TVo7lV0z0ecb&lt;br /&gt;
[reply] [-] Comment 1&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeslie Chermak</dc:creator><pubDate>Fri, 21 Sep 2012 01:58:03 -0000</pubDate><guid>https://sourceforge.net5ecd1c497427cebd44c1563e90d9bd84263ba0e9</guid></item><item><title>jacoco:report behaves poorly when jacoco.exec missing</title><link>https://sourceforge.net/p/eclemma/bugs/139/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I want to run my Maven project's tests under JaCoCo, so I add to build/plugins:&lt;/p&gt;
&lt;p&gt;&amp;lt;plugin&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.jacoco&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;jacoco-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;0.5.9.201207300726&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;executions&amp;gt;&lt;br /&gt;
&amp;lt;execution&amp;gt;&lt;br /&gt;
&amp;lt;goals&amp;gt;&lt;br /&gt;
&amp;lt;goal&amp;gt;prepare-agent&amp;lt;/goal&amp;gt;&lt;br /&gt;
&amp;lt;/goals&amp;gt;&lt;br /&gt;
&amp;lt;/execution&amp;gt;&lt;br /&gt;
&amp;lt;execution&amp;gt;&lt;br /&gt;
&amp;lt;id&amp;gt;report&amp;lt;/id&amp;gt;&lt;br /&gt;
&amp;lt;phase&amp;gt;prepare-package&amp;lt;/phase&amp;gt;&lt;br /&gt;
&amp;lt;goals&amp;gt;&lt;br /&gt;
&amp;lt;goal&amp;gt;report&amp;lt;/goal&amp;gt;&lt;br /&gt;
&amp;lt;/goals&amp;gt;&lt;br /&gt;
&amp;lt;/execution&amp;gt;&lt;br /&gt;
&amp;lt;/executions&amp;gt;&lt;br /&gt;
&amp;lt;/plugin&amp;gt;&lt;/p&gt;
&lt;p&gt;This works but for one issue. If I am doing a build without tests:&lt;/p&gt;
&lt;p&gt;$ mvn -DskipTests clean package&lt;/p&gt;
&lt;p&gt;then the report goal prints a big messy stack trace:&lt;/p&gt;
&lt;p&gt;[jacoco:report]&lt;br /&gt;
Unable to read execution data file .../target/jacoco.exec: .../target/jacoco.exec (No such file or directory)&lt;br /&gt;
java.io.FileNotFoundException: .../target/jacoco.exec (No such file or directory)&lt;br /&gt;
at java.io.FileInputStream.open(Native Method)&lt;br /&gt;
at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:138)&lt;br /&gt;
at org.jacoco.maven.ReportMojo.loadExecutionData(ReportMojo.java:251)&lt;br /&gt;
at org.jacoco.maven.ReportMojo.executeReport(ReportMojo.java:228)&lt;br /&gt;
at org.jacoco.maven.ReportMojo.execute(ReportMojo.java:217)&lt;br /&gt;
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)&lt;br /&gt;
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)&lt;br /&gt;
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)&lt;br /&gt;
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)&lt;br /&gt;
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)&lt;br /&gt;
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)&lt;br /&gt;
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)&lt;br /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br /&gt;
at java.lang.reflect.Method.invoke(Method.java:601)&lt;br /&gt;
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)&lt;br /&gt;
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)&lt;br /&gt;
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)&lt;br /&gt;
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)&lt;/p&gt;
&lt;p&gt;If jacoco.exec is missing, it should just assume that tests were not run at all, and print a one-line warning.&lt;/p&gt;
&lt;p&gt;I tried to work around this by enabling the plugin only in a profile with&lt;/p&gt;
&lt;p&gt;&amp;lt;activation&amp;gt;&lt;br /&gt;
&amp;lt;property&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;!skipTests&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/property&amp;gt;&lt;br /&gt;
&amp;lt;/activation&amp;gt;&lt;/p&gt;
&lt;p&gt;but this is worse: JaCoCo is incorrectly disabled when running with -DskipTests=false. &lt;a href="http://jira.codehaus.org/browse/MNG-3328" rel="nofollow"&gt;http://jira.codehaus.org/browse/MNG-3328&lt;/a&gt; makes it hard to work around this - you have to create two profiles.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jesse Glick</dc:creator><pubDate>Thu, 30 Aug 2012 19:14:33 -0000</pubDate><guid>https://sourceforge.neta7485679e5862e59d87a072dc7e84938e323a25b</guid></item><item><title>Conflict with other Java agents</title><link>https://sourceforge.net/p/eclemma/bugs/138/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using JaCoCo 0.5.10 and JMockit 0.999.16, a deadlock occurs when the JaCoCo CoverageTransformer receives a class being redefined by JMockit.&lt;/p&gt;
&lt;p&gt;The following (partial) thread dump shows what happens at runtime, just after the deadlock:&lt;/p&gt;
&lt;p&gt;"Attach Listener" daemon prio=10 tid=0x0076cc00 nid=0x618 in Object.wait() [0x00eee000]&lt;br /&gt;
java.lang.Thread.State: RUNNABLE&lt;br /&gt;
at sun.misc.Unsafe.ensureClassInitialized(Native Method)&lt;br /&gt;
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)&lt;br /&gt;
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)&lt;br /&gt;
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:949)&lt;br /&gt;
at java.lang.reflect.Field.getFieldAccessor(Field.java:930)&lt;br /&gt;
at java.lang.reflect.Field.set(Field.java:680)&lt;br /&gt;
at org.jacoco.agent.rt_cdwjjf.core.runtime.AbstractRuntime.disconnect(AbstractRuntime.java:90)&lt;br /&gt;
at org.jacoco.agent.rt_cdwjjf.CoverageTransformer.transform(CoverageTransformer.java:90)&lt;br /&gt;
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)&lt;br /&gt;
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)&lt;br /&gt;
at sun.instrument.InstrumentationImpl.redefineClasses0(Native Method)&lt;br /&gt;
at sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:170)&lt;br /&gt;
at mockit.internal.startup.Startup.redefineMethods(Startup.java:124)&lt;br /&gt;
at mockit.internal.startup.Startup.redefineMethods(Startup.java:118)&lt;br /&gt;
at mockit.internal.annotations.MockClassSetup.applyClassModifications(MockClassSetup.java:162)&lt;br /&gt;
at mockit.internal.annotations.MockClassSetup.redefineMethodsInClassHierarchy(MockClassSetup.java:128)&lt;br /&gt;
at mockit.internal.annotations.MockClassSetup.redefineMethods(MockClassSetup.java:117)&lt;br /&gt;
at mockit.internal.annotations.MockClassSetup.setUpStartupMock(MockClassSetup.java:111)&lt;br /&gt;
at mockit.internal.startup.JMockitInitialization.setUpInternalStartupMock(JMockitInitialization.java:56)&lt;br /&gt;
at mockit.internal.startup.JMockitInitialization.loadInternalStartupMocksForJUnitIntegration(JMockitInitialization.java:48)&lt;br /&gt;
at mockit.internal.startup.JMockitInitialization.initialize(JMockitInitialization.java:26)&lt;br /&gt;
at mockit.internal.startup.Startup.initialize(Startup.java:68)&lt;br /&gt;
at mockit.internal.startup.Startup.agentmain(Startup.java:62)&lt;br /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br /&gt;
at java.lang.reflect.Method.invoke(Method.java:601)&lt;br /&gt;
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)&lt;br /&gt;
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:407)&lt;/p&gt;
&lt;p&gt;"main" prio=6 tid=0x0034c000 nid=0x10d0 runnable [0x0069e000]&lt;br /&gt;
java.lang.Thread.State: RUNNABLE&lt;br /&gt;
at sun.tools.attach.WindowsVirtualMachine.connectPipe(Native Method)&lt;br /&gt;
at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:100)&lt;br /&gt;
at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:58)&lt;br /&gt;
at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:79)&lt;br /&gt;
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:103)&lt;br /&gt;
at mockit.internal.startup.JDK6AgentLoader.loadAgentAndDetachFromThisVM(JDK6AgentLoader.java:117)&lt;br /&gt;
at mockit.internal.startup.JDK6AgentLoader.loadAgent(JDK6AgentLoader.java:61)&lt;br /&gt;
at mockit.internal.startup.AgentInitialization.initializeAccordingToJDKVersion(AgentInitialization.java:21)&lt;br /&gt;
at mockit.internal.startup.Startup.initializeIfNeeded(Startup.java:98)&lt;br /&gt;
at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:112)&lt;br /&gt;
at org.junit.runner.Runner.&amp;lt;clinit&amp;gt;(Runner.java:22)&lt;br /&gt;
at ... (other JUnit and IDE-specific entries)&lt;/p&gt;
&lt;p&gt;The attached zip file should allow you to reproduce it (I used IntelliJ IDEA, but should work with Eclipse too, provided you add "-javaagent:jacocoagent.jar" to the JVM command line). For more details, see the original issue in the JMockit project: &lt;a href="http://code.google.com/p/jmockit/issues/detail?id=239" rel="nofollow"&gt;http://code.google.com/p/jmockit/issues/detail?id=239&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This can only be solved on JaCoCo's side, I suspect, but I am willing to make changes to JMockit if needed. Let me know you need anything more. Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 21 Aug 2012 17:44:20 -0000</pubDate><guid>https://sourceforge.netd44e19acd0de97e530d2312ee1b38605ca902dea</guid></item><item><title>Maven Report goal fails on missing classes directory</title><link>https://sourceforge.net/p/eclemma/bugs/137/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Version 0.5.9&lt;br /&gt;
Maven 3.0.4&lt;/p&gt;
&lt;p&gt;The maven plugins fails, if the project contains only test classes and there fore the folder target/classes is missing.&lt;/p&gt;
&lt;p&gt;Suggestion to quick fix the problem: check if the folder exists&lt;/p&gt;
&lt;p&gt;IBundleCoverage createBundle() throws IOException {&lt;br /&gt;
final CoverageBuilder builder = new CoverageBuilder();&lt;br /&gt;
final Analyzer analyzer = new Analyzer(executionDataStore, builder);&lt;br /&gt;
final File classesDir = new File(getProject().getBuild()&lt;br /&gt;
.getOutputDirectory());&lt;/p&gt;
&lt;p&gt;if( classDir.exists() == true ) {&lt;br /&gt;
final List&amp;lt;File&amp;gt; filesToAnalyze = getFilesToAnalyze(classesDir);&lt;/p&gt;
&lt;p&gt;if( filesToAnalyze.size() != 0 ) {&lt;br /&gt;
for (final File file : filesToAnalyze) {&lt;br /&gt;
analyzer.analyzeAll(file);&lt;br /&gt;
}&lt;br /&gt;
} else {&lt;br /&gt;
log().info("no classes found to added for analyse");&lt;br /&gt;
}&lt;br /&gt;
} else {&lt;br /&gt;
log().info("no output folder found and noclassed added for analyse");&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;return builder.getBundle(getProject().getName());&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;I'm not sure if this will fix the problem in generell, because I do not know what happens if the CovarageBuilder contains no classes.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Jens&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jens</dc:creator><pubDate>Thu, 16 Aug 2012 21:40:39 -0000</pubDate><guid>https://sourceforge.netf7a169fe07dce1ce15a2ba1af512ac80e84841b9</guid></item><item><title>Surefire java.endorsed.dirs causes no jacoco.exec</title><link>https://sourceforge.net/p/eclemma/bugs/136/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;maven-surefire-plugin with &amp;lt;argLine&amp;gt;-Djava.endorsed.dirs="${endorsed.dir}"&amp;lt;/argLine&amp;gt; causes no jacoco.exec to be generated. I used the java.endorsed.dirs mechanism, so my tests can run with the latest Jax-WS jars. Below is the configuration:&lt;/p&gt;
&lt;p&gt;&amp;lt;plugin&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.jacoco&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;jacoco-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;0.5.9.201207300726&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;executions&amp;gt;&lt;br /&gt;
&amp;lt;execution&amp;gt;&lt;br /&gt;
&amp;lt;id&amp;gt;prepare-agent&amp;lt;/id&amp;gt;&lt;br /&gt;
&amp;lt;phase&amp;gt;process-test-resources&amp;lt;/phase&amp;gt;&lt;br /&gt;
&amp;lt;goals&amp;gt;&lt;br /&gt;
&amp;lt;goal&amp;gt;prepare-agent&amp;lt;/goal&amp;gt;&lt;br /&gt;
&amp;lt;/goals&amp;gt;&lt;br /&gt;
&amp;lt;/execution&amp;gt;&lt;br /&gt;
&amp;lt;/executions&amp;gt;&lt;br /&gt;
&amp;lt;/plugin&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;plugin&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;maven-surefire-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;2.12.1&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
We need to override the default JDK JAX-WS implementation,&lt;br /&gt;
so this is where we will store the jars and set&lt;br /&gt;
java.endorsed.dirs to for the JUnit tests.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;argLine&amp;gt;-Djava.endorsed.dirs="${endorsed.dir}"&amp;lt;/argLine&amp;gt;&lt;br /&gt;
&amp;lt;includes&amp;gt;&lt;br /&gt;
&amp;lt;include&amp;gt;**/*Test.java&amp;lt;/include&amp;gt;&lt;br /&gt;
&amp;lt;/includes&amp;gt;&lt;br /&gt;
&amp;lt;skipTests&amp;gt;${tests.skip}&amp;lt;/skipTests&amp;gt;                  &lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&amp;lt;/plugin&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steven P. Goldsmith</dc:creator><pubDate>Fri, 10 Aug 2012 17:00:58 -0000</pubDate><guid>https://sourceforge.netba520658b41ef15263f4c4a7e479d223c9a6411b</guid></item><item><title>Crashing bug</title><link>https://sourceforge.net/p/eclemma/bugs/135/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;With the last 2 releases (so starting in 0.5.8) we've been hitting a crashing bug in which garbage collection operations seem to cause a crash of the JVM.  This only seems to occur with coverage enabled (so not when running under the debugger or normally).  This also does not reproduce with versions of JaCoCo prior to the last 2.  Sorry I don't have more information - I'm trying to narrow down some repro steps but this bug only reproduces for one of our larger tests suites so that would be a lot of code to get running.  I've tried playing around with the memory settings and even with a lot of perm-gen and heap memory the issue still reproduces.  I've also tried Java 6 and 7 and both reproduce the issue as well.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Derek</dc:creator><pubDate>Wed, 01 Aug 2012 16:22:20 -0000</pubDate><guid>https://sourceforge.net54294bb25b62ba5da45b54b56d3f47096bd18ae5</guid></item><item><title>Session export fails on common source folder postfixes</title><link>https://sourceforge.net/p/eclemma/bugs/134/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When using a project with multiple source folders where the last section of the path name is identical, session export produces erroneous results. An example project would be a standard maven module with source folders&lt;br /&gt;
src/main/java&lt;br /&gt;
src/test/java&lt;br /&gt;
The session view will list both folders, but when exporting the group names will be shortened to "java" for both source folders. This produces various bugs:&lt;/p&gt;
&lt;p&gt;When using html export, the project view lists two source folders, both named "java", where one has the coverage values for src/main/java and the other for src/test/java. however, since both are exported into a folder subfolder named java, the source folder view you get is the same in both cases, since the first exported overview index file is overwritten by the second one. Effectively, the data for one of the source folders becomes inaccessible.&lt;/p&gt;
&lt;p&gt;When using html as zipped file, the export will even fail, because the zip exporter throws an exception when a second project/java/index.html file is attempted to be packaged into the zip file.&lt;/p&gt;
&lt;p&gt;For XML export, the same thing occurs where the xml file contains two &amp;lt;group name="java"&amp;gt; elements for the project, i'm not sure if this causes any problems anywhere, but it certainly isn't healthy. I would expect similar behavior for exported JaCoCo exec files.&lt;/p&gt;
&lt;p&gt;I tested this on 2.1.1, but could not verify it with 2.1.3, because i can't start my test suite as coverage run with that version anymore, no clue why that is but it's most certainly unrelated. I assume the issue still occurs in 2.1.3 as i didn't find any issues on that topic until now. I don't think my system specs are of any relevance for this issue, but just in case, i'm running java7u2 64bit under win7 64bit and am using the eclemma plugin with Indigo SR2.&lt;/p&gt;
&lt;p&gt;As a workaround, the source folder filter can be set to only include src/main/java and create one session and export it, and then src/test/java and create a second session and export it. But i feel, rather than replacing some/source/dir by dir, it might be better to either leave it at some/source/dir, or - if for file format reasons this is not possible - make it some_source_dir or something similar instead.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 26 Jul 2012 17:53:01 -0000</pubDate><guid>https://sourceforge.net366818ece8eeedece72add2a055a371e60b82531</guid></item></channel></rss>