You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2022/03/25 11:20:16 UTC

[GitHub] [james-project] Arsnael opened a new pull request #939: JAMES-3730 Upgraded from Legacy JavaMail to Jakarta Mail 2.0.1

Arsnael opened a new pull request #939:
URL: https://github.com/apache/james-project/pull/939


   Trying to debug this...


-- 
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: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org


[GitHub] [james-project] Arsnael commented on pull request #939: JAMES-3730 Upgraded from Legacy JavaMail to Jakarta Mail 2.0.1

Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #939:
URL: https://github.com/apache/james-project/pull/939#issuecomment-1081349416


   ```
   11:32:56,908 [ERROR] Errors: 
   11:32:56,908 [ERROR]   DisabledMetricsTest » Verify Bad type on operand stack
   Exception Details:
     Lo...
   11:32:56,908 [ERROR]   MemoryAuthorizedEndpointsTest » Verify Bad type on operand stack
   Exception Det...
   11:32:56,908 [ERROR]   MemoryFastViewProjectionHealthCheckIntegrationTest.checkShouldReturnDegradedAfterFewReadsOnAMissedProjection » Verify
   11:32:56,908 [ERROR]   MemoryFastViewProjectionHealthCheckIntegrationTest.checkShouldReturnHealthyAfterSendingAMessageWithReads » Verify
   11:32:56,908 [ERROR]   MemoryFastViewProjectionHealthCheckIntegrationTest.checkShouldReturnHealthyWhenNoMessage » Verify
   11:32:56,908 [ERROR]   MemoryFastViewProjectionHealthCheckIntegrationTest.checkShouldTurnFromDegradedToHealthyAfterMoreReadsOnAMissedProjection » Verify
   11:32:56,908 [ERROR]   MemoryForwardIntegrationTest.baseRecipientShouldNotReceiveEmailOnDefaultForward » Verify
   11:32:56,908 [ERROR]   MemoryForwardIntegrationTest.messageShouldBeForwardedWhenBaseRecipientWhenInDestination » Verify
   11:32:56,908 [ERROR]   MemoryForwardIntegrationTest.messageShouldBeForwardedWhenDefinedInRESTAPI » Verify
   11:32:56,908 [ERROR]   MemoryForwardIntegrationTest.recursiveForwardShouldWork » Verify Bad type on o...
   11:32:56,908 [ERROR]   MemoryForwardIntegrationTest.recursiveWithRecipientCopyForwardShouldWork » Verify
   11:32:56,908 [ERROR]   MemoryForwardIntegrationTest.smtpMessageShouldBeForwardedWhenBaseRecipientWhenInDestination » Verify
   11:32:56,908 [ERROR]   MemoryJwtFilterIntegrationTest » Verify Bad type on operand stack
   Exception De...
   11:32:56,909 [ERROR]   MemoryQuotaSearchIntegrationTest.quotaSearchShouldPlayWellWithDelegation » Verify
   11:32:56,909 [ERROR]   MemoryUnauthorizedEndpointsTest » Verify Bad type on operand stack
   Exception D...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationImmutableTest » Verify Bad type on operand stac...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.addressAliasesEndpointShouldListAliasesAddresses » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.addressForwardsEndpointShouldListForwardAddresses » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.addressGroupsEndpointShouldHandleRequests » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.createMissParentsTasksShouldBeExposed » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.deleteMailboxShouldRemoveAMailbox » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.deleteShouldRemoveTheGivenDomain » Verify ...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.deleteShouldRemoveTheUser » Verify Bad typ...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.getUsersShouldDisplayUsers » Verify Bad ty...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.gettingANonExistingMailRepositoryShouldNotCreateIt » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.healthCheckShouldReturn200WhenCalledRepeatedly » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.jmapTasksShouldBeExposed » Verify Bad type...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.jmapUserTasksShouldBeExposed » Verify Bad ...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.mailQueueRoutesShouldBeExposed » Verify Ba...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.mailRepositoriesRoutesShouldBeExposed » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.mailboxesExportTasksShouldBeExposed » Verify
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.metricsRoutesShouldBeExposed » Verify Bad ...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.postShouldAddTheGivenDomain » Verify Bad t...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.postShouldAddTheUser » Verify Bad type on ...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.putMailboxShouldAddAMailbox » Verify Bad t...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.putShouldNotLogThePassword » Verify Bad ty...
   11:32:56,909 [ERROR]   MemoryWebAdminServerIntegrationTest.validateHealthChecksShouldReturnOk » Verify
   11:32:56,909 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.imapMovedMessageShouldNotEndUpInTheVault » Verify
   11:32:56,909 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.jmapMovedMessageShouldNotEndUpInTheVault » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.postShouldNotRestoreWhenNoMatchingMessages » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.postShouldRestoreMatchingMessages » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.restoreShouldCreateRestoreMessagesMailbox » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.restoreShouldNotImpactOtherUsers » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.restoredMessagesShouldNotBeRemovedFromTheVault » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultDeleteShouldDeleteAllMessagesHavingSameBlobContent » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultDeleteShouldDeleteMessageThenExportWithNoEntry » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultDeleteShouldNotAppendMessageToTheUserMailbox » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultDeleteShouldNotDeleteAllMessagesHavingSameBlobContentWhenMessageNotDeletedWithinTheSameMonth » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultDeleteShouldNotDeleteEmptyVaultThenExportNoEntry » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultDeleteShouldNotDeleteNotMatchedMessageInVaultThenExportAnEntry » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultEndpointShouldNotRestoreItemsWhenTheVaultIsEmpty » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultEndpointShouldNotRestoreMessageForSharee » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultEndpointShouldRestoreImapDeletedEmail » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultEndpointShouldRestoreImapDeletedMailbox » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultEndpointShouldRestoreJmapDeletedEmail » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultEndpointShouldRestoreMessageForSharer » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldExportEmptyZipWhenQueryDoesntMatch » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldExportEmptyZipWhenVaultIsEmpty » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldExportZipContainsOnlyMatchedMessages » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldExportZipContainsVaultMessagesToShareeWhenImapDeleteMessage » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldExportZipContainsVaultMessagesToShareeWhenImapDeletedMailbox » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldExportZipContainsVaultMessagesToShareeWhenJmapDeleteMessage » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultExportShouldResponseIdempotentSideEffect » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultPurgeShouldMakeExportProduceAZipWhenOneMessageIsNotExpired » Verify
   11:32:56,910 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultPurgeShouldMakeExportProduceEmptyZipWhenAllMessagesAreExpired » Verify
   11:32:56,911 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultPurgeShouldMakeExportProduceZipWhenAllMessagesAreNotExpired » Verify
   11:32:56,911 [ERROR]   MemoryDeletedMessageVaultIntegrationTest.vaultPurgeShouldNotAppendMessageToTheUserMailbox » Verify
   ```
   
   Numerous errors like that:
   ```
   11:32:56,474 [ERROR] org.apache.james.webadmin.integration.memory.MemoryUnauthorizedEndpointsTest  Time elapsed: 0.279 s  <<< ERROR!
   java.lang.VerifyError: 
   Bad type on operand stack
   Exception Details:
     Location:
       org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost.lambda$sendDSNAwareEmail$4(Lorg/apache/mailet/Mail;Lcom/sun/mail/smtp/SMTPTransport;Ljava/util/Optional;Ljava/util/Collection;)V @42: invokevirtual
     Reason:
       Type 'com/sun/mail/smtp/SMTPMessage' (current frame, stack[1]) is not assignable to 'jakarta/mail/Message'
     Current Frame:
       bci: @42
       flags: { }
       locals: { 'org/apache/james/transport/mailets/remote/delivery/MailDelivrerToHost', 'org/apache/mailet/Mail', 'com/sun/mail/smtp/SMTPTransport', 'java/util/Optional', 'java/util/Collection', 'com/sun/mail/smtp/SMTPMessage' }
       stack: { 'com/sun/mail/smtp/SMTPTransport', 'com/sun/mail/smtp/SMTPMessage', '[Ljakarta/mail/Address;' }
     Bytecode:
       0000000: 2a2b 2cb6 0075 3a05 2d19 0559 b800 4857
       0000010: ba00 7600 00b6 004a 2c19 0519 04ba 0077
       0000020: 0000 b900 2702 00c0 0028 b600 29b1     
   ```
   
   Likely related to this PR... 


-- 
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: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org