[plugin-manager-preloader] ERROR com.google.gerrit.pgm.Daemon : Thread plugin-manager-preloader threw exception com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: cannot convert null into a String

186 views
Skip to first unread message

James Guo

unread,
Aug 8, 2023, 2:23:44 AM8/8/23
to Repo and Gerrit Discussion

hello everyone ,
when i restart or start gerrit 3.8.1 , it has a error

[2023-08-08T12:26:44.281+08:00] [plugin-manager-preloader] ERROR com.google.gerrit.pgm.Daemon : Thread plugin-manager-preloader threw exception
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: cannot convert null into a String
        at com.github.benmanes.caffeine.guava.CaffeinatedGuavaLoadingCache.get(CaffeinatedGuavaLoadingCache.java:65)
        at com.googlesource.gerrit.plugins.manager.PluginsCentralCache.availablePlugins(PluginsCentralCache.java:41)
        at com.googlesource.gerrit.plugins.manager.OnStartStop$1.run(OnStartStop.java:53)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: cannot convert null into a String
        at com.googlesource.gerrit.plugins.manager.gson.SmartJson$1.apply(SmartJson.java:40)
        at com.googlesource.gerrit.plugins.manager.gson.SmartJson$1.apply(SmartJson.java:36)
        at java.base/java.util.Optional.map(Optional.java:265)
        at com.googlesource.gerrit.plugins.manager.gson.SmartJson.getOptionalString(SmartJson.java:35)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository.lambda$getPluginArtifactInfo$2(JenkinsCiPluginsRepository.java:146)
        at java.base/java.util.Optional.flatMap(Optional.java:294)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository.getPluginArtifactInfo(JenkinsCiPluginsRepository.java:146)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository$1.apply(JenkinsCiPluginsRepository.java:113)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository$1.apply(JenkinsCiPluginsRepository.java:109)
        at java.base/java.util.Optional.flatMap(Optional.java:294)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository.getPluginInfo(JenkinsCiPluginsRepository.java:108)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository.getList(JenkinsCiPluginsRepository.java:90)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository.list(JenkinsCiPluginsRepository.java:73)
        at com.googlesource.gerrit.plugins.manager.repository.JenkinsCiPluginsRepository.list(JenkinsCiPluginsRepository.java:41)
        at com.googlesource.gerrit.plugins.manager.PluginsCentralLoader.load(PluginsCentralLoader.java:55)
        at com.googlesource.gerrit.plugins.manager.PluginsCentralLoader.load(PluginsCentralLoader.java:31)
        at com.github.benmanes.caffeine.guava.CaffeinatedGuavaLoadingCache$SingleLoader.load(CaffeinatedGuavaLoadingCache.java:136)
        at com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)
        at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$0(LocalCache.java:139)
        at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2413)
        at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1908)
        at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2411)
        at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2394)
        at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)
        at com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)
        at com.github.benmanes.caffeine.guava.CaffeinatedGuavaLoadingCache.get(CaffeinatedGuavaLoadingCache.java:59)
        ... 3 more



Luca Milanesio

unread,
Aug 8, 2023, 2:36:17 AM8/8/23
to Repo and Gerrit Discussion, Luca Milanesio, James Guo

On 8 Aug 2023, at 07:33, James Guo <guoqia...@163.com> wrote:


hello everyone ,
when i restart or start gerrit 3.8.1 , it has a error

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/688fa83e-d065-402e-8a5c-343599369e99n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages