Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-147694

DLOpenerGoogleDriveManagerTest failing at GoogleJsonResponseException: 401 Unauthorized

Details

    Description

      Testray
      Console log

           [exec] com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest > testCheckInUploadsAnEmptyFileToGoogle STARTED
           [exec] 2022-02-18 08:31:57.305 ERROR [com.liferay.document.library.opener.google.drive.test-executor-thread][BackgroundTaskMessageListener:182] Unable to execute background task
           [exec] com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized
           [exec] 	at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:146) ~[?:?]
           [exec] 	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113) ~[?:?]
           [exec] 	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40) ~[?:?]
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321) ~[?:?]
           [exec] 	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1065) ~[?:?]
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419) ~[?:?]
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352) ~[?:?]
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469) ~[?:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.background.task.UploadGoogleDriveDocumentBackgroundTaskExecutor._uploadGoogleDriveDocument(UploadGoogleDriveDocumentBackgroundTaskExecutor.java:251) ~[?:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.background.task.UploadGoogleDriveDocumentBackgroundTaskExecutor.execute(UploadGoogleDriveDocumentBackgroundTaskExecutor.java:109) ~[?:?]
           [exec] 	at com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:63) ~[?:?]
           [exec] 	at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) ~[?:?]
           [exec] 	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) ~[?:?]
           [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.SynchronousDestinationTestRule$TestSynchronousDestination.send(SynchronousDestinationTestRule.java:436) ~[?:?]
           [exec] 	at com.liferay.portal.messaging.internal.DefaultMessageBus.sendMessage(DefaultMessageBus.java:266) ~[?:?]
           [exec] 	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.triggerBackgroundTask(BackgroundTaskLocalServiceImpl.java:675) ~[?:?]
           [exec] 	at sun.reflect.GeneratedMethodAccessor777.invoke(Unknown Source) ~[?:?]
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) ~[?:?]
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
           [exec] 	at com.sun.proxy.$Proxy707.triggerBackgroundTask(Unknown Source) ~[?:?]
           [exec] 	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.lambda$addBackgroundTask$2(BackgroundTaskLocalServiceImpl.java:735) ~[?:?]
           [exec] 	at com.liferay.portal.kernel.transaction.TransactionCommitCallbackUtil$1.doCommitted(TransactionCommitCallbackUtil.java:43) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.kernel.transaction.NewTransactionLifecycleListener.committed(NewTransactionLifecycleListener.java:29) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.kernel.transaction.TransactionLifecycleManager.fireTransactionCommittedEvent(TransactionLifecycleManager.java:34) ~[portal-kernel.jar:?]
           [exec] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:51) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:77) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) ~[?:?]
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
           [exec] 	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
           [exec] 	at com.sun.proxy.$Proxy707.addBackgroundTask(Unknown Source) ~[?:?]
           [exec] 	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.addBackgroundTask(BackgroundTaskManagerImpl.java:76) ~[?:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.DLOpenerGoogleDriveManager._addBackgroundTask(DLOpenerGoogleDriveManager.java:259) ~[?:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.DLOpenerGoogleDriveManager.create(DLOpenerGoogleDriveManager.java:114) ~[?:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.DLOpenerGoogleDriveManager.create(DLOpenerGoogleDriveManager.java:70) ~[?:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest.lambda$testCheckInUploadsAnEmptyFileToGoogle$0(DLOpenerGoogleDriveManagerTest.java:108) ~[bundleFile:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest.lambda$_test$5(DLOpenerGoogleDriveManagerTest.java:291) ~[bundleFile:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest._test(DLOpenerGoogleDriveManagerTest.java:316) [bundleFile:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest._test(DLOpenerGoogleDriveManagerTest.java:285) [bundleFile:?]
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest.testCheckInUploadsAnEmptyFileToGoogle(DLOpenerGoogleDriveManagerTest.java:101) [bundleFile:?]
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353) [bundleFile:?]
           [exec] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [bundleFile:?]
           [exec] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [bundleFile:?]
           [exec] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20) [bundleFile:?]
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237) [bundleFile:?]
           [exec] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [bundleFile:?]
           [exec] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20) [bundleFile:?]
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316) [bundleFile:?]
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95) [bundleFile:?]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] 2022-02-18 08:31:57,329 com.liferay.document.library.opener.google.drive.test-executor-thread ERROR An exception occurred processing Appender 4AoVfiI0 org.apache.logging.log4j.core.appender.AppenderLoggingException: java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener, message=Unable to execute background task
           [exec] 	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:165)
           [exec] 	at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:134)
           [exec] 	at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:125)
           [exec] 	at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:542)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:483)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:533)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:502)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:483)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:533)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:502)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:483)
           [exec] 	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:417)
           [exec] 	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
           [exec] 	at org.apache.logging.log4j.core.Logger.log(Logger.java:161)
           [exec] 	at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205)
           [exec] 	at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159)
           [exec] 	at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142)
           [exec] 	at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1994)
           [exec] 	at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1852)
           [exec] 	at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:58)
           [exec] 	at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
           [exec] 	at com.liferay.portal.log.LogContextLogWrapper.error(LogContextLogWrapper.java:67)
           [exec] 	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:182)
           [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48)
           [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34)
           [exec] 	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
           [exec] 	at com.liferay.portal.kernel.test.rule.SynchronousDestinationTestRule$TestSynchronousDestination.send(SynchronousDestinationTestRule.java:436)
           [exec] 	at com.liferay.portal.messaging.internal.DefaultMessageBus.sendMessage(DefaultMessageBus.java:266)
           [exec] 	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.triggerBackgroundTask(BackgroundTaskLocalServiceImpl.java:675)
           [exec] 	at sun.reflect.GeneratedMethodAccessor777.invoke(Unknown Source)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
           [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec] 	at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80)
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec] 	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           [exec] 	at com.sun.proxy.$Proxy707.triggerBackgroundTask(Unknown Source)
           [exec] 	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.lambda$addBackgroundTask$2(BackgroundTaskLocalServiceImpl.java:735)
           [exec] 	at com.liferay.portal.kernel.transaction.TransactionCommitCallbackUtil$1.doCommitted(TransactionCommitCallbackUtil.java:43)
           [exec] 	at com.liferay.portal.kernel.transaction.NewTransactionLifecycleListener.committed(NewTransactionLifecycleListener.java:29)
           [exec] 	at com.liferay.portal.kernel.transaction.TransactionLifecycleManager.fireTransactionCommittedEvent(TransactionLifecycleManager.java:34)
           [exec] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:51)
           [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec] 	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec] 	at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80)
           [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec] 	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           [exec] 	at com.sun.proxy.$Proxy707.addBackgroundTask(Unknown Source)
           [exec] 	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.addBackgroundTask(BackgroundTaskManagerImpl.java:76)
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.DLOpenerGoogleDriveManager._addBackgroundTask(DLOpenerGoogleDriveManager.java:259)
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.DLOpenerGoogleDriveManager.create(DLOpenerGoogleDriveManager.java:114)
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.DLOpenerGoogleDriveManager.create(DLOpenerGoogleDriveManager.java:70)
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest.lambda$testCheckInUploadsAnEmptyFileToGoogle$0(DLOpenerGoogleDriveManagerTest.java:108)
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest.lambda$_test$5(DLOpenerGoogleDriveManagerTest.java:291)
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest._test(DLOpenerGoogleDriveManagerTest.java:316)
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest._test(DLOpenerGoogleDriveManagerTest.java:285)
           [exec] 	at com.liferay.document.library.opener.google.drive.test.DLOpenerGoogleDriveManagerTest.testCheckInUploadsAnEmptyFileToGoogle(DLOpenerGoogleDriveManagerTest.java:101)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353)
           [exec] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
           [exec] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
           [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] Caused by: java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener, message=Unable to execute background task
           [exec] 	at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
           [exec] 	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:161)
           [exec] 	... 95 more
           [exec] Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized
           [exec] 	at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:146)
           [exec] 	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
           [exec] 	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)
           [exec] 	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1065)
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
           [exec] 	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.background.task.UploadGoogleDriveDocumentBackgroundTaskExecutor._uploadGoogleDriveDocument(UploadGoogleDriveDocumentBackgroundTaskExecutor.java:251)
           [exec] 	at com.liferay.document.library.opener.google.drive.web.internal.background.task.UploadGoogleDriveDocumentBackgroundTaskExecutor.execute(UploadGoogleDriveDocumentBackgroundTaskExecutor.java:109)
           [exec] 	at com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:63)
           [exec] 	at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41)
           [exec] 	at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72)
           [exec] 	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136)
           [exec] 	... 71 more
      

      Attachments

        Issue Links

          Activity

            People

              beck.liu Beck Liu
              yvonne.han Yvonne Han
              Kiyoshi Lee Kiyoshi Lee
              Alicia Garcia Alicia Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                35 weeks, 4 days ago

                Packages

                  Version Package
                  7.4.3.17 CE GA17
                  7.4.3.18 CE GA18
                  7.4.3.19 CE GA19
                  Master