8000 Execution fails even if validation is successful, when Implementation file is outside src · Issue #228 · getgauge/gauge-java · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Execution fails even if validation is successful, when Implementation file is outside src #228
Closed
@BugDiver

Description

@BugDiver

Expected behavior

If a project is validated successfully should be able to run successfully as well

Actual behavior

The project validation is successful, but the execution fails with an exception

java.lang.NullPointerException
	at com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:45)
	at com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:93)
	at com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:116)
	at com.thoughtworks.gauge.GaugeRuntime.lambda$connectSynchronously$1(GaugeRuntime.java:99)
	at java.base/java.lang.Thread.run(Thread.java:844)

Steps to reproduce

  1. gauge init java
  2. mv src/test/java/StepImplementation.java ./
  3. gauge validate specs
  4. gauge run specs

Note

  1. The validation output is
Invalid message type received KillProcessRequest
No errors found.

the exit code is 0

  1. The property gauge_custom_compile_dir should be taken care.

Gauge version

auge version: 1.0.4
Commit Hash: 33123a1

Plugins
-------
html-report (4.0.6)
java (0.7.0)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0