Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 14E81200B84 for ; Tue, 20 Sep 2016 21:13:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 13597160AC5; Tue, 20 Sep 2016 19:13:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EE880160AC0 for ; Tue, 20 Sep 2016 21:13:06 +0200 (CEST) Received: (qmail 16856 invoked by uid 500); 20 Sep 2016 19:13:06 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 16837 invoked by uid 99); 20 Sep 2016 19:13:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2016 19:13:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 61DB3C032D for ; Tue, 20 Sep 2016 19:13:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.738 X-Spam-Level: **** X-Spam-Status: No, score=4.738 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_10_20=1.162, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=2.397, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id feAdO_lckBCQ for ; Tue, 20 Sep 2016 19:13:03 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 145C95FCE5 for ; Tue, 20 Sep 2016 19:13:03 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id t83so33789811oie.3 for ; Tue, 20 Sep 2016 12:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Kb/b/CMSf+2yvQvUXXd+0dT/V/almVgRKydCRfBLhkM=; b=LUtbJagHe3P9W4zPahemwTWkRRPWbrAyYn6i3UrKRuyXoT96hsCNVP0GpyZyQBHRKz 1UM8i45VX8SUj5aBXUpkoALEUj3p71Z4AtHvOcCYZSOWX7zE3UHS5nDkR0EGShEVbiOI L9eazxogjGM4MiPlSjyTQiPgEZ7M5IgIL4D6dengJAV4rOHURMI4rtBfmWvf7mkVKy2G kczyg3eW4jQeinpI3cu0HGnECOwxoTZ1lRxM3xGarFfzwbBvW+xxbJWaA8yFLyRhuTe6 YUMPl/+rahizy5swEpLl12O+psGGknPALKDKqjea/eYOWDlHM4MHFbOY5Z2LWsvCPZHE Pr/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Kb/b/CMSf+2yvQvUXXd+0dT/V/almVgRKydCRfBLhkM=; b=Ug87/+A/sjYwJRfSMkNyEwpPRiQU8ItGYE2U+ovaptpG3Aqf96a5JWvLudj+KHk5kx pSLR8xkwB/iZHIICQBlSJc8Fc7pM6SsHaPEWnFZARJhIOixHaxr4C4v6BEJGHL/ganWr O72RSpQ95GhLEJ9kVfxme/UoeDqq7O504RaS/yLzwGLH5pFrUKU3wI0ABv1oZc8utgPN 9qVK5EOaLFHC/cpNoZtKT/tCCIYbSlzkUQoWCNjDwqTT6wmXBU0t+OBz6OF6D/6k0CXA iha5VKh/G8+0y+Wu7Y5FJ3oqkOHKUlSZO92M0COROuB2e5Q0xZx9BGtY3KCTHCqGHYKj X2xA== X-Gm-Message-State: AE9vXwNrg9bKSedLDgFPt6RG8N31XP6GcmdwZQcExZHQqyIldFgygYWIb0zJ+39iY4yWv3681q0pAsvRK9Xnlg== X-Received: by 10.202.253.206 with SMTP id b197mr42860145oii.137.1474398782165; Tue, 20 Sep 2016 12:13:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.240.137 with HTTP; Tue, 20 Sep 2016 12:13:01 -0700 (PDT) In-Reply-To: <285fc882-8477-286c-f361-881b6961447c@internetallee.de> References: <20160917221753.B2D263A0A3E@svn01-us-west.apache.org> <7ea8f88c-0e2a-33d0-c4e6-3ae023499d36@internetallee.de> <285fc882-8477-286c-f361-881b6961447c@internetallee.de> From: Philippe Mouawad Date: Tue, 20 Sep 2016 21:13:01 +0200 Message-ID: Subject: Re: svn commit: r1761294 - in /jmeter/trunk: LICENSE build.properties eclipse.classpath lib/ lib/aareadme.txt licenses/bin/xstream-1.4.8.txt licenses/bin/xstream-1.4.9.txt res/maven/ApacheJMeter_parent.pom xdocs/changes.xml To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=001a113de104ab2749053cf537a4 archived-at: Tue, 20 Sep 2016 19:13:08 -0000 --001a113de104ab2749053cf537a4 Content-Type: text/plain; charset=UTF-8 On Tue, Sep 20, 2016 at 8:56 PM, Felix Schumacher wrote: > Am 20.09.2016 um 20:33 schrieb Philippe Mouawad: > >> Hi Felix, >> Yes issue seems to come from this: >> https://github.com/x-stream/xstream/blob/f66bbea1b383e705988 >> abf8d06ea9782a73f24d4/xstream/src/java/com/thoughtworks/xstr >> eam/io/xml/DomDriver.java#L147 >> >> How do you reproduce it ? >> I don't see it fail on my laptop nor on jenkins build. >> > ant clean install test > Thanks I reproduced. Why isn't it failing on Jenkins build ? > > With my followup commit, the errors are gone. > Sounds ok to me but we lose the DTD. Maybe we can customize the creation like this: private XStream initXStream() { XStream xstream = new XStream(new DomDriver(){ /** * Create the DocumentBuilderFactory instance without setting http://apache.org/xml/features/disallow-doctype-decl to true * * @return the new instance */ @Override protected DocumentBuilderFactory createDocumentBuilderFactory() { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setExpandEntityReferences(false); return factory; } }); > > Felix > >> >> Thanks >> >> >> On Tue, Sep 20, 2016 at 8:10 PM, Felix Schumacher < >> felix.schumacher@internetallee.de> wrote: >> >> Am 18.09.2016 um 00:17 schrieb pmouawad@apache.org: >>> >>> Author: pmouawad >>>> Date: Sat Sep 17 22:17:53 2016 >>>> New Revision: 1761294 >>>> >>>> URL: http://svn.apache.org/viewvc?rev=1761294&view=rev >>>> Log: >>>> Updated to xstream 1.4.9 (from 1.4.8) >>>> >>>> This change seems to break the tests with: >>> ... >>> [java] Last error=java.lang.NullPointerException >>> [java] [Fatal Error] templates.xml:21:10: DOCTYPE is disallowed >>> when >>> the feature "http://apache.org/xml/features/disallow-doctype-decl" set >>> to >>> true. >>> ... >>> [java] There was 1 failure: >>> [java] 1) initializationError(org.apache.jmeter.junit.JMeterTest) >>> [java] java.lang.Exception: Error creating >>> org.apache.jmeter.gui.action.SelectTemplatesDialog >>> [java] at org.apache.jmeter.junit.JMeter >>> Test.getObjects(JMeterTest.java:485) >>> [java] at org.apache.jmeter.junit.JMeter >>> Test.suiteSerializableElements(JMeterTest.java:388) >>> [java] at org.apache.jmeter.junit.JMeter >>> Test.suite(JMeterTest.java:133) >>> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>> Method) >>> ... >>> [java] Caused by: java.lang.NullPointerException >>> [java] at org.apache.jmeter.gui.action.S >>> electTemplatesDialog.populateTemplatePage(SelectTemplatesDia >>> log.java:227) >>> [java] at org.apache.jmeter.gui.action.S >>> electTemplatesDialog.init(SelectTemplatesDialog.java:199) >>> [java] at org.apache.jmeter.gui.action.S >>> electTemplatesDialog.(SelectTemplatesDialog.java:90) >>> [java] at sun.reflect.NativeConstructorA >>> ccessorImpl.newInstance0(Native >>> Method) >>> [java] at sun.reflect.NativeConstructorA >>> ccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) >>> [java] at sun.reflect.DelegatingConstruc >>> torAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> [java] at java.lang.reflect.Constructor. >>> newInstance(Constructor.java:423) >>> [java] at java.lang.Class.newInstance(Class.java:442) >>> [java] at org.apache.jmeter.junit.JMeter >>> Test.getObjects(JMeterTest.java:456) >>> [java] ... 20 more >>> [java] >>> >>> Templates are read through xstream, that is probably why this error came >>> up. >>> >>> The "offending" change is probably https://github.com/x-stream/xs >>> tream/issues/25 >>> >>> Has anyone else noticed this, too? What shall we do? >>> >>> Regards, >>> Felix >>> >>> >>> Added: >>>> jmeter/trunk/licenses/bin/xstream-1.4.9.txt >>>> - copied unchanged from r1761222, jmeter/trunk/licenses/bin/xstr >>>> eam-1.4.8.txt >>>> Removed: >>>> jmeter/trunk/licenses/bin/xstream-1.4.8.txt >>>> Modified: >>>> jmeter/trunk/LICENSE >>>> jmeter/trunk/build.properties >>>> jmeter/trunk/eclipse.classpath >>>> jmeter/trunk/lib/ (props changed) >>>> jmeter/trunk/lib/aareadme.txt >>>> jmeter/trunk/res/maven/ApacheJMeter_parent.pom >>>> jmeter/trunk/xdocs/changes.xml >>>> >>>> Modified: jmeter/trunk/LICENSE >>>> URL: http://svn.apache.org/viewvc/jmeter/trunk/LICENSE?rev=176129 >>>> 4&r1=1761293&r2=1761294&view=diff >>>> ============================================================ >>>> ================== >>>> --- jmeter/trunk/LICENSE [utf-8] (original) >>>> +++ jmeter/trunk/LICENSE [utf-8] Sat Sep 17 22:17:53 2016 >>>> @@ -271,4 +271,4 @@ For details, please see the files under: >>>> * slf4j-api-1.7.21.jar (MIT) >>>> * xmlpull-1.1.3.1.jar (Public Domain) >>>> * xpp3-1.1.4c.jar (Indiana University Extreme! Lab Software License >>>> 1.1.1) >>>> -* xstream-1.4.8.jar (BSD) >>>> +* xstream-1.4.9.jar (BSD) >>>> >>>> Modified: jmeter/trunk/build.properties >>>> URL: http://svn.apache.org/viewvc/jmeter/trunk/build.properties?r >>>> ev=1761294&r1=1761293&r2=1761294&view=diff >>>> ============================================================ >>>> ================== >>>> --- jmeter/trunk/build.properties (original) >>>> +++ jmeter/trunk/build.properties Sat Sep 17 22:17:53 2016 >>>> @@ -301,10 +301,10 @@ tika-parsers.loc = ${maven2.r >>>> tika-parsers.md5 = 6858c2989b5f19b4b4aed0b9ff83e548 >>>> # XStream can be found at: http://x-stream.github.io >>>> -xstream.version = 1.4.8 >>>> +xstream.version = 1.4.9 >>>> xstream.jar = xstream-${xstream.version}.jar >>>> xstream.loc = ${maven2.repo}/com/thoughtwork >>>> s/xstream/xstream/${xstream.version} >>>> -xstream.md5 = 4551a29c38f22ed25eaf109eda50ff03 >>>> +xstream.md5 = 17f5ef61f6225a86ac39fc3dab45d755 >>>> # XMLPull is required by XStream 1.4.x >>>> xmlpull.version = 1.1.3.1 >>>> >>>> Modified: jmeter/trunk/eclipse.classpath >>>> URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath? >>>> rev=1761294&r1=1761293&r2=1761294&view=diff >>>> ============================================================ >>>> ================== >>>> --- jmeter/trunk/eclipse.classpath (original) >>>> +++ jmeter/trunk/eclipse.classpath Sat Sep 17 22:17:53 2016 >>>> @@ -99,7 +99,7 @@ >>>> >>>> >>>> >>>> - >>>> + >>>> >>>> >>>> >>>> >>>> Propchange: jmeter/trunk/lib/ >>>> ------------------------------------------------------------ >>>> >>>> ------------------ >>>> --- svn:ignore (original) >>>> +++ svn:ignore Sat Sep 17 22:17:53 2016 >>>> @@ -59,4 +59,4 @@ xml-apis-1.4.01.jar >>>> xmlgraphics-commons-2.0.1.jar >>>> xmlpull-1.1.3.1.jar >>>> xpp3_min-1.1.4c.jar >>>> -xstream-1.4.8.jar >>>> +xstream-1.4.9.jar >>>> >>>> Modified: jmeter/trunk/lib/aareadme.txt >>>> URL: http://svn.apache.org/viewvc/jmeter/trunk/lib/aareadme.txt?r >>>> ev=1761294&r1=1761293&r2=1761294&view=diff >>>> ============================================================ >>>> ================== >>>> --- jmeter/trunk/lib/aareadme.txt (original) >>>> +++ jmeter/trunk/lib/aareadme.txt Sat Sep 17 22:17:53 2016 >>>> @@ -279,7 +279,7 @@ or >>>> http://www.extreme.indiana.edu/dist/java-repository/xpp3/di >>>> stributions/ >>>> - xstream >>>> -xstream-1.4.8 >>>> +xstream-1.4.9 >>>> ------------- >>>> http://x-stream.github.io/download.html >>>> - SaveService >>>> >>>> Modified: jmeter/trunk/res/maven/ApacheJMeter_parent.pom >>>> URL: http://svn.apache.org/viewvc/jmeter/trunk/res/maven/ApacheJM >>>> eter_parent.pom?rev=1761294&r1=1761293&r2=1761294&view=diff >>>> ============================================================ >>>> ================== >>>> --- jmeter/trunk/res/maven/ApacheJMeter_parent.pom (original) >>>> +++ jmeter/trunk/res/maven/ApacheJMeter_parent.pom Sat Sep 17 22:17:53 >>>> 2016 >>>> @@ -101,7 +101,7 @@ under the License. >>>> 1.13 >>>> 1.13 >>>> 1.1.3.1 >>>> - 1.4.8 >>>> + 1.4.9 >>>> 1.1.4c >>>> 2.7.2 >>>> 2.7.2 >>>> >>>> Modified: jmeter/trunk/xdocs/changes.xml >>>> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml? >>>> rev=1761294&r1=1761293&r2=1761294&view=diff >>>> ============================================================ >>>> ================== >>>> --- jmeter/trunk/xdocs/changes.xml [utf-8] (original) >>>> +++ jmeter/trunk/xdocs/changes.xml [utf-8] Sat Sep 17 22:17:53 2016 >>>> @@ -170,6 +170,7 @@ Summary >>>>
  • Updated to httpcore 4.4.5 (from 4.4.4)
  • >>>>
  • Updated to slf4j-api 1.7.21 (from 1.7.13)
  • >>>>
  • Updated to rsyntaxtextarea-2.6.0 (from 2.5.8)
  • >>>> +
  • Updated to xstream 1.4.9 (from 1.4.8)
  • >>>>
  • 215Reduce duplicated code by using the newly added >>>> method GuiUtils#cancelEditing. >>>> Contributed by Benoit Wiart (b.wiart at ubik-ingenierie.com >>>> )
  • >>>>
  • 218Misc cleanup. Contributed by Benoit Wiart >>>> (b.wiart >>>> at ubik-ingenierie.com)
  • >>>> >>>> >>>> >>>> >> > -- Cordialement. Philippe Mouawad. --001a113de104ab2749053cf537a4--