Getting "org.reflections.ReflectionsException: Can't resolve member name" error when executing gauge tests from command line, Can anyone please help

212 views
Skip to first unread message

Sunaina Awadhiya

unread,
Aug 18, 2020, 5:51:05 AM8/18/20
to getgauge
Below is complete error:

Exception in thread "main"
org.reflections.ReflectionsException: Can't resolve member named test_tag for class com.epsilon.au.util.testimplementation.AutomationS3FileOperation

        at org.reflections.util.Utils.getMemberFromDescriptor(Utils.java:94)
        at org.reflections.util.Utils.getMethodsFromDescriptors(Utils.java:101)
        at org.reflections.Reflections.getMethodsAnnotatedWith(Reflections.java:482)
[ValidationError] C:\automation_folder2\au-test-harness\au-gauge-automation\specsEpccImplementation\epccSpecs\s3FileOperations\S3FileOperations.spec:12 connection closed [127.0.0.1:51821] cause: read tcp 127.0.0.1:51819->127.0.0.1:51821: wsarecv: An existing connection was forcibly closed by the remote host. => 'test step'
        at com.thoughtworks.gauge.scan.StepsScanner.scan(StepsScanner.java:40)
        at com.thoughtworks.gauge.scan.ClasspathScanner.scan(ClasspathScanner.java:48)
        at com.thoughtworks.gauge.GaugeRuntime.connectSynchronously(GaugeRuntime.java:106)
        at com.thoughtworks.gauge.GaugeRuntime.startGaugeServer(GaugeRuntime.java:74)
        at com.thoughtworks.gauge.GaugeRuntime.main(GaugeRuntime.java:52)
process C:\Program Files\Common Files\Oracle\Java\javapath\java.exe with pid 23316 quit unexpectedly. exit status 1

Nivedha Senthil

unread,
Aug 20, 2020, 10:20:27 PM8/20/20
to getg...@googlegroups.com
Please do provide details regarding your environment like versions of Gauge, gauge-java, java, os etc and when do you face this issue ?

Sunaina Awadhiya

unread,
Sep 2, 2020, 7:24:53 AM9/2/20
to getg...@googlegroups.com
Hi Nivedha,

Below is environment details:

Gauge version: 1.0.7
Commit Hash: ed7b4fd6

Plugins
-------
html-report (4.0.12)
java (0.7.2)
js (2.3.12)
screenshot (0.0.1)

On Fri, Aug 21, 2020 at 7:50 AM Nivedha Senthil <nive...@thoughtworks.com> wrote:
Please do provide details regarding your environment like versions of Gauge, gauge-java, java, os etc and when do you face this issue ?

--
You received this message because you are subscribed to the Google Groups "getgauge" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getgauge+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/getgauge/CAK1t47jJouP%3D5t_sPRq%3DGGioKGK1zN5Ap0mBRGBJQ16v5L%2BtMQ%40mail.gmail.com.


--
Sunaina Awadhiya
Bangalore

Srikanth V

unread,
Sep 9, 2020, 4:47:29 AM9/9/20
to getgauge
hi - the versions of gauge and gauge-java are old. (Current released versions are 1.1.3 and 0.7.9 respectively).

Can you please upgrade and try? if you still face this issue, if you could share a sample project that we can test against, we can help better.

thanks
Srikanth
Reply all
Reply to author
Forward
0 new messages