You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/01/15 06:22:00 UTC

[GitHub] [shardingsphere] terrymanu opened a new issue #9044: GovernanceMetaDataContextsTest fail

terrymanu opened a new issue #9044:
URL: https://github.com/apache/shardingsphere/issues/9044


   ```
   [INFO] Running org.apache.shardingsphere.governance.context.metadata.GovernanceMetaDataContextsTest
   Jan 15, 2021 4:55:52 AM com.google.common.eventbus.EventBus$LoggingHandler handleException
   SEVERE: Exception thrown by subscriber method renew(org.apache.shardingsphere.governance.core.event.model.datasource.DataSourceChangeCompletedEvent) on subscriber org.apache.shardingsphere.governance.context.transaction.GovernanceTransactionContexts@42f8285e when dispatching event: org.apache.shardingsphere.governance.core.event.model.datasource.DataSourceChangeCompletedEvent@14de1901
   java.lang.UnsupportedOperationException
   	at java.util.AbstractMap.put(AbstractMap.java:209)
   	at org.apache.shardingsphere.governance.context.transaction.GovernanceTransactionContexts.renew(GovernanceTransactionContexts.java:72)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
   	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
   	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
   	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
   	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:67)
   	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:108)
   	at com.google.common.eventbus.EventBus.post(EventBus.java:212)
   	at org.apache.shardingsphere.governance.context.metadata.GovernanceMetaDataContexts.renew(GovernanceMetaDataContexts.java:245)
   	at org.apache.shardingsphere.governance.context.metadata.GovernanceMetaDataContextsTest.assertDataSourceChanged(GovernanceMetaDataContextsTest.java:211)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
   	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
   	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
   	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
   	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
   	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
   	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
   	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
   	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
   	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
   	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
   	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
   	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
   	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
   	at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:68)
   	at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:74)
   	at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
   	at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:161)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
   
   Jan 15, 2021 4:55:52 AM com.google.common.eventbus.EventBus$LoggingHandler handleException
   SEVERE: Exception thrown by subscriber method renew(org.apache.shardingsphere.governance.core.event.model.datasource.DataSourceChangeCompletedEvent) on subscriber org.apache.shardingsphere.governance.context.transaction.GovernanceTransactionContexts@42f8285e when dispatching event: org.apache.shardingsphere.governance.core.event.model.datasource.DataSourceChangeCompletedEvent@2b43f314
   java.lang.UnsupportedOperationException
   	at java.util.AbstractMap.put(AbstractMap.java:209)
   	at org.apache.shardingsphere.governance.context.transaction.GovernanceTransactionContexts.renew(GovernanceTransactionContexts.java:72)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
   	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
   	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
   	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
   	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:67)
   	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:108)
   	at com.google.common.eventbus.EventBus.post(EventBus.java:212)
   	at org.apache.shardingsphere.governance.context.metadata.GovernanceMetaDataContexts.renew(GovernanceMetaDataContexts.java:154)
   	at org.apache.shardingsphere.governance.context.metadata.GovernanceMetaDataContextsTest.assertSchemaAdd(GovernanceMetaDataContextsTest.java:140)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
   	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
   	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
   	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
   	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
   	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
   	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
   	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
   	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
   	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
   	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
   	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
   	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
   	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
   	at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:68)
   	at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:74)
   	at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
   	at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:161)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
   	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
   ```


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] menghaoranss closed issue #9044: GovernanceMetaDataContextsTest fail

Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #9044:
URL: https://github.com/apache/shardingsphere/issues/9044


   


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] menghaoranss closed issue #9044: GovernanceMetaDataContextsTest fail

Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #9044:
URL: https://github.com/apache/shardingsphere/issues/9044


   


----------------------------------------------------------------
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.

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