adamsaghy commented on PR #5349:
URL: https://github.com/apache/fineract/pull/5349#issuecomment-4194280869
```
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':fineract-core:checkstyleMain'.
> A failure occurred while executing
org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at:
file:///home/runner/work/fineract/fineract/fineract-core/build/reports/checkstyle/main.html
Checkstyle files with violations: 1
Checkstyle violations by severity: [error:1]
```
Some tests are failing:
```
Test shouldReturnOkStatusForBatchGoodwillCreditReversal() FAILED
java.lang.NullPointerException: Cannot invoke
"com.google.gson.JsonElement.getAsJsonArray()" because the return value of
"com.google.gson.JsonObject.get(String)" is null
at
org.apache.fineract.integrationtests.BatchApiTest.shouldReturnOkStatusForBatchGoodwillCreditReversal(BatchApiTest.java:1890)
Test shouldReturnOkStatusOnModifyingSavingAccount() PASSED
Test shouldReturnOkStatusOnSuccessfulLoanApprovalAndDisburse() PASSED
Test
shouldReturnOkStatusOnSuccessfulTransactionMerchantIssuedAndPayoutRefund()
PASSED
Test shouldReturnOkStatusOnSuccessfulDisbursementAndRescheduleLoan()
PASSED
Test shouldRollBackAllTransactionsOnFailure() PASSED
Test shouldReturnOkStatusForBatchRepaymentReversal() FAILED
java.lang.NullPointerException: Cannot invoke
"com.google.gson.JsonElement.getAsJsonArray()" because the return value of
"com.google.gson.JsonObject.get(String)" is null
at
org.apache.fineract.integrationtests.BatchApiTest.shouldReturnOkStatusForBatchRepaymentReversal(BatchApiTest.java:1641)
Test shouldReturnOkStatusForBatchRepayment() PASSED
Test
shouldReturnOkStatusOnSuccessfulTransactionMerchantIssuedAndPayoutRefundReversal()
FAILED
java.lang.NullPointerException: Cannot invoke
"com.google.gson.JsonElement.getAsJsonArray()" because the return value of
"com.google.gson.JsonObject.get(String)" is null
at
org.apache.fineract.integrationtests.BatchApiTest.shouldReturnOkStatusOnSuccessfulTransactionMerchantIssuedAndPayoutRefundReversal(BatchApiTest.java:1978)
Test shouldReturnOkStatusOnSuccessfulCreateApproveAndGetLoan() PASSED
Test shouldReturnOkStatusOnSuccessfulClientActivation() PASSED
Test
shouldReturnOkStatusOnSuccessfulLoanApprovalAndDisburseWithTransaction() PASSED
Test shoulRetrieveTheProperErrorDuringLockedLoan_OldRelativePath() PASSED
Test shouldReturnStatusNotImplementedUnknownCommand() PASSED
Test shouldReflectChangesOnLoanUpdateByExternalId() PASSED
Test shouldFindOneToOneDatatableEntryByQueryAPIAndUpdateOneOfItsColumn()
PASSED
Test shouldReturnOkStatusForApplyLoanCommand() PASSED
Test shouldReflectChangesOnClientUpdate() PASSED
Test shouldReturnOkStatusForBatchRepaymentChargeback() FAILED
org.opentest4j.AssertionFailedError: expected: <Repayment> but was:
<Accrual>
at
app//org.apache.fineract.integrationtests.BatchApiTest.shouldReturnOkStatusForBatchRepaymentChargeback(BatchApiTest.java:1821)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]