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/08/23 15:43:43 UTC

[GitHub] [shardingsphere] terrymanu opened a new issue #11961: Exception thrown when execute mvn install

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


   ```log
   [ERROR] 2021-08-23 23:41:26.984 [Curator-SafeNotifyService-0] c.g.common.eventbus.EventBus.default - Exception thrown by subscriber method renew(org.apache.shardingsphere.governance.core.registry.config.event.datasource.DataSourceChangedEvent) on subscriber org.apache.shardingsphere.infra.mode.manager.cluster.ClusterContextManager@164d01ba when dispatching event: org.apache.shardingsphere.governance.core.registry.config.event.datasource.DataSourceChangedEvent@73925a71
   org.apache.shardingsphere.infra.exception.ShardingSphereException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
   	at org.apache.shardingsphere.infra.metadata.schema.builder.TableMetaDataLoaderEngine.loadByDialect(TableMetaDataLoaderEngine.java:91)
   	at org.apache.shardingsphere.infra.metadata.schema.builder.TableMetaDataLoaderEngine.load(TableMetaDataLoaderEngine.java:61)
   	at org.apache.shardingsphere.sharding.metadata.ShardingTableMetaDataBuilder.loadWithoutCheck(ShardingTableMetaDataBuilder.java:96)
   	at org.apache.shardingsphere.sharding.metadata.ShardingTableMetaDataBuilder.load(ShardingTableMetaDataBuilder.java:75)
   	at org.apache.shardingsphere.sharding.metadata.ShardingTableMetaDataBuilder.load(ShardingTableMetaDataBuilder.java:62)
   	at org.apache.shardingsphere.infra.metadata.schema.builder.TableMetaDataBuilder.load(TableMetaDataBuilder.java:79)
   	at org.apache.shardingsphere.infra.metadata.schema.builder.SchemaBuilder.buildActualTableMetaDataMap(SchemaBuilder.java:65)
   	at org.apache.shardingsphere.infra.metadata.schema.builder.SchemaBuilder.build(SchemaBuilder.java:53)
   	at org.apache.shardingsphere.infra.context.metadata.MetaDataContextsBuilder.build(MetaDataContextsBuilder.java:100)
   	at org.apache.shardingsphere.infra.mode.manager.cluster.ClusterContextManager.rebuildMetaData(ClusterContextManager.java:339)
   	at org.apache.shardingsphere.infra.mode.manager.cluster.ClusterContextManager.renew(ClusterContextManager.java:240)
   	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 java.util.Optional.ifPresent(Optional.java:159)
   	at org.apache.shardingsphere.governance.core.registry.GovernanceWatcherFactory.lambda$watch$0(GovernanceWatcherFactory.java:59)
   	at org.apache.shardingsphere.governance.repository.zookeeper.CuratorZookeeperRepository.lambda$watch$1(CuratorZookeeperRepository.java:247)
   	at org.apache.curator.framework.recipes.cache.TreeCacheListenerWrapper.sendEvent(TreeCacheListenerWrapper.java:71)
   	at org.apache.curator.framework.recipes.cache.TreeCacheListenerWrapper.event(TreeCacheListenerWrapper.java:48)
   	at org.apache.curator.framework.recipes.cache.CuratorCacheListenerBuilderImpl$2.lambda$event$0(CuratorCacheListenerBuilderImpl.java:149)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.apache.curator.framework.recipes.cache.CuratorCacheListenerBuilderImpl$2.event(CuratorCacheListenerBuilderImpl.java:149)
   	at org.apache.curator.framework.recipes.cache.CuratorCacheImpl.lambda$putStorage$6(CuratorCacheImpl.java:274)
   	at org.apache.curator.framework.listen.MappingListenerManager.lambda$forEach$0(MappingListenerManager.java:92)
   	at org.apache.curator.framework.listen.MappingListenerManager.forEach(MappingListenerManager.java:89)
   	at org.apache.curator.framework.listen.StandardListenerManager.forEach(StandardListenerManager.java:89)
   	at org.apache.curator.framework.recipes.cache.CuratorCacheImpl.lambda$callListeners$10(CuratorCacheImpl.java:293)
   	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
   	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
   	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
   	at org.apache.shardingsphere.infra.metadata.schema.builder.TableMetaDataLoaderEngine.loadByDialect(TableMetaDataLoaderEngine.java:85)
   	... 38 common frames omitted
   Caused by: java.lang.NullPointerException: null
   	at org.apache.shardingsphere.infra.metadata.schema.builder.loader.dialect.H2TableMetaDataLoader.load(H2TableMetaDataLoader.java:64)
   	at org.apache.shardingsphere.infra.metadata.schema.builder.TableMetaDataLoaderEngine.lambda$loadByDialect$0(TableMetaDataLoaderEngine.java:81)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	... 3 common frames omitted
   ```


-- 
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@shardingsphere.apache.org

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



[GitHub] [shardingsphere] tristaZero closed issue #11961: Exception thrown when execute mvn install

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


   


-- 
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@shardingsphere.apache.org

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