Alex Prokofiev created GOBBLIN-1020:
---------------------------------------

             Summary: checkRestModel build step fails on Windows
                 Key: GOBBLIN-1020
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1020
             Project: Apache Gobblin
          Issue Type: Bug
    Affects Versions: 0.15.0
         Environment: Windows 10 x64
            Reporter: Alex Prokofiev


Gradle build on Windows fails when "checkRestModel" step is executed:
{noformat}
> Task :gobblin-rest-service:gobblin-rest-server:checkRestModel FAILED
Exception in thread "main" java.lang.NullPointerException
        at 
com.linkedin.restli.tools.snapshot.check.AbstractSnapshot.parseModels(AbstractSnapshot.java:35)
        at 
com.linkedin.restli.tools.snapshot.check.Snapshot.<init>(Snapshot.java:40)
        at 
com.linkedin.restli.tools.snapshot.check.RestLiSnapshotCompatibilityChecker.checkCompatibility(RestLiSnapshotCompatibilityChecker.java:224)
        at 
com.linkedin.restli.tools.snapshot.check.RestLiSnapshotCompatibilityChecker.main(RestLiSnapshotCompatibilityChecker.java:120)
{noformat}
Similar problem was reported on StackOverflow by another person - 
[https://stackoverflow.com/questions/54798826/unable-to-build-gobblin-0-14-0-as-task-gobblin-rest-servicegobblin-rest-serv]

The workaround is to skip this step with
{noformat}
./gradlew build -x checkRestModel
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to