Re: [geb-user] Ambiguous method overloading

239 views
Skip to first unread message
Message has been deleted

Alexander Kriegisch

unread,
Sep 16, 2023, 8:50:19 PM9/16/23
to geb-...@googlegroups.com
Hi Prashant.

Imagine for a moment, that you are a car mechanic and I would call you and say: "When driving yesterday, I heard a strange noise and then the car stopped." Could you diagnose the problem? Or would you rather ask me to bring the car for you to inspect?

Having said that, I advise you to please
* learn how to ask a good question question
https://stackoverflow.com/help/how-to-ask
* provide a minimal, complete, and verifiable example
https://stackoverflow.com/help/mcve

I think, this will have the benefit for you to get a quick spot-on answer. Thank you.

Best regards
--
Alexander Kriegisch
https://scrum-master.de


Prashant Kumar Tiwari schrieb am 16.09.2023 23:40 (GMT +07:00):

> At run time I am getting below issue while executing the tests with
> geb-tesng v7.0
>
>
> groovy.lang.GroovyRuntimeException: Ambiguous method overloading for
> method geb.testng.GebTestListener#testManager.
> Cannot resolve which method to invoke for [null] due to overlapping
> prototypes between:
> [interface org.testng.ITestClass]
> [interface org.testng.ITestResult]
Message has been deleted

Alexander Kriegisch

unread,
Sep 17, 2023, 5:01:30 AM9/17/23
to geb-...@googlegroups.com
Was anything unclear about the term minimal, complete, and verifiable example or the links I provided? 

Asking you as a fellow developer: Can you compile and debug prose? 
-- 
Alexander Kriegisch


-------- Ursprüngliche Nachricht --------
Von: Prashant Kumar Tiwari <prasha...@gmail.com>
Datum: 17.09.23 12:32 (GMT+07:00)
An: Geb User Mailing List <geb-...@googlegroups.com>
Betreff: Re: [geb-user] Ambiguous method overloading

My bad :(, Alexander for not providing the sufficient details. Let me try to explain it again.

Actually, we are planning to upgrades our existing Geb-TestNG & Maven based automation framework from earlier version of geb-testng 3.X to 7.X and groovy-all from earlier version 2.5 to 4.0.14.

In automation framework each Spec class is extending to BaseTest class and here in this BaseTest class we have all hookup methods defined like @BeforeMethods @BeforeSuite @AfterMethod @AfterSuite etc and all @Test hookups are in the Specs class.

We do have TestListner class which implements to ITestListener interface & overrides its methods.

Now after upgrade facing above issue as mentioned in earlier thread. Please help me out with example if possible as I am not getting sufficient resources over the net regarding this.

Thanks,
Prashant

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/818703d0-2282-4dc9-b76d-9d18cbfc61a8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages