Update HttpSamDAO.scala #12406
Annotations
41 errors and 1 warning
AzureBillingProjectLifecycleSpec.postCreationSteps should fail if a landing zone ID is provided and Rawls is not configured to attach to existing landing zones:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L195
Expected exception org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException to be thrown, but java.lang.NullPointerException was thrown
|
AzureBillingProjectLifecycleSpec.postCreationSteps should attach the provided landing zone ID if configured:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should store the landing zone ID and job creation ID and link the profile ID to the billing project record:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should add additional members to the BPM policy if specified during billing project creation:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should create a protected data landing zone and attach a protected-data policy to the billing profile if requested:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle landing zone creation errors and delete the billing profile:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L589
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle CreateLandingZoneResult missing the job report and delete resources:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L648
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle landing zone unexpected errors and delete the billing profile:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L702
"Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from WSM"
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle errors after landing zone creation and delete resources:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L766
"Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from billing repository"
|
AzureBillingProjectLifecycleSpec.postCreationSteps should return the original error if resource deletion also errors:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L836
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of java.sql.SQLException, but an instance of java.lang.NullPointerException
|
BillingProjectOrchestratorSpec.billing project creation should create a billing project record when provided a valid request and set the correct creation status:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/BillingProjectOrchestratorSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
BillingProjectOrchestratorSpec.billing project creation should fail when a duplicate project already exists:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/BillingProjectOrchestratorSpec.scala#L218
Expected exception org.broadinstitute.dsde.rawls.billing.DuplicateBillingProjectException to be thrown, but java.lang.NullPointerException was thrown
|
BillingProjectOrchestratorSpec.billing project creation should delete the billing project and throw an exception if post creation steps fail:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/BillingProjectOrchestratorSpec.scala#L322
Expected exception org.broadinstitute.dsde.rawls.RawlsExceptionWithErrorReport to be thrown, but org.mockito.exceptions.verification.SmartNullPointerException was thrown
|
GoogleBillingProjectLifecycleSpec.postCreationSteps should sync the policy to google and return creation status Ready:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/GoogleBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
GoogleBillingProjectLifecycleSpec.postCreationSteps should store the billing profile ID during billing project creation:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/GoogleBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
GoogleBillingProjectLifecycleSpec.postCreationSteps should add additional members to the BPM policy during billing project creation if specified:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/GoogleBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
WorkspaceCloningRunnerSpec.getStep should return Incomplete when the if the user context cannot be created:
core/src/test/scala/org/broadinstitute/dsde/rawls/monitor/workspace/runners/clone/WorkspaceCloningRunnerSpec.scala#L28
The future returned an exception of type: java.lang.IllegalArgumentException, with message: WorkspaceCloningRunner called with invalid job type: CloneWorkspaceContainerResult.
|
BillingApiServiceV2Spec.POST /billing/v2 should return 204 when creating a project with accessible billing account:
core/src/test/scala/org/broadinstitute/dsde/rawls/webservice/BillingApiServiceV2Spec.scala#L32
Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
|
BillingApiServiceV2Spec.POST /billing/v2 should return 409 if adding an unregistered member during creation if inviteUsersNotFound is not true:
core/src/test/scala/org/broadinstitute/dsde/rawls/webservice/BillingApiServiceV2Spec.scala#L32
Expected 409 Conflict, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
|
BillingApiServiceV2Spec.POST /billing/v2 should return 204 when inviting an unregistered member during creation:
core/src/test/scala/org/broadinstitute/dsde/rawls/webservice/BillingApiServiceV2Spec.scala#L32
Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
|
AzureBillingProjectLifecycleSpec.postCreationSteps should fail if a landing zone ID is provided and Rawls is not configured to attach to existing landing zones:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L195
Expected exception org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException to be thrown, but java.lang.NullPointerException was thrown
|
AzureBillingProjectLifecycleSpec.postCreationSteps should attach the provided landing zone ID if configured:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should store the landing zone ID and job creation ID and link the profile ID to the billing project record:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should add additional members to the BPM policy if specified during billing project creation:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should create a protected data landing zone and attach a protected-data policy to the billing profile if requested:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle landing zone creation errors and delete the billing profile:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L589
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle CreateLandingZoneResult missing the job report and delete resources:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L648
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle landing zone unexpected errors and delete the billing profile:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L702
"Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from WSM"
|
AzureBillingProjectLifecycleSpec.postCreationSteps should handle errors after landing zone creation and delete resources:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L766
"Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from billing repository"
|
AzureBillingProjectLifecycleSpec.postCreationSteps should return the original error if resource deletion also errors:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/AzureBillingProjectLifecycleSpec.scala#L836
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of java.sql.SQLException, but an instance of java.lang.NullPointerException
|
BillingProjectOrchestratorSpec.billing project creation should create a billing project record when provided a valid request and set the correct creation status:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/BillingProjectOrchestratorSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
BillingProjectOrchestratorSpec.billing project creation should fail when a duplicate project already exists:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/BillingProjectOrchestratorSpec.scala#L218
Expected exception org.broadinstitute.dsde.rawls.billing.DuplicateBillingProjectException to be thrown, but java.lang.NullPointerException was thrown
|
BillingProjectOrchestratorSpec.billing project creation should delete the billing project and throw an exception if post creation steps fail:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/BillingProjectOrchestratorSpec.scala#L322
Expected exception org.broadinstitute.dsde.rawls.RawlsExceptionWithErrorReport to be thrown, but org.mockito.exceptions.verification.SmartNullPointerException was thrown
|
GoogleBillingProjectLifecycleSpec.postCreationSteps should sync the policy to google and return creation status Ready:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/GoogleBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
GoogleBillingProjectLifecycleSpec.postCreationSteps should store the billing profile ID during billing project creation:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/GoogleBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
GoogleBillingProjectLifecycleSpec.postCreationSteps should add additional members to the BPM policy during billing project creation if specified:
core/src/test/scala/org/broadinstitute/dsde/rawls/billing/GoogleBillingProjectLifecycleSpec.scala#L1
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
|
WorkspaceCloningRunnerSpec.getStep should return Incomplete when the if the user context cannot be created:
core/src/test/scala/org/broadinstitute/dsde/rawls/monitor/workspace/runners/clone/WorkspaceCloningRunnerSpec.scala#L28
The future returned an exception of type: java.lang.IllegalArgumentException, with message: WorkspaceCloningRunner called with invalid job type: CloneWorkspaceContainerResult.
|
BillingApiServiceV2Spec.POST /billing/v2 should return 204 when creating a project with accessible billing account:
core/src/test/scala/org/broadinstitute/dsde/rawls/webservice/BillingApiServiceV2Spec.scala#L32
Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
|
BillingApiServiceV2Spec.POST /billing/v2 should return 409 if adding an unregistered member during creation if inviteUsersNotFound is not true:
core/src/test/scala/org/broadinstitute/dsde/rawls/webservice/BillingApiServiceV2Spec.scala#L32
Expected 409 Conflict, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
|
BillingApiServiceV2Spec.POST /billing/v2 should return 204 when inviting an unregistered member during creation:
core/src/test/scala/org/broadinstitute/dsde/rawls/webservice/BillingApiServiceV2Spec.scala#L32
Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
|
test
Process completed with exit code 1.
|
test
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|