Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67344

Poor performance of UpdateSite.getData

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • 2.456

      See JENKINS-60625. Still a problem in current versions. E.g. just today I tried to use the search box in the Available tab and it did not work for several minutes:

      "Handling GET /jenkins/pluginManager/pluginsSearch from 127.0.0.1 : Jetty (winstone)-14" #14 prio=5 os_prio=0 tid=0x... nid=0x... runnable [0x...]
         java.lang.Thread.State: RUNNABLE
      	at java.util.regex.Pattern.RemoveQEQuoting(Pattern.java:1596)
      	at java.util.regex.Pattern.compile(Pattern.java:1689)
      	at java.util.regex.Pattern.<init>(Pattern.java:1352)
      	at java.util.regex.Pattern.compile(Pattern.java:1028)
      	at net.sf.json.regexp.JdkRegexpMatcher.<init>(JdkRegexpMatcher.java:38)
      	at net.sf.json.regexp.JdkRegexpMatcher.<init>(JdkRegexpMatcher.java:31)
      	at net.sf.json.regexp.RegexpUtils.getMatcher(RegexpUtils.java:39)
      	at net.sf.json.util.JSONTokener.matches(JSONTokener.java:111)
      	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:912)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:156)
      	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
      	at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:1131)
      	at net.sf.json.JSONArray.fromObject(JSONArray.java:125)
      	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:351)
      	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:955)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:156)
      	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
      	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:955)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:156)
      	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
      	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:955)
      	at net.sf.json.JSONObject._fromString(JSONObject.java:1145)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:162)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:132)
      	at hudson.model.UpdateSite.getJSONObject(UpdateSite.java:370)
      	at hudson.model.UpdateSite.getData(UpdateSite.java:346)
      	at hudson.model.UpdateSite.getAvailables(UpdateSite.java:390)
      	at hudson.PluginManager.doPluginsSearch(PluginManager.java:1342)
      

            basil Basil Crow
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: