1. 24 9月, 2011 31 次提交
    • K
      Better way to fix the test failure. · 705220d3
      Kohsuke Kawaguchi 提交于
      This reverts commit 5dce36d9
      and it adds back xalan as test harness dependency
      705220d3
    • K
      Looks like now HtmlUnit really depends on Xalan. · 5dce36d9
      Kohsuke Kawaguchi 提交于
      This was causing ui-samples test failure
      
      java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
          at com.gargoylesoftware.htmlunit.html.DomNamespaceNode.getLocalName(DomNamespaceNode.java:81)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.getNodeName(HtmlElement.java:308)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.addNodeToRightParent(HTMLParser.java:636)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:610)
          at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
          at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1126)
          at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:734)
          at org.cyberneko.html.HTMLTagBalancer.forceStartElement(HTMLTagBalancer.java:758)
          at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:618)
          at org.cyberneko.html.HTMLTagBalancer.forceStartElement(HTMLTagBalancer.java:758)
          at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:586)
          at org.cyberneko.html.HTMLTagBalancer.forceStartElement(HTMLTagBalancer.java:758)
          at org.cyberneko.html.HTMLTagBalancer.forceStartBody(HTMLTagBalancer.java:828)
          at org.cyberneko.html.HTMLTagBalancer.endDocument(HTMLTagBalancer.java:468)
          at org.cyberneko.html.filters.DefaultFilter.endDocument(DefaultFilter.java:213)
          at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2064)
          at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:907)
          at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
          at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:901)
          at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:350)
          at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:304)
          at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:134)
          at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
          at org.jvnet.hudson.test.HudsonPageCreator.createPage(HudsonPageCreator.java:46)
          at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
          at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1717)
          at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:349)
          at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)
          at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:50)
          at junit.framework.TestSuite.runTest(TestSuite.java:208)
          at junit.framework.TestSuite.run(TestSuite.java:203)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:97)
          at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:108)
          at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:85)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
          at $Proxy0.invoke(Unknown Source)
          at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
          at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
      Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.PrefixResolver
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          ... 52 more
      Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.PrefixResolver
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          ... 52 more
      5dce36d9
    • K
    • K
    • K
      This property can be null causing HtmlUnit to fail. · 6d081faf
      Kohsuke Kawaguchi 提交于
      In event-debug.js, there's an overloaded toString() method.
      
          toString: function() {
               return "CustomEvent: " + "'" + this.type  + "', " +
                   "context: " + this.scope;
      
          }
      
      When the problem happens, "this.scope" points to a DataSourceBase object, and apparently at that time this._sName is null, and it causes a failure in ScriptableObject.getDefaultValue(), at the final "fall through to error" portion (see below)
      
      ----
      Enclosed exception:
      net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find default value for object. (http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js#385)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3652)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3630)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3658)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3670)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:829)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:748)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.add(ScriptRuntime.java:2558)
      	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.do_add(Interpreter.java:3060)
      	at script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:385)
      	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:879)
      	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:808)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:748)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.add(ScriptRuntime.java:2558)
      	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.do_add(Interpreter.java:3060)
      	at script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:114)
      	at script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:2258)
      	at script.(http://localhost:46994/static/43c91e29/scripts/yui/datasource/datasource-debug.js:79)
      	at script.(http://localhost:46994/static/43c91e29/scripts/yui/datasource/datasource-debug.js:2302)
      	at script.(http://localhost:46994/static/43c91e29/scripts/yui/autocomplete/autocomplete-debug.js:18)
      	at script.createSearchBox(http://localhost:46994/static/43c91e29/scripts/hudson-behavior.js:1711)
      	at script.(script in http://localhost:46994//login from (4, 3626) to (4, 3663):4)
      	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:879)
      	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:427)
      	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:263)
      	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3058)
      	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
      	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:415)
      	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522)
      	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529)
      	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536)
      	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:424)
      	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:399)
      	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:892)
      	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:309)
      	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
      	at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:223)
      	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:238)
      ----
      
      So this quick fix gets us around.
      
      I think the root cause of the problem is that ScriptableObject.getDefaultValue() should treat null as the primitive value, but I'm bit scared to make that change right now.
      6d081faf
    • K
      Fixed the test failure. There's no beta module in YUI 2.9, and we got some old... · 3c278df8
      Kohsuke Kawaguchi 提交于
      Fixed the test failure. There's no beta module in YUI 2.9, and we got some old plugins that's specifying beta for modules that have graduated.
      3c278df8
    • K
      storage might not be available after all · a7bafdd9
      Kohsuke Kawaguchi 提交于
      a7bafdd9
    • R
    • R
      JENKINS-11013 NOT_BUILT & other build status are reported inconsistently · 089440f9
      Richard Mortimer 提交于
      Do not class a NOT_BUILT result as a completed build when calculating
      unstable/back to normal build transitions. It should be treated in the
      same way as an ABORTED build.
      089440f9
    • R
      JENKINS-11013 NOT_BUILT & other build status are reported inconsistently · fd9d680c
      Richard Mortimer 提交于
      The parent matrix build console output does not record the build status for
      each job. That is useful to get a quick feel for the status of each job and
      the order of execution/completion.
      fd9d680c
    • R
      JENKINS-11013 NOT_BUILT & other build status are reported inconsistently · c444b42b
      Richard Mortimer 提交于
      Matrix build tooltip reports a pending/queued build as "skipped"
      c444b42b
    • R
      JENKINS-11013 NOT_BUILT & other build status are reported inconsistently · ab2cd0e4
      Richard Mortimer 提交于
      The rss/atom build result feeds report status as "?"
      ab2cd0e4
    • R
      JENKINS-11013 NOT_BUILT & other build status are reported inconsistently · eea6d832
      Richard Mortimer 提交于
      The tooltip for the grey ball is "Pending" when it should be "Not built".
      eea6d832
    • O
      c2bdbd3d
    • O
    • O
      Add YUI Storage Utility · 30af5660
      OHTAKE Tomohiro 提交于
      30af5660
    • O
      Update YUI from 2.5.2 to 2.9.0 · 0e2fd168
      OHTAKE Tomohiro 提交于
      0e2fd168
    • K
      Merge pull request #255 from jieryn/patch-1 · 013daf67
      Kohsuke Kawaguchi 提交于
      Remove excessively old change log information, replace with a link to the current stuff.
      013daf67
    • K
      not sure how it crept in · 18c7da34
      Kohsuke Kawaguchi 提交于
      18c7da34
    • K
      [FIXED JENKINS-8751] integrated the Guice branch. · 1b546d96
      Kohsuke Kawaguchi 提交于
      Classes marked as @Extension are now instantiated by Guice.
      1b546d96
    • K
      Merge branch 'guice' · 74358e70
      Kohsuke Kawaguchi 提交于
      74358e70
    • K
      added another convenience method · 8c95d320
      Kohsuke Kawaguchi 提交于
      8c95d320
    • K
    • K
      improve error recovery behaviour · 5d903514
      Kohsuke Kawaguchi 提交于
      5d903514
    • K
      I'm ultimately not using this code, but this pattern of inspecting binding... · 81d525b3
      Kohsuke Kawaguchi 提交于
      I'm ultimately not using this code, but this pattern of inspecting binding beforehand appears useful, so I'm keeping it in record
      81d525b3
    • O
    • O
      Merge pull request #254 from PaulSandoz/master · 4386a8aa
      Olivier Lamy 提交于
      Permission check added when viewing configuration of computer set.
      4386a8aa
    • O
      changelog for JENKINS-10851 · 02e73849
      Olivier Lamy 提交于
      02e73849
    • O
      Merge pull request #256 from Batmat/JENKINS-10851 · 968442b8
      Olivier Lamy 提交于
      [JENKINS-10851] Re-excluding Xalan as it makes Jenkins KO with IBM JVM
      968442b8
    • B
      [JENKINS-10851] Reverting part of 1fd7fb2c :... · b817ebda
      Baptiste Mathus 提交于
      [JENKINS-10851] Reverting part of 1fd7fb2c : excluding xalan because its presence makes Jenkins KO on IBM JVM.
      b817ebda
    • J
  2. 23 9月, 2011 6 次提交
  3. 22 9月, 2011 3 次提交