You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(66) |
Apr
(29) |
May
(85) |
Jun
(66) |
Jul
(24) |
Aug
(139) |
Sep
(72) |
Oct
(26) |
Nov
(142) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(55) |
Feb
(72) |
Mar
(43) |
Apr
(60) |
May
(95) |
Jun
(22) |
Jul
(48) |
Aug
(17) |
Sep
(54) |
Oct
(30) |
Nov
(82) |
Dec
(17) |
2007 |
Jan
(23) |
Feb
(38) |
Mar
(46) |
Apr
(12) |
May
(77) |
Jun
(77) |
Jul
(94) |
Aug
(51) |
Sep
(38) |
Oct
(57) |
Nov
(39) |
Dec
(67) |
2008 |
Jan
(38) |
Feb
(56) |
Mar
(42) |
Apr
(46) |
May
(37) |
Jun
(43) |
Jul
(52) |
Aug
(22) |
Sep
(22) |
Oct
(34) |
Nov
(37) |
Dec
(29) |
2009 |
Jan
(27) |
Feb
(35) |
Mar
(67) |
Apr
(37) |
May
(31) |
Jun
(79) |
Jul
(71) |
Aug
(59) |
Sep
(31) |
Oct
(47) |
Nov
(36) |
Dec
(7) |
2010 |
Jan
(15) |
Feb
(87) |
Mar
(38) |
Apr
(33) |
May
(24) |
Jun
(47) |
Jul
(26) |
Aug
(28) |
Sep
(33) |
Oct
(13) |
Nov
(8) |
Dec
(36) |
2011 |
Jan
(32) |
Feb
(10) |
Mar
(29) |
Apr
(29) |
May
(17) |
Jun
(14) |
Jul
(33) |
Aug
(11) |
Sep
(7) |
Oct
(7) |
Nov
(6) |
Dec
(10) |
2012 |
Jan
(19) |
Feb
(12) |
Mar
(16) |
Apr
(6) |
May
(18) |
Jun
(18) |
Jul
(31) |
Aug
(25) |
Sep
|
Oct
(31) |
Nov
(21) |
Dec
(9) |
2013 |
Jan
(8) |
Feb
(16) |
Mar
(8) |
Apr
(7) |
May
(3) |
Jun
(29) |
Jul
(29) |
Aug
|
Sep
(7) |
Oct
(9) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(13) |
May
(8) |
Jun
(5) |
Jul
(2) |
Aug
(4) |
Sep
(4) |
Oct
(2) |
Nov
|
Dec
(2) |
2015 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Harry C. <har...@bb...> - 2013-07-10 13:45:59
|
Hello Steve. Sorry for the delay. My instrumentation task is launch by ant through Maven (Maven Ant Tasks). Here is my build.xml file: build.xml <http://cobertura.996293.n3.nabble.com/file/n3353/build.xml> Here is the Ant plugin config in my pom.xml: pom_extract.xml <http://cobertura.996293.n3.nabble.com/file/n3353/pom_extract.xml> Instrumenting task is binded to process-classes phase. Report generation is binded to site phase. The command i run is : *mvn clean test site* -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3353.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: <unn...@ac...> - 2013-07-10 06:17:27
|
Hi Steve, The method code is of 3000 lines. Regards, Unni. From: Steven Christou [mailto:sch...@gm...] Sent: Tuesday, July 09, 2013 7:17 PM To: Louis Unni, Unni Cc: cob...@li...; Budhiraja, Neeraj Subject: Re: [Cobertura-devel] Cobertura logs How large is the method code (lines of code)? We do tests for large files, however we don't do a test for a large method. I assume there's one very large method. Also it looks like this might be an issue coming from ASM MethodWriter, which might be a little more difficult to fix. Thanks, Steve. On 07/09/2013 04:34 AM, unn...@ac...<mailto:unn...@ac...> wrote: Hi All, Please find Cobertura logs we get after including DFA296SweepDao.class . Although this is a warning , we get a blank cobertura report if we include this test case. INFO] Compiling 1 source file to C:\batchkit\target\classes [INFO] [cobertura:instrument {execution: default-instrument}] [INFO] Cobertura null - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura] WARN [main] net.sourceforge.cobertura.instrument.CoberturaInstrumenter - Unable to instrument file C:\batchkit\target\generated-classes\cobertura\com\accenture\batchkit\batch\reportsweep\data\DFA296SweepDao.class java.lang.RuntimeException: Method code too large! at org.objectweb.asm.MethodWriter.a(Unknown Source) at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:207) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:233) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:274) at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:283) at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:373) at net.sourceforge.cobertura.instrument.Main.main(Main.java:395) [ERROR] Jul 8, 2013 10:46:52 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler saveCoverageData INFO: Cobertura: Saved information on 679 classes. Thanks and Regards, Unni. ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com<http://www.accenture.com> ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Cobertura-devel mailing list Cob...@li...<mailto:Cob...@li...> https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Steven C. <sch...@gm...> - 2013-07-09 13:47:01
|
How large is the method code (lines of code)? We do tests for large files, however we don't do a test for a large method. I assume there's one very large method. Also it looks like this might be an issue coming from ASM MethodWriter, which might be a little more difficult to fix. Thanks, Steve. On 07/09/2013 04:34 AM, unn...@ac... wrote: > > Hi All, > > Please find Cobertura logs we get after including DFA296SweepDao.class . > > Although this is a warning , we get a blank cobertura report if we > include this test case. > > INFO] Compiling 1 source file to C:\batchkit\target\classes > > [INFO] [cobertura:instrument {execution: default-instrument}] > > [INFO] Cobertura null - GNU GPL License (NO WARRANTY) - See COPYRIGHT file > > [cobertura] WARN [main] > net.sourceforge.cobertura.instrument.CoberturaInstrumenter - Unable to > instrument file > C:\batchkit\target\generated-classes\cobertura\com\accenture\batchkit\batch\reportsweep\data\DFA296SweepDao.class > > java.lang.RuntimeException: Method code too large! > > at org.objectweb.asm.MethodWriter.a(Unknown Source) > > at org.objectweb.asm.ClassWriter.toByteArray(Unknown > Source) > > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:207) > > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121) > > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:233) > > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:274) > > at > net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:283) > > at > net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:373) > > at > net.sourceforge.cobertura.instrument.Main.main(Main.java:395) > > [ERROR] Jul 8, 2013 10:46:52 PM > net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler > saveCoverageData > > INFO: Cobertura: Saved information on 679 classes. > > Thanks and Regards, > > Unni. > > > ------------------------------------------------------------------------ > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise confidential information. If you > have received it in error, please notify the sender immediately and > delete the original. Any other use of the e-mail by you is prohibited. > > Where allowed by local law, electronic communications with Accenture > and its affiliates, including e-mail and instant messaging (including > content), may be scanned by our systems for the purposes of > information security and assessment of internal compliance with > Accenture policy. > > ______________________________________________________________________________________ > > www.accenture.com > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: <unn...@ac...> - 2013-07-09 09:47:34
|
[INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'cobertura'. [INFO] ------------------------------------------------------------------------ [INFO] Building Batch Starter Kit [INFO] task-segment: [cobertura:cobertura] [INFO] ------------------------------------------------------------------------ [INFO] Preparing cobertura:cobertura [INFO] [resources:copy-resources {execution: copy-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 37 resources [INFO] [resources:copy-resources {execution: copy-launcher}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 23 resources [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\batchkit\src\main\resources Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/bpm-infra/11.1.1.3.0/bpm-infra-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:bpm-infra:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/bpm-infra/11.1.1.3.0/bpm-infra-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:bpm-infra:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/bpm-services/11.1.1.3.0/bpm-services-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:bpm-services:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/bpm-services/11.1.1.3.0/bpm-services-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:bpm-services:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/fabric-common/11.1.1.3.0/fabric-common-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:fabric-common:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/fabric-common/11.1.1.3.0/fabric-common-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:fabric-common:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/oracle-soa-client-api/11.1.1.3.0/oracle-soa-client-api-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:oracle-soa-client-api:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/oracle-soa-client-api/11.1.1.3.0/oracle-soa-client-api-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:oracle-soa-client-api:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/oracle.soa.fabric/11.1.1.3.0/oracle.soa.fabric-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:oracle.soa.fabric:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/oracle.soa.fabric/11.1.1.3.0/oracle.soa.fabric-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:oracle.soa.fabric:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/soa-infra-mgmt/11.1.1.3.0/soa-infra-mgmt-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:soa-infra-mgmt:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/soa-infra-mgmt/11.1.1.3.0/soa-infra-mgmt-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:soa-infra-mgmt:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://dev.svn:8081/nexus/content/repositories/public/oracle/soa/wsclient_extended/11.1.1.3.0/wsclient_extended-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:wsclient_extended:pom:11.1.1.3.0' in repository apsp-central (http://dev.svn:8081/nexus/content/repositories/public) Downloading: http://repo1.maven.org/maven2/oracle/soa/wsclient_extended/11.1.1.3.0/wsclient_extended-11.1.1.3.0.pom [INFO] Unable to find resource 'oracle.soa:wsclient_extended:pom:11.1.1.3.0' in repository central (http://repo1.maven.org/maven2) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 1 source file to C:\batchkit\target\classes [INFO] [cobertura:instrument {execution: default-instrument}] [INFO] Cobertura null - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura] WARN [main] net.sourceforge.cobertura.instrument.CoberturaInstrumenter - Unable to instrument file C:\batchkit\target\generated-classes\cobertura\com\accenture\batchkit\batch\reportsweep\data\DFA296SweepDao.class java.lang.RuntimeException: Method code too large! at org.objectweb.asm.MethodWriter.a(Unknown Source) at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:207) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:233) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:274) at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:283) at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:373) at net.sourceforge.cobertura.instrument.Main.main(Main.java:395) [ERROR] Jul 8, 2013 10:46:52 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler saveCoverageData INFO: Cobertura: Saved information on 679 classes. [INFO] Instrumentation was successful. [INFO] NOT adding cobertura ser file to attached artifacts list. [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\batchkit\src\test\resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: C:\batchkit\target\surefire-reports [INFO] Using configured provider org.apache.maven.surefire.junit4.JUnit4Provider ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.accenture.batchkit.architecture.batch.print.BundlerModuleDaoTest Tests run: 18, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.362 sec <<< FAILURE! Running com.accenture.batchkit.architecture.forms.FormDataListDaoTest SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/neeraj.budhiraja/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/neeraj.budhiraja/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. java.lang.ClassNotFoundException: POPUL_MODULE_NAME at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:145) at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.accenture.apsp.architecture.forms.DaoFactory.getFormDao(DaoFactory.java:69) at com.accenture.batchkit.architecture.forms.FormDataListDao.getFormDaoList(FormDataListDao.java:190) at com.accenture.batchkit.architecture.forms.FormDataListDao.getFormDaoList(FormDataListDao.java:111) at com.accenture.batchkit.architecture.forms.FormDataListDaoTest.testGetFormDaoList_All_Conditions_True(FormDataListDaoTest.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:310) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:294) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:127) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:282) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:207) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:146) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:120) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:118) at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:101) at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:53) at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:53) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) java.lang.ClassNotFoundException: POPUL_MODULE_NAME at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:145) at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.accenture.apsp.architecture.forms.DaoFactory.getFormDao(DaoFactory.java:69) at com.accenture.batchkit.architecture.forms.FormDataListDao.getFormDaoList(FormDataListDao.java:190) at com.accenture.batchkit.architecture.forms.FormDataListDao.getFormDataList(FormDataListDao.java:82) at com.accenture.batchkit.architecture.forms.FormDataListDaoTest.testGetFormDataList_All_Conditions_True(FormDataListDaoTest.java:339) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:310) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:294) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:127) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:282) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:207) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:146) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:120) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:118) at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:101) at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:53) at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:53) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) java.sql.SQLException at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:46) at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:85) at $Proxy11.executeQuery(Unknown Source) at com.accenture.batchkit.architecture.forms.FormDataListDao.getFormList(FormDataListDao.java:551) at com.accenture.batchkit.architecture.forms.FormDataListDaoTest.testGetFormList_Catch_SQL_Exception(FormDataListDaoTest.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:310) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:294) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:127) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:282) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:207) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:146) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:120) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44) at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:118) at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:101) at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:53) at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:53) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.49 sec Running com.accenture.batchkit.architecture.print.PrintBundleStatsDaoTest Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.624 sec <<< FAILURE! Running com.accenture.batchkit.architecture.print.PrintFileDaoTest Tests run: 26, Failures: 0, Errors: 16, Skipped: 0, Time elapsed: 0.266 sec <<< FAILURE! Running com.accenture.batchkit.batch.admin.data.BatchSkippedPrintAdminEmailDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.777 sec Running com.accenture.batchkit.batch.batchedbc.data.BatchEdbcLogDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.accenture.batchkit.batch.batchedbc.data.CasesFilteringDaoTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.accenture.batchkit.batch.batchedbc.data.EligTriggerDaoTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.884 sec Running com.accenture.batchkit.batch.batchedbc.data.LoadBalancingDaoTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.accenture.batchkit.batch.casecopy.data.CaseCopyBatchDaoTest Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.966 sec Running com.accenture.batchkit.batch.casecopy.data.CaseCopyListPurgeDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running com.accenture.batchkit.batch.casecopy.data.CaseCopyTriggersBatchDaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.386 sec Running com.accenture.batchkit.batch.caseloadreport.data.BatchCaseloadReportBalancingDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.caseloadreport.data.BatchCaseloadReportDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.caseloadreport.data.BatchCaseloadReportSweepDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.621 sec Running com.accenture.batchkit.batch.childcare.data.ChildCareTaskDaoTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.childcare.data.UpdateChildCareCertificateDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running com.accenture.batchkit.batch.collaboration.changestatus.data.UpdateActivitiesStatusDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.collaboration.changestatus.data.UpdateCollaboratorStatusDaoTest Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec <<< FAILURE! Running com.accenture.batchkit.batch.collaboration.changestatus.data.UpdateContractStatusDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.collaboration.changestatus.data.UpdateJobOrderStatusDaoTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.collaboration.changestatus.data.UpdateLicenseStatusDaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.collaboration.changestatus.data.UpdateServiceStatusDaoTest Tests run: 16, Failures: 8, Errors: 2, Skipped: 0, Time elapsed: 0.078 sec <<< FAILURE! Running com.accenture.batchkit.batch.collaboration.createtask.data.CollaborationTaskUtilityDaoTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.445 sec Running com.accenture.batchkit.batch.collaboration.deletejoborder.data.DeleteJobOrdersDaoTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec Running com.accenture.batchkit.batch.data.UpdateBatchDateDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.datacleanup.data.BatchTaskPurgeDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running com.accenture.batchkit.batch.datacleanup.data.NoaSnippetCleanupDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.datacleanup.data.OrphanPersonCleanupDaoTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.562 sec Running com.accenture.batchkit.batch.datacleanup.data.OrphanRecordCleanupDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.95 sec Running com.accenture.batchkit.batch.datacleanup.data.OverpaymentCleanUpDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.datacleanup.data.ProgramsWithoutPeopleCleanupDaoTest 2013-07-08 22:47:58,583+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table ALERT for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,599+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CHILD_CARE_ELIG_RSN for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,630+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CHILD_CARE_INC_SRC for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,646+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CHILD_CARE_PGM_INC for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,661+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CUST_RPT for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,677+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CUST_RPT_PGM_TYPE for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,692+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CUST_RPT for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,708+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table CUST_RPT_QUES for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,724+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table DAILY_COL_CHNG for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,739+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table FC_REDETER for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,755+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table GENERATE_DOC for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,770+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table IMMED_NEED_ITEM for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,786+0530 ERROR [localLogger] main: nullnull Duplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table KIN_GAP for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,802+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table MC_PGM for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,817+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,833+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_ADMIN for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,848+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_APP for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,864+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_APP_EFS for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,880+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_ASSIGN for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,880+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_DETL for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,911+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_HEAR_SUMM for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,926+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_RESULT for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,942+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_SPEC_INVESTIG_SUMM for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,958+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table REDETER for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,973+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table SUMM_COL_CHNG for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:58,989+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table TABLE_RECRD_CHNG for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:59,004+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table VERIF_FOR_CHILD_CARE_PGM_INC for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:59,020+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table VERIF_FOR_KIN_GAP for a reason other than NO_ROWS_UPDATED_EXCEPTION 2013-07-08 22:47:59,036+0530 ERROR [localLogger] main: nullnull nullDuplicate Row - Unique Constraint Violated + java.sql.SQLException: ProgramId 1 was not deleted from table PGM_APP_EVENT for a reason other than NO_ROWS_UPDATED_EXCEPTION Tests run: 62, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.615 sec Running com.accenture.batchkit.batch.datacleanup.data.RecoveryAccountCleanUpDaoTest Tests run: 47, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec Running com.accenture.batchkit.batch.datacleanup.data.SummStatCleanupDaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.datacleanup.data.UnconfirmedReassignPurgeDaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.datacleanup.data.UpdateIhssReferralDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.edbcsweeps.data.ABAWD2ndInstanceDiscontinuanceDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running com.accenture.batchkit.batch.edbcsweeps.data.BenefitReductionRedistributionDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.edbcsweeps.data.CMSPDiscontinuanceSweepDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running com.accenture.batchkit.batch.edbcsweeps.data.Find7XDiscontinueDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec Running com.accenture.batchkit.batch.edbcsweeps.data.FindCECChildTurned19DaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.872 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindCWChildTurned18DaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec Running com.accenture.batchkit.batch.edbcsweeps.data.FindCWMC1931ChildTurned19DaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec Running com.accenture.batchkit.batch.edbcsweeps.data.FindDiscontinueFSRecertDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.edbcsweeps.data.FindDiscontinueQR7DaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running com.accenture.batchkit.batch.edbcsweeps.data.FindMC100PercentChildTurned19DaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.762 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindMC133PercentChildTurned6DaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.075 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindMC200PercentChildTurned1DaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.013 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindMCAdultTurned65DaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.231 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindMCChildTurned21DaoTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.108 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindMCPostPartumDiscontinuanceDaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.216 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.FindRCADiscontinueDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec Running com.accenture.batchkit.batch.edbcsweeps.data.InsertToSysTransactDaoTest Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<< FAILURE! Running com.accenture.batchkit.batch.edbcsweeps.data.MC176SDiscontinuanceDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.enclosures.data.EnclosureReportDaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.enclosures.data.EstimatorDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.forms.data.C4YExternalDocDaoTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.accenture.batchkit.batch.forms.data.CustomerReportsDaoTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.855 sec Running com.accenture.batchkit.batch.forms.data.CustomFormsBalancingDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.forms.data.CustomFormsDaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.059 sec Running com.accenture.batchkit.batch.forms.data.CWChildTurns18DaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.DynamicFormBalancingDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.EditableDocumentDaoTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.262 sec Running com.accenture.batchkit.batch.forms.data.FIN107DaoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.184 sec Running com.accenture.batchkit.batch.forms.data.FindABAWDSecondInstanceDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.059 sec Running com.accenture.batchkit.batch.forms.data.FindABAWDWaiverNoticeDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.accenture.batchkit.batch.forms.data.FindBalderasCasesDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.accenture.batchkit.batch.forms.data.FindFIN107DaoTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.forms.data.FindFS11ProgramsDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.accenture.batchkit.batch.forms.data.FindFSNoticeOfDenialDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.FindINF101CIVCasesDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.forms.data.FindINF102CIVCasesDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.FindIRTCasesDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.accenture.batchkit.batch.forms.data.FindMC176SCasesDaoTest Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE! Running com.accenture.batchkit.batch.forms.data.FindMC176TMCCasesDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.forms.data.FindMC239XCasesDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.FindMC325CasesDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.FindNewIVRUsersDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.forms.data.FindNonTransitionalFSNECDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.forms.data.FindQR7CasesDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.FindTEMP2225CasesDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.FindTransitionalFSNA1239DaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.forms.data.FindTrustlineProvidersDaoTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.963 sec Running com.accenture.batchkit.batch.forms.data.FormBalancingDaoTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec Running com.accenture.batchkit.batch.forms.data.FormsHelperDaoTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.386 sec Running com.accenture.batchkit.batch.forms.data.FormsTriggerDaoTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.forms.data.GenerateDynamicFormsDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.forms.data.GenerateNewIVRUsersFormsDaoTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.forms.data.InsertSnippetTextDaoTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec Running com.accenture.batchkit.batch.forms.data.IVRFormBalancingDaoTest Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE! Running com.accenture.batchkit.batch.forms.data.LateQRFormsDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.935 sec Running com.accenture.batchkit.batch.forms.data.MC239XDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec Running com.accenture.batchkit.batch.forms.data.MCRedeterFormsFilterDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.418 sec Running com.accenture.batchkit.batch.forms.data.MediCalABDRedeterFormsDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.accenture.batchkit.batch.forms.data.MediCalLTCRedeterFormsDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.accenture.batchkit.batch.forms.data.MediCalRedeterFormsDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.accenture.batchkit.batch.forms.data.SchoolAttendanceVerifDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.fostercareproviderupdates.data.GroupHomeUpdateDaoTest Tests run: 6, Failures: 3, Errors: 3, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE! Running com.accenture.batchkit.batch.ict.data.InterCountyTransferDiscontinuanceDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.accenture.batchkit.batch.ihssreferral.data.IhssReferralAutoAssignmentDaoTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.982 sec Running com.accenture.batchkit.batch.ihssreferral.data.UpdateIhssReferralProgramDaoTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.nonedbcsweeps.data.CloseServiceActivityDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.accenture.batchkit.batch.nonedbcsweeps.data.GenerateActivityProgressHistoryDaoTest Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.527 sec <<< FAILURE! Running com.accenture.batchkit.batch.reports.data.TransferReportsDataDestinationDaoTest Tests run: 22, Failures: 22, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.ApplicationActivitySweepDaoTest Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.577 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.BaseReportSweepDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.747 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.ChildCareDelinquentApprovalsReportSweepDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.185 sec Running com.accenture.batchkit.batch.reportsweep.data.DFA256SweepDaoTest Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.826 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.GenerateBridgingReportDataDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.294 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.PendingAppReportSweepDaoTest Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 10.561 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.PendingCaseloadReportSweepDaoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.307 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.Rpt1099ReconSweepDaoTest Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 14.368 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.SAAMReportSweepDaoTest Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.137 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.STAT47SweepDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.045 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.TimeLimitReportSweepDaoTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 4.758 sec <<< FAILURE! Running com.accenture.batchkit.batch.reportsweep.data.WTW25SweepDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.154 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.InsertToSuperTransactDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.139 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.PersAddrTriggerDaoTest Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 14.726 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.SuperTriggerBalancingDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.263 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.SuperTriggerDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.342 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.TriggerArchiveDaoTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.475 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.TriggerDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.671 sec <<< FAILURE! Running com.accenture.batchkit.batch.supertrigger.data.TriggerValidationDaoTest Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 12.184 sec <<< FAILURE! Running com.accenture.batchkit.batch.timelimit.data.TimeLimitABAWDMonthlyDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.263 sec <<< FAILURE! Running com.accenture.batchkit.batch.timelimit.data.TimeLimitAidCodeUpdateDaoTest Tests run: 6, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 5.46 sec <<< FAILURE! Running com.accenture.batchkit.batch.timelimit.data.TimeLimitBaseDaoTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.562 sec <<< FAILURE! [ERROR] There are test failures. Please refer to C:\batchkit\target\surefire-reports for the individual test results. [INFO] [cobertura:cobertura {execution: default-cli}] [INFO] Cobertura null - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura] INFO [main] net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does not contain instrumentation information for the file com/accenture/batchkit/architecture/print/Print.java. Ensure this class was instrumented, and this data file contains the instrumentation information. [cobertura] INFO [main] net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does not contain instrumentation information for the file com/accenture/batchkit/architecture/print/PrintHome.java. Ensure this class was instrumented, and this data file contains the instrumentation information. [cobertura] INFO [main] net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does not contain instrumentation information for the file com/accenture/batchkit/interfaces/financials/directdeposit/BaseControlVisitor.java. Ensure this class was instrumented, and this data file contains the instrumentation information. [cobertura] INFO [main] net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does not contain instrumentation information for the file com/accenture/batchkit/interfaces/financials/ebtcommon/BenefitDetailInterface.java. Ensure this class was instrumented, and this data file contains the instrumentation information. [cobertura] INFO [main] net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does not contain instrumentation information for the file com/accenture/batchkit/interfaces/financials/ebtcommon/ControllerInterface.java. Ensure this class was instrumented, and this data file contains the instrumentation information. [cobertura] INFO [main] net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does not contain instrumentation information for the file com/accenture/batchkit/interfaces/financials/ebtcommon/EbtWriterRecordInterface.java. Ensure this class was instrumented, and this data file contains the instrumentation information. Report time: 12231ms [ERROR] Jul 8, 2013 10:50:14 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler loadCoverageData INFO: Cobertura: Loaded information on 679 classes. [INFO] Cobertura Report generation was successful. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 minutes 34 seconds [INFO] Finished at: Mon Jul 08 22:50:26 IST 2013 [INFO] Final Memory: 67M/1016M [INFO] ------------------------------------------------------------------------ |
From: Steve C. <sch...@gm...> - 2013-07-08 10:43:55
|
This is a weird issue and I don't believe you are the only one that has encountered this exception. I will investigate this issue and try to release a new version asap. Thanks, Steve. On Jul 8, 2013 3:57 AM, "Jayan M N" <ja...@gm...> wrote: > > I get following exception with new cobertura (2.0.2..)<https://github.com/cobertura/cobertura>. > I guess it is some how related to new object creation immediately in a new > block. > > WARN instrumentClass, Unable to instrument file c:\apps\ijprojects\TrickyInstrument\out\production\TrickyInstrument\InstrumentationFailsOnFirstNewClassInTryBlock.class > java.lang.RuntimeException: java.lang.ClassNotFoundException: DataAccess > at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source) > at org.objectweb.asm.ClassWriter.a(Unknown Source) > at org.objectweb.asm.Frame.a(Unknown Source) > at org.objectweb.asm.Frame.a(Unknown Source) > at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) > at org.objectweb.asm.MethodVisitor.visitMaxs(Unknown Source) > at org.objectweb.asm.util.CheckMethodAdapter.visitMaxs(Unknown Source) > at org.objectweb.asm.MethodVisitor.visitMaxs(Unknown Source) > at org.objectweb.asm.commons.LocalVariablesSorter.visitMaxs(Unknown Source) > at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) > at org.objectweb.asm.util.CheckMethodAdapter$1.visitEnd(Unknown Source) > at org.objectweb.asm.MethodVisitor.visitEnd(Unknown Source) > at org.objectweb.asm.util.CheckMethodAdapter.visitEnd(Unknown Source) > at org.objectweb.asm.ClassReader.b(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:204) > at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121) > at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:233) > at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:274) > at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:283) > at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:292) > at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:373) > at net.sourceforge.cobertura.instrument.Main.main(Main.java:395)8 Jul, 2013 2:05:07 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler saveCoverageData > INFO: Cobertura: Saved information on 2 classes. > > The following is the code related to above exception. > > public class InstrumentationFailsOnFirstNewClassInTryBlock { > > > public void saveToDatabase() { > // > try {// boolean b=false;// if ( b) {// System.out.println("no action");// } > DataAccess da = new DataAccess(); > System.out.println("nothing"); > > } catch (Exception e) { > > > } > }} > class DataAccess { > public DataAccess() { > //To change body of created methods use File | Settings | File Templates. > }} > > If I un-comment the code block some dummy statements , then > instrumentation works fine. Has any one seen this? Any potential fixes? > > Edit: Error occurs with java6 and java7. > > > (question is copied from > http://stackoverflow.com/questions/17522385/java-lang-runtimeexception-java-lang-classnotfoundexception-org-objectweb-asm, > it appears to be cobertura or asm issue) > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > |
From: Jayan M N <ja...@gm...> - 2013-07-08 08:56:12
|
I get following exception with new cobertura (2.0.2..)<https://github.com/cobertura/cobertura>. I guess it is some how related to new object creation immediately in a new block. WARN instrumentClass, Unable to instrument file c:\apps\ijprojects\TrickyInstrument\out\production\TrickyInstrument\InstrumentationFailsOnFirstNewClassInTryBlock.class java.lang.RuntimeException: java.lang.ClassNotFoundException: DataAccess at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source) at org.objectweb.asm.ClassWriter.a(Unknown Source) at org.objectweb.asm.Frame.a(Unknown Source) at org.objectweb.asm.Frame.a(Unknown Source) at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) at org.objectweb.asm.MethodVisitor.visitMaxs(Unknown Source) at org.objectweb.asm.util.CheckMethodAdapter.visitMaxs(Unknown Source) at org.objectweb.asm.MethodVisitor.visitMaxs(Unknown Source) at org.objectweb.asm.commons.LocalVariablesSorter.visitMaxs(Unknown Source) at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) at org.objectweb.asm.util.CheckMethodAdapter$1.visitEnd(Unknown Source) at org.objectweb.asm.MethodVisitor.visitEnd(Unknown Source) at org.objectweb.asm.util.CheckMethodAdapter.visitEnd(Unknown Source) at org.objectweb.asm.ClassReader.b(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:204) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:233) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:274) at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:283) at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:292) at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:373) at net.sourceforge.cobertura.instrument.Main.main(Main.java:395)8 Jul, 2013 2:05:07 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler saveCoverageData INFO: Cobertura: Saved information on 2 classes. The following is the code related to above exception. public class InstrumentationFailsOnFirstNewClassInTryBlock { public void saveToDatabase() { // try {// boolean b=false;// if ( b) {// System.out.println("no action");// } DataAccess da = new DataAccess(); System.out.println("nothing"); } catch (Exception e) { } }} class DataAccess { public DataAccess() { //To change body of created methods use File | Settings | File Templates. }} If I un-comment the code block some dummy statements , then instrumentation works fine. Has any one seen this? Any potential fixes? Edit: Error occurs with java6 and java7. (question is copied from http://stackoverflow.com/questions/17522385/java-lang-runtimeexception-java-lang-classnotfoundexception-org-objectweb-asm, it appears to be cobertura or asm issue) |
From: Steven C. <sch...@gm...> - 2013-07-05 14:44:14
|
On 07/05/2013 09:36 AM, Harry Callahan wrote: > Hello Steve > > What i mean is my test classes call PowerMock methods. > > My PowerMock jar *is not included* in instrumentation. (Why should i > instrument PowerMock jar?) > I instrument all my test classes. > > I use 1.9.4.1 cobertura version with ant tasks. > > Sincerly > > Harry > > > > > -- > View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3346.html > Sent from the cobertura-devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel How does your instrumentation task look like? Are you using ant or command line? |
From: Harry C. <har...@bb...> - 2013-07-05 14:36:19
|
Hello Steve What i mean is my test classes call PowerMock methods. My PowerMock jar *is not included* in instrumentation. (Why should i instrument PowerMock jar?) I instrument all my test classes. I use 1.9.4.1 cobertura version with ant tasks. Sincerly Harry -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3346.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: Fredrik V. <fre...@gm...> - 2013-07-04 16:47:00
|
When I instrument my classes in a multi module project using ant I get a warning with RuntimeException and ClassNotFoundException. Despite these warnings I sometimes get a coverage report with nonzero (correct) coverage and sometimes with 0% coverage even though I run the same ant commands on the same project. I can see no pattern in this. Strange, but maybe the instrumentation fails sometimes and succeed sometimes because of the warnings or is there another explanation? How do I remove all these warnings using ant tags? It is a huge project and I do not want to instrument classes provided by others. Thankful for any advise |
From: Steven C. <sch...@gm...> - 2013-07-03 05:11:37
|
I'm not sure I understand the issue. Cobertura only instruments whatever you specify you want instrumented. If you include the PowerMock jar in instrumentation then the jar will also appear in your .ser file. If you specify the --includeClasses argument in your instrument part, then it will only instrument the packages you mention. Also what version of cobertura are you using? Thanks, Steve. On 07/02/2013 05:17 AM, Harry Callahan wrote: > Hi back > > I have a lot of test classes which use PowerMock framework. > > I remove half of them and the coverage report generation was successful. > > I believed such issue with PowerMock were fixed. > > Is there a mean to avoid such problem? > > Thanks for your reply > > Harry. > > > > > > > -- > View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3342.html > Sent from the cobertura-devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Fredrik V. <fre...@gm...> - 2013-07-02 22:36:16
|
I get a lot of java.lang.RuntimeException: java.lang.ClassNotFoundException for different classes when I run ant InstrumentEARLib on a hybris project, see build file below. Also in the end most classes are N/A in the report and the rest has 0% coverage although it should be higher. I've read that there was some problems with Java7 and coberatura in March. Can it be remaining problems from this or is it something simple like I need to add classpaths for these missing files, by expanding the section <path id="cobertura.classpath"> into <path id="cobertura.classpath"> <fileset dir="${lib.dir}"> <include name="*.jar" /> </fileset> <fileset dir="${some.path}"> <include name="missing_jar_or class_file.jar" /> </fileset> </path> ? I have tried this but it causes problems too, with the zipping. Thankful for any idea how to fix java.lang.RuntimeException: java.lang.ClassNotFoundException problems. Here is my build.xml <?xml version="1.0" encoding="UTF-8" ?> <project name="EarCoverageReportTest" default="InstrumentEARLib" basedir="."> <property name="lib.dir" value="../lib" /> <property name="instrumented.dir" value="../instrumented" /> <property name="coverage.html.dir" value="../htmlReports" /> <property name="src.module1.dir" value="../../mango-jjshop/bin/custom/jj/jjcockpits/src" /> <property name="target.module1.dir" value="../../mango-jjshop/bin/custom/jj/jjcockpits/classes"/> <property name="src.module2.dir" value="../../mango-jjshop/bin/custom/jj/jjcore/src" /> <property name="target.module2.dir" value="../../mango-jjshop/bin/custom/jj/jjcore/classes"/> <property name="src.module3.dir" value="../../mango-jjshop/bin/custom/jj/jjfacades/src" /> <property name="target.module3.dir" value="../../mango-jjshop/bin/custom/jj/jjfacades/classes"/> <property name="src.module4.dir" value="../../mango-jjshop/bin/custom/jj/jjfulfilmentprocess/src" /> <property name="target.module4.dir" value="../../mango-jjshop/bin/custom/jj/jjfulfilmentprocess/classes"/> <property name="src.module5.dir" value="../../mango-jjshop/bin/custom/jj/jjinitialdata/src" /> <property name="target.module5.dir" value="../../mango-jjshop/bin/custom/jj/jjinitialdata/classes"/> <property name="src.module6.dir" value="../../mango-jjshop/bin/custom/jj/jjstorefront/web/src" /> <property name="target.module6.dir" value="../../mango-jjshop/bin/custom/jj/jjstorefront/web/webroot/WEB-INF/classes"/> <path id="cobertura.classpath"> <fileset dir="${lib.dir}"> <include name="*.jar" /> </fileset> </path> <taskdef classpathref="cobertura.classpath" resource="tasks.properties" /> <target name="init"> <delete dir="${instrumented.dir}" /> <delete dir="${coverage.html.dir}" /> <delete file="cobertura.ser" /> <mkdir dir="${instrumented.dir}" /> <mkdir dir="${coverage.html.dir}" /> </target> <target name="InstrumentEARLib" depends="init" description="Instrument dotcom ear lib jars"> <cobertura-instrument todir="${target.module1.dir}"> <ignore regex="org.apache.log4j.*" /> <fileset dir="${target.module1.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> <cobertura-instrument todir="${target.module2.dir}"> <ignore regex="org.apache.log4j.*" /> <fileset dir="${target.module2.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> <cobertura-instrument todir="${target.module3.dir}"> <ignore regex="org.apache.log4j.*" /> <fileset dir="${target.module3.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> <cobertura-instrument todir="${target.module4.dir}"> <ignore regex="org.apache.log4j.*" /> <fileset dir="${target.module4.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> <cobertura-instrument todir="${target.module5.dir}"> <ignore regex="org.apache.log4j.*" /> <fileset dir="${target.module5.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> <cobertura-instrument todir="${target.module6.dir}"> <ignore regex="org.apache.log4j.*" /> <fileset dir="${target.module6.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> </target> <target name="GenerageHTMLReport" description="Generate dotcom ear code coverage report"> <delete dir="${coverage.html.dir}" /> <mkdir dir="${coverage.html.dir}" /> <cobertura-report destdir="${coverage.html.dir}"> <fileset dir="${src.module1.dir}"> <include name="**/*.java" /> </fileset> <fileset dir="${src.module2.dir}"> <include name="**/*.java" /> </fileset> <fileset dir="${src.module3.dir}"> <include name="**/*.java" /> </fileset> <fileset dir="${src.module4.dir}"> <include name="**/*.java" /> </fileset> <fileset dir="${src.module5.dir}"> <include name="**/*.java" /> </fileset> <fileset dir="${src.module6.dir}"> <include name="**/*.java" /> </fileset> </cobertura-report> </target> </project> |
From: Harry C. <har...@bb...> - 2013-07-02 10:18:06
|
Hi back I have a lot of test classes which use PowerMock framework. I remove half of them and the coverage report generation was successful. I believed such issue with PowerMock were fixed. Is there a mean to avoid such problem? Thanks for your reply Harry. -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3342.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: Prakash P <pra...@gm...> - 2013-07-01 12:57:14
|
I tried both with & without the two options --includeClasses and --basedir. In all combinations it's throwing the NULL pointer exception. On Mon, Jul 1, 2013 at 1:12 PM, Prakash P <pra...@gm...> wrote: > When I try to instrument the war file using the following command it's > failing with NULL pointer exception > > sh -x cobertura-instrument.sh --basedir /opt/notinstrumented/ --datafile > /opt/cobertura.ser --includeClasses 'com.example.project.*' --destination > /opt/instrumented/ example.war > > java.lang.NullPointerException > at > net.sourceforge.cobertura.instrument.tp.ClassMap.applyOnProjectData(ClassMap.java:341) > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:181) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:113) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:221) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:162) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) > at > net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) > at net.sourceforge.cobertura.instrument.Main.main(Main.java:450) > WARN warn, Problems instrumenting archive entry: > com/example/project/xy/info/service/InfoService.class > > It would be helpful if you could help me in fixing this issue. > > Thanks, > Prakash > |
From: John W. L. <Joh...@sa...> - 2013-07-01 10:22:09
|
It should work at the command line. Please try the command without the basedir parameter. From: Steven Christou [mailto:sch...@gm...] Sent: Monday, July 01, 2013 4:36 AM To: cob...@li... Subject: Re: [Cobertura-devel] Instrumentation fails with Null Pointer exception According to the documentation there is no --includeClasses argument for command line but instead an --ignore argument. See https://github.com/cobertura/cobertura/wiki/Command-Line-Reference. Did this work in previous releases? On 07/01/2013 03:17 AM, Prakash P wrote: Java version in which the code was compiled to create the war file. # java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) Cobertura version - 2.0 Thanks, Prakash On Mon, Jul 1, 2013 at 1:12 PM, Prakash P <pra...@gm...<mailto:pra...@gm...>> wrote: When I try to instrument the war file using the following command it's failing with NULL pointer exception sh -x cobertura-instrument.sh --basedir /opt/notinstrumented/ --datafile /opt/cobertura.ser --includeClasses 'com.example.project.*' --destination /opt/instrumented/ example.war java.lang.NullPointerException at net.sourceforge.cobertura.instrument.tp.ClassMap.applyOnProjectData(ClassMap.java:341) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:181) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:113) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:221) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:162) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) at net.sourceforge.cobertura.instrument.Main.main(Main.java:450) WARN warn, Problems instrumenting archive entry: com/example/project/xy/info/service/InfoService.class It would be helpful if you could help me in fixing this issue. Thanks, Prakash ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Cobertura-devel mailing list Cob...@li...<mailto:Cob...@li...> https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Steven C. <sch...@gm...> - 2013-07-01 08:36:34
|
According to the documentation there is no --includeClasses argument for command line but instead an --ignore argument. See https://github.com/cobertura/cobertura/wiki/Command-Line-Reference. Did this work in previous releases? On 07/01/2013 03:17 AM, Prakash P wrote: > Java version in which the code was compiled to create the war file. > # java -version > java version "1.6.0_22" > Java(TM) SE Runtime Environment (build 1.6.0_22-b04) > Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) > > Cobertura version - 2.0 > > Thanks, > Prakash > > > On Mon, Jul 1, 2013 at 1:12 PM, Prakash P <pra...@gm... > <mailto:pra...@gm...>> wrote: > > When I try to instrument the war file using the following command > it's failing with NULL pointer exception > > sh -x cobertura-instrument.sh --basedir /opt/notinstrumented/ > --datafile /opt/cobertura.ser --includeClasses > 'com.example.project.*' --destination /opt/instrumented/ example.war > > java.lang.NullPointerException > at > net.sourceforge.cobertura.instrument.tp.ClassMap.applyOnProjectData(ClassMap.java:341) > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:181) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:113) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:221) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:162) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) > at > net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) > at > net.sourceforge.cobertura.instrument.Main.main(Main.java:450) > WARN warn, Problems instrumenting archive entry: > com/example/project/xy/info/service/InfoService.class > > It would be helpful if you could help me in fixing this issue. > > Thanks, > Prakash > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Prakash P <pra...@gm...> - 2013-07-01 08:18:12
|
Java version in which the code was compiled to create the war file. # java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) Cobertura version - 2.0 Thanks, Prakash On Mon, Jul 1, 2013 at 1:12 PM, Prakash P <pra...@gm...> wrote: > When I try to instrument the war file using the following command it's > failing with NULL pointer exception > > sh -x cobertura-instrument.sh --basedir /opt/notinstrumented/ --datafile > /opt/cobertura.ser --includeClasses 'com.example.project.*' --destination > /opt/instrumented/ example.war > > java.lang.NullPointerException > at > net.sourceforge.cobertura.instrument.tp.ClassMap.applyOnProjectData(ClassMap.java:341) > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:181) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:113) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:221) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:162) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) > at > net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) > at net.sourceforge.cobertura.instrument.Main.main(Main.java:450) > WARN warn, Problems instrumenting archive entry: > com/example/project/xy/info/service/InfoService.class > > It would be helpful if you could help me in fixing this issue. > > Thanks, > Prakash > |
From: Steven C. <sch...@gm...> - 2013-07-01 07:47:13
|
What version of cobertura are you using and what version of java are you compiling your code in? On 07/01/2013 02:42 AM, Prakash P wrote: > When I try to instrument the war file using the following command it's > failing with NULL pointer exception > > sh -x cobertura-instrument.sh --basedir /opt/notinstrumented/ > --datafile /opt/cobertura.ser --includeClasses 'com.example.project.*' > --destination /opt/instrumented/ example.war > > java.lang.NullPointerException > at > net.sourceforge.cobertura.instrument.tp.ClassMap.applyOnProjectData(ClassMap.java:341) > at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:181) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:113) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:221) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:162) > at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) > at > net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) > at net.sourceforge.cobertura.instrument.Main.main(Main.java:450) > WARN warn, Problems instrumenting archive entry: > com/example/project/xy/info/service/InfoService.class > > It would be helpful if you could help me in fixing this issue. > > Thanks, > Prakash > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Prakash P <pra...@gm...> - 2013-07-01 07:42:36
|
When I try to instrument the war file using the following command it's failing with NULL pointer exception sh -x cobertura-instrument.sh --basedir /opt/notinstrumented/ --datafile /opt/cobertura.ser --includeClasses 'com.example.project.*' --destination /opt/instrumented/ example.war java.lang.NullPointerException at net.sourceforge.cobertura.instrument.tp.ClassMap.applyOnProjectData(ClassMap.java:341) at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:181) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:113) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:221) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:162) at net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) at net.sourceforge.cobertura.instrument.Main.main(Main.java:450) WARN warn, Problems instrumenting archive entry: com/example/project/xy/info/service/InfoService.class It would be helpful if you could help me in fixing this issue. Thanks, Prakash |
From: Harry C. <har...@bb...> - 2013-06-28 14:25:33
|
[INFO] [INFO] [surefire:test {execution: default-test}] [INFO] [INFO] Surefire report directory: C:\User\harry\workspace\myApp\target\surefire-reports The first test... ..... ...... The tests duration is about 13 minutes. .... The come the last test.... [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.29 sec [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results... [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Flushing results done [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] Cobertura: Saved information on 782 classes. [INFO] Cobertura: Loaded information on 782 classes. [INFO] [INFO] Results : [INFO] [INFO] Tests run: 845, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] [war:war {execution: default-war}] [INFO] [INFO] Packaging webapp .... .... [INFO] [INFO] [site:site {execution: default-site}] [INFO] [INFO] [antrun:run {execution: CoverageTest}] [INFO] [INFO] Executing tasks [INFO] ReportCobertura: [INFO] [echo] Executing cobertura report [INFO] [cobertura-report] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [INFO] [cobertura-report] Cobertura: Error reading file /users2/jip01/luntbuild-work/ulyX86/efriu/target/cobertura/cobertura.ser: null [INFO] [cobertura-report] Error: Unable to read from data file /users2/jip01/luntbuild-work/ulyX86/efriu/target/cobertura/cobertura.ser How can i give you more precision? Regards -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3335.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: John W. L. <Joh...@sa...> - 2013-06-28 14:01:32
|
That tells me the data file may be getting corrupted during the testing. I wonder if the test process is getting enough time to shut down gracefully after the data dump finishes. You did not show how the tests are being kicked off. John -----Original Message----- From: Harry Callahan [mailto:har...@bb...] Sent: Friday, June 28, 2013 9:45 AM To: cob...@li... Subject: Re: [Cobertura-devel] Unable to read cobertura.ser I cleaned my workspace then i did a build with classes instrumenting without do any test: [echo] Executing cobertura instrument Classes [mkdir] Created dir: C:\User\harry\workspace\myApp\target\cobertura [mkdir] Created dir: C:\User\harry\workspace\myApp\target\generated-classes\cobertura [cobertura-instrument] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-instrument] Instrumenting 488 files to C:\User\harry\workspace\myApp\target\generated-classes\cobertura [cobertura-instrument] Cobertura: Saved information on 488 classes. [cobertura-instrument] Instrument time: 1232ms ..... Then i launched the report generation: [echo] Executing cobertura report [cobertura-report] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Loaded information on 782 classes. [cobertura-report] Report time: 3760ms It passed successfully. Of course my report displayed 0% of code coverage as i didn't run any tests. -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3333.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Harry C. <har...@bb...> - 2013-06-28 13:52:56
|
I cleaned my workspace then i did a build with classes instrumenting without do any test: [echo] Executing cobertura instrument Classes [mkdir] Created dir: C:\User\harry\workspace\myApp\target\cobertura [mkdir] Created dir: C:\User\harry\workspace\myApp\target\generated-classes\cobertura [cobertura-instrument] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-instrument] Instrumenting 488 files to C:\User\harry\workspace\myApp\target\generated-classes\cobertura [cobertura-instrument] Cobertura: Saved information on 488 classes. [cobertura-instrument] Instrument time: 1232ms ..... Then i launched the report generation: [echo] Executing cobertura report [cobertura-report] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Loaded information on 782 classes. [cobertura-report] Report time: 3760ms It passed successfully. Of course my report displayed 0% of code coverage as i didn't run any tests. -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330p3333.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: John W. L. <Joh...@sa...> - 2013-06-28 10:50:22
|
It is not clear to me what is wrong. The "null" in the output makes me think something in the datafile is null that should not be. Try running the report right after the instrumentation without running the tests. I wonder if the problem is in the instrumentation or in the running of the tests. John -----Original Message----- From: Harry Callahan [mailto:har...@bb...] Sent: Friday, June 28, 2013 6:03 AM To: cob...@li... Subject: [Cobertura-devel] Unable to read cobertura.ser Hi I am using cobertura 1.9.4.1 with Apache Ant 1.8.2 (through Maven AntRun 2.5.2 plugins). I got the following error when i launch it for report generation: [echo] Executing cobertura report [cobertura-report] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Error reading file C:\User\harry\workspace\app\target\cobertura\cobertura.ser: null [cobertura-report] Error: Unable to read from data file C:\User\harry\workspace\app\target\cobertura\cobertura.ser Here is my build.xml configuration: build.xml <http://cobertura.996293.n3.nabble.com/file/n3330/build.xml> -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Harry C. <har...@bb...> - 2013-06-28 10:05:26
|
Thanks! Harry -- View this message in context: http://cobertura.996293.n3.nabble.com/Cobertura-2-0-and-JDK-6-tp3328p3331.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: Harry C. <har...@bb...> - 2013-06-28 10:03:07
|
Hi I am using cobertura 1.9.4.1 with Apache Ant 1.8.2 (through Maven AntRun 2.5.2 plugins). I got the following error when i launch it for report generation: [echo] Executing cobertura report [cobertura-report] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Error reading file C:\User\harry\workspace\app\target\cobertura\cobertura.ser: null [cobertura-report] Error: Unable to read from data file C:\User\harry\workspace\app\target\cobertura\cobertura.ser Here is my build.xml configuration: build.xml <http://cobertura.996293.n3.nabble.com/file/n3330/build.xml> -- View this message in context: http://cobertura.996293.n3.nabble.com/Unable-to-read-cobertura-ser-tp3330.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: John W. L. <Joh...@sa...> - 2013-06-27 23:26:42
|
Yes. -----Original Message----- From: Harry Callahan [mailto:har...@bb...] Sent: Thursday, June 27, 2013 12:22 PM To: cob...@li... Subject: [Cobertura-devel] Cobertura 2.0 and JDK 6 Hello Is it possible to run Cobertura 2.0 with JDK 6? Thanks for your reply. Harry -- View this message in context: http://cobertura.996293.n3.nabble.com/Cobertura-2-0-and-JDK-6-tp3328.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |