Skip to content

make test in gocode directory fails #532

Closed
@maciej

Description

@maciej

As in the issue title, make test fails with:

⨯ make test                                                                                                                          10:46:17
(cd ..; gradlew generateGolangCodecs)
/bin/sh: gradlew: command not found
make: *** [src/simple/SbeMarshalling.go] Error 127

when fixing the issue of gradlew not being available (prepending the command with ./) I get the following:

◦ make test                                                                                                                          11:07:49
(cd ..; ./gradlew generateGolangCodecs)

> Task :generateGolangCodecsWithXSD FAILED
Exception in thread "main" java.lang.IllegalStateException: type is not of constant presence
        at uk.co.real_logic.sbe.xml.EncodedDataType.constVal(EncodedDataType.java:295)
        at uk.co.real_logic.sbe.xml.IrGenerator.add(IrGenerator.java:461)
        at uk.co.real_logic.sbe.xml.IrGenerator.addAllFields(IrGenerator.java:181)
        at uk.co.real_logic.sbe.xml.IrGenerator.generateForMessage(IrGenerator.java:83)
        at uk.co.real_logic.sbe.xml.IrGenerator.generate(IrGenerator.java:59)
        at uk.co.real_logic.sbe.SbeTool.main(SbeTool.java:199)


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateGolangCodecsWithXSD'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
8 actionable tasks: 5 executed, 3 up-to-date
make: *** [src/simple/SbeMarshalling.go] Error 1

I'm using the current master branch, Java 1.8_144, Go 1.9 and recent MacOS.

Metadata

Metadata

Assignees

No one assigned

    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