From: Steven C. <sch...@gm...> - 2013-04-28 08:04:29
|
Is chs.common.IUID by chance an interface? I had a friend who found the exact same exception when trying to instrument an interface. Also, thanks for testing this out! Thanks, Steve. On 04/28/2013 02:37 AM, Jayan M N wrote: > > Instrumentation, data collection and reporting works. ( My code based > is still mostly jdk6) > > > There are many exceptions similar to below. They end up as warning. > The call stack remain same. Is there way to collect more information > in these cases? > > > [cobertura-instrument] java.lang.RuntimeException: > java.lang.ClassNotFoundException: chs.common.IUID > > [cobertura-instrument] at > org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source) > [cobertura-instrument] at org.objectweb.asm.ClassWriter.a(Unknown Source) > [cobertura-instrument] at org.objectweb.asm.Frame.a(Unknown Source) > [cobertura-instrument] at org.objectweb.asm.Frame.a(Unknown Source) > [cobertura-instrument] at > org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) > [cobertura-instrument] at > org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source) > [cobertura-instrument] at > org.objectweb.asm.commons.LocalVariablesSorter.visitMaxs(Unknown > Source) [cobertura-instrument] at > org.objectweb.asm.ClassReader.accept(Unknown Source) > [cobertura-instrument] at > org.objectweb.asm.ClassReader.accept(Unknown Source) > [cobertura-instrument] at > net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:194) > [cobertura-instrument] at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:173) > [cobertura-instrument] at > net.sourceforge.cobertura.instrument.Main.addInstrumentationToArchive(Main.java:287) > [cobertura-instrument] at > net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:426) > [cobertura-instrument] at > net.sourceforge.cobertura.instrument.Main.main(Main.java:450) > > > Once again, thanks for the wonderful effort. > Jayan > > > On Tue, Apr 23, 2013 at 5:59 PM, Steven Christou > <sch...@gm... <mailto:sch...@gm...>> wrote: > > Hello everyone, > > I just wanted to give everyone a quick status update on the > progress of the items I had with java 7. There are many great new > features with java 7 including: > Try with resources > Simplified diamond operators > String switch statements > Numbers with underscores > Multi-catch blocks > (see http://pastebin.com/3DXAca18 for a sample test case I used > while fixing for java 7) > > I have fixed all these features in the trunk version of cobertura( > https://github.com/cobertura/cobertura/commit/52104a55e416b8e81a669a4adeed84e8d72a844e). > I was wondering if a few daring souls would be willing to beta > test the code changes I made, just so I do not get bombarded with > bug fixes moments after releasing. > > For anyone who is interested, I created the channel #cobertura on > irc.freenode.net <http://irc.freenode.net> which I will be using > from time to time to provide some installation support or bug issues. > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance > monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! > http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > <mailto:Cob...@li...> > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > |