feature(chore):962 fixed sentToBpn. #126
GitHub Actions / Unit Test Results
failed
Jun 24, 2024 in 0s
3 errors, 205 pass in 19s
208 tests 205 ✅ 19s ⏱️
55 suites 0 💤
55 files 0 ❌ 3 🔥
Results for commit 862c84c.
Annotations
github-actions / Unit Test Results
givenNotification_whenFrom_thenConstructProperAlertResponse (org.eclipse.tractusx.traceability.notification.application.alert.response.AlertResponseTest) with error
tx-backend/target/surefire-reports/TEST-org.eclipse.tractusx.traceability.notification.application.alert.response.AlertResponseTest.xml [took 0s]
Raw output
Cannot invoke "java.time.Instant.toString()" because the return value of "org.eclipse.tractusx.traceability.notification.domain.base.model.Notification.getUpdatedDate()" is null
java.lang.NullPointerException: Cannot invoke "java.time.Instant.toString()" because the return value of "org.eclipse.tractusx.traceability.notification.domain.base.model.Notification.getUpdatedDate()" is null
at org.eclipse.tractusx.traceability.notification.application.notification.mapper.NotificationResponseMapper.from(NotificationResponseMapper.java:56)
at org.eclipse.tractusx.traceability.notification.application.alert.response.AlertResponseTest.givenNotification_whenFrom_thenConstructProperAlertResponse(AlertResponseTest.java:46)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Unit Test Results
givenNotificationPaged_whenFromAsPageResult_thenConstructProperAlertResponse (org.eclipse.tractusx.traceability.notification.application.alert.response.AlertResponseTest) with error
tx-backend/target/surefire-reports/TEST-org.eclipse.tractusx.traceability.notification.application.alert.response.AlertResponseTest.xml [took 0s]
Raw output
Cannot invoke "java.time.Instant.toString()" because the return value of "org.eclipse.tractusx.traceability.notification.domain.base.model.Notification.getUpdatedDate()" is null
java.lang.NullPointerException: Cannot invoke "java.time.Instant.toString()" because the return value of "org.eclipse.tractusx.traceability.notification.domain.base.model.Notification.getUpdatedDate()" is null
at org.eclipse.tractusx.traceability.notification.application.notification.mapper.NotificationResponseMapper.from(NotificationResponseMapper.java:56)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at org.eclipse.tractusx.traceability.notification.application.notification.mapper.NotificationResponseMapper.fromAsPageResult(NotificationResponseMapper.java:67)
at org.eclipse.tractusx.traceability.notification.application.alert.response.AlertResponseTest.givenNotificationPaged_whenFromAsPageResult_thenConstructProperAlertResponse(AlertResponseTest.java:78)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Unit Test Results
givenRequest_whenGetAlert_thenProperResponse (org.eclipse.tractusx.traceability.notification.application.alert.rest.NotificationControllerTest) with error
tx-backend/target/surefire-reports/TEST-org.eclipse.tractusx.traceability.notification.application.alert.rest.NotificationControllerTest.xml [took 0s]
Raw output
Cannot invoke "java.time.Instant.toString()" because the return value of "org.eclipse.tractusx.traceability.notification.domain.base.model.Notification.getUpdatedDate()" is null
java.lang.NullPointerException: Cannot invoke "java.time.Instant.toString()" because the return value of "org.eclipse.tractusx.traceability.notification.domain.base.model.Notification.getUpdatedDate()" is null
at org.eclipse.tractusx.traceability.notification.application.notification.mapper.NotificationResponseMapper.from(NotificationResponseMapper.java:56)
at org.eclipse.tractusx.traceability.notification.application.notification.rest.NotificationController.getNotificationById(NotificationController.java:265)
at org.eclipse.tractusx.traceability.notification.application.alert.rest.NotificationControllerTest.givenRequest_whenGetAlert_thenProperResponse(NotificationControllerTest.java:101)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
10:06:26.223 [main] INFO org.eclipse.tractusx.traceability.notification.application.notification.rest.NotificationController -- Received API call on /notifications/69
Loading