Is org.eclemma.runtime.equinox_1.1.0.200908261008 is compatible with eclipse 3.7.1 equinox launcher ?.
right now i am getting the below exception while running the automated junit test case
14-Jun-2012 20:03:35 java-test:
--redacted--
14-Jun-2012 20:03:51 Exception in thread \"State Saver\" java.lang.NullPointerException
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooksPriviledged(Framework.java:1099)
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooks(Framework.java:1084)
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.getBundles(Framework.java:1077)
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundles(BundleContextImpl.java:176)
14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:584)
14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:457)
14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1304)
14-Jun-2012 20:03:51 at java.lang.Thread.run(Thread.java:722)
Last edit: Anonymous 2013-05-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the Emma Equinox runtime is not maintained any more and I don't think it works for Eclipse 3.7. As mentioned in the description the Exquinox -Hook hass been superseeded by our JaCoCo library, which uses dynamic instrumentation based on a java agent.
Best regards,
-marc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my use case is to run the automated test cases in eclipse 3.7.1 build environment using emma code coverage tool,for that i have downloaded eclipse 3.7.1 test framework and integarted in my build environment but the thing is still i am using the same equinox launcher plugin for emma which ever i was using for eclipse 3.6.2 .
i am getting the below exception while using eclipse 3.7.1 with emma
--redacted--
org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooksPriviledged(Framework.java:1099) 14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooks(Framework.java:1084) 14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.getBundles(Framework.java:1077) 14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundles(BundleContextImpl.java:176) 14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:584) 14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:457) 14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1304) 14-Jun-2012 20:03:51 at java.lang.Thread.run(Thread.java:722)
Last edit: Anonymous 2013-05-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is org.eclemma.runtime.equinox_1.1.0.200908261008 is compatible with eclipse 3.7.1 equinox launcher ?.
right now i am getting the below exception while running the automated junit test case
14-Jun-2012 20:03:35 java-test:
--redacted--
14-Jun-2012 20:03:51 Exception in thread \"State Saver\" java.lang.NullPointerException
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooksPriviledged(Framework.java:1099)
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooks(Framework.java:1084)
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.getBundles(Framework.java:1077)
14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundles(BundleContextImpl.java:176)
14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:584)
14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:457)
14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1304)
14-Jun-2012 20:03:51 at java.lang.Thread.run(Thread.java:722)
Last edit: Anonymous 2013-05-28
Hi,
the Emma Equinox runtime is not maintained any more and I don't think it works for Eclipse 3.7. As mentioned in the description the Exquinox -Hook hass been superseeded by our JaCoCo library, which uses dynamic instrumentation based on a java agent.
Best regards,
-marc
hello Marc,
Thanks for your reply.
So there is no emma support for eclipse 3.7.1?
If you really want to use EMMA there are other options to integrate it with Eclipse tests. For example you can instrument your bundles at build time.
What is your exact use case? Why does JaCoCo or EclEmma not work for you?
Best regards,
-marc
Hello Marc,
my use case is to run the automated test cases in eclipse 3.7.1 build environment using emma code coverage tool,for that i have downloaded eclipse 3.7.1 test framework and integarted in my build environment but the thing is still i am using the same equinox launcher plugin for emma which ever i was using for eclipse 3.6.2 .
i am getting the below exception while using eclipse 3.7.1 with emma
--redacted--
org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooksPriviledged(Framework.java:1099) 14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.notifyFindHooks(Framework.java:1084) 14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.Framework.getBundles(Framework.java:1077) 14-Jun-2012 20:03:51 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundles(BundleContextImpl.java:176) 14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:584) 14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:457) 14-Jun-2012 20:03:51 at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1304) 14-Jun-2012 20:03:51 at java.lang.Thread.run(Thread.java:722)
Last edit: Anonymous 2013-05-28
In this case I recommend to give JaCoCo a try. It will easily integrates in your build, is as fast as EMMA and shows branch coverage in addition.
If you really want to stick with EMMA you can study documentation how you can manually instrument your bundles in your build.
Cheers,
-marc