Wrong return type in function error

279 views
Skip to first unread message

xploreraj

unread,
Feb 26, 2017, 11:51:51 PM2/26/17
to JaCoCo and EclEmma Users
Hi,

I ran an FT with Coverage As-> TestNG, but its executing the test and returning below error An internal error occurred during: "Analyzing coverage session com.mycomp.rest.raj.MessageTest.operate (Feb 27, 2017 10:04:32 AM)". (class: org/jacoco/core/internal/flow/ClassProbesAdapter, method: visitMethod signature: (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Lja‌​va/lang/String;)Lorg‌​/objectweb/asm/Metho‌​dVisitor;) Wrong return type in function.

How to resolve this?

EclEmma - 2.3.3
Eclipse - Eclipse IDE for Java EE Developers 4.5.1.20150917-1200 epp.package.jee

Thanks

Marc R. Hoffmann

unread,
Feb 27, 2017, 3:02:17 AM2/27/17
to jac...@googlegroups.com
Hello,

this looks like there is an issue with different ASM versions -- which
really shouldn't happen. To investigate this can you please provide the
following information:

1) Full stack trace from the Eclipse log file (from .log file from
<workspace>/.metadata)
2) Complete plugin version list (from About --> Installation Details -->
Configuration --> Sections "Features" and "Plug-in Registry")

Thanks,
-marc

Evgeny Mandrikov

unread,
Feb 27, 2017, 6:17:13 AM2/27/17
to JaCoCo and EclEmma Users
For posterity: the issue was in usage of an old version 2.3.0 instead of most recent 2.3.3 ( https://github.com/jacoco/eclemma/issues/136#issuecomment-282679179 )

Rajdeep, can I ask you to not do a cross post and wait an answer in mailing list for the next time?

Thank you for your understanding.

Rajdeep Biswas

unread,
Feb 27, 2017, 1:21:14 PM2/27/17
to jac...@googlegroups.com
Thank you. I never thought I'd be getting a quick enough response. I am overwhelmed :-)



--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/NjixkV5rtlw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/649f3e68-60f9-4888-8a12-9ee4f273b680%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages