-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Jenkins 2.249.1
Firefox 81.0
Oracle JDK 64-bit 1.8.0 update 181
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the Update Site section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added.
Navigating to the provided URL, https://updates.jenkins.io/current/update-center.json, in Firefox cause the following error to be displayed under the JSON tab:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
The GET request to /available appears to have the list of plugins. Just looks like the add buttons are not rendering.
- is related to
-
JENKINS-63873 Unable to install plugins
-
- Closed
-
-
JENKINS-63877 Stack overflow error attempting to install a plugin to Jenkins 2.249.1
-
- Closed
-
[JENKINS-63869] Jenkins Server isn't providing a way to add available plugins
Description |
Original:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. I can still search for plugins, but can not add any. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json|https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
New:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. I can still search for plugins, but can not add any plugins. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
Description |
Original:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. I can still search for plugins, but can not add any plugins. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
New:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
Description |
Original:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
New:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} It looks like the json is not being parsed correctly by the Jenkins server. |
Description |
Original:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} It looks like the json is not being parsed correctly by the Jenkins server. |
New:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
Description |
Original:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} |
New:
After navigating to http://<jenkins-url>/pluginManager/advanced and clicking "Submit" under the *Update Site* section, I noticed the available plugins list was empty. The search functionality works but prevents any plugins listed from being added. Navigating to the provided URL, [https://updates.jenkins.io/current/update-center.json], in Firefox cause the following error to be displayed under the JSON tab: {code:java} SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data{code} The GET request to _/available_ appears to have the list of plugins. Just looks like the add buttons are not rendering. |
Summary | Original: Resource "update-center.json" is not being parsed correctly by Jenkins Server | New: Jenkins Server isn't providing a way to add available plugins |
Environment |
Original:
Jenkins 2.249.1 Firefox 81.0 |
New:
Jenkins 2.249.1 Firefox 81.0 Oracle JDK 64-bit 1.8.0_181 |
Environment |
Original:
Jenkins 2.249.1 Firefox 81.0 Oracle JDK 64-bit 1.8.0_181 |
New:
Jenkins 2.249.1 Firefox 81.0 Oracle JDK 64-bit 1.8.0 update 181 |
It seems plugin installation is completely broken. No install button available. Doesn't work in "fresh" installation started with Docker (2.234, 2.249), but also in our production environment it doesn't work anymore after updating the updates feed (2.222). There is a very long stack trace in jenkins logs
2020-10-06 14:22:07.160+0000 [id=83] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.249.1.jar!/lib/layout/isAdmin.jelly:28:21: <d:invokeBody> java.lang.StackOverflowError at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:100) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:100) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:100) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ..... Caused by: java.lang.StackOverflowError at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242) at java.io.File.exists(File.java:819) at hudson.PluginWrapper.isEnabled(PluginWrapper.java:852) at hudson.model.UpdateSite$Plugin.getNeededDependencies(UpdateSite.java:1285) at hudson.model.UpdateSite$Plugin.lambda$getDependenciesIncompatibleWithInstalledVersion$1(UpdateSite.java:1460) at hudson.PluginManager$MetadataCache.lambda$of$0(PluginManager.java:1986) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at hudson.PluginManager$MetadataCache.of(PluginManager.java:1986) at hudson.model.UpdateSite$Plugin.getDependenciesIncompatibleWithInstalledVersion(UpdateSite.java:1458) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1421) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1416) at hudson.model.UpdateSite$Plugin.lambda$getDependenciesIncompatibleWithInstalledVersion$1(UpdateSite.java:1461) at hudson.PluginManager$MetadataCache.lambda$of$0(PluginManager.java:1986) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at hudson.PluginManager$MetadataCache.of(PluginManager.java:1986) at hudson.model.UpdateSite$Plugin.getDependenciesIncompatibleWithInstalledVersion(UpdateSite.java:1458) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1421) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1416) at hudson.model.UpdateSite$Plugin.lambda$getDependenciesIncompatibleWithInstalledVersion$1(UpdateSite.java:1461) at hudson.PluginManager$MetadataCache.lambda$of$0(PluginManager.java:1986) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at hudson.PluginManager$MetadataCache.of(PluginManager.java:1986) at hudson.model.UpdateSite$Plugin.getDependenciesIncompatibleWithInstalledVersion(UpdateSite.java:1458) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1421) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1416) at hudson.model.UpdateSite$Plugin.lambda$getDependenciesIncompatibleWithInstalledVersion$1(UpdateSite.java:1461) at hudson.PluginManager$MetadataCache.lambda$of$0(PluginManager.java:1986) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at hudson.PluginManager$MetadataCache.of(PluginManager.java:1986) at hudson.model.UpdateSite$Plugin.getDependenciesIncompatibleWithInstalledVersion(UpdateSite.java:1458) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1421) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1416) at hudson.model.UpdateSite$Plugin.lambda$getDependenciesIncompatibleWithInstalledVersion$1(UpdateSite.java:1461) at hudson.PluginManager$MetadataCache.lambda$of$0(PluginManager.java:1986) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at hudson.PluginManager$MetadataCache.of(PluginManager.java:1986) at hudson.model.UpdateSite$Plugin.getDependenciesIncompatibleWithInstalledVersion(UpdateSite.java:1458) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1421) at hudson.model.UpdateSite$Plugin.isNeededDependenciesCompatibleWithInstalledVersion(UpdateSite.java:1416) at hudson.model.UpdateSite$Plugin.lambda$getDependenciesIncompatibleWithInstalledVersion$1(UpdateSite.java:1461) at hudson.PluginManager$MetadataCache.lambda$of$0(PluginManager.java:1986) ...... Caused: javax.servlet.ServletException at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:249) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:170) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694) at org.kohsuke.stapler.Stapler.service(Stapler.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) .......