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 B54F9200B68 for ; Fri, 19 Aug 2016 10:30:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B3D8C160AAC; Fri, 19 Aug 2016 08:30:36 +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 D29E0160A8E for ; Fri, 19 Aug 2016 10:30:35 +0200 (CEST) Received: (qmail 71129 invoked by uid 500); 19 Aug 2016 08:30:35 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 71117 invoked by uid 99); 19 Aug 2016 08:30:34 -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; Fri, 19 Aug 2016 08:30:34 +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 53F25C2757 for ; Fri, 19 Aug 2016 08:30:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.1 X-Spam-Level: ** X-Spam-Status: No, score=2.1 tagged_above=-999 required=6.31 tests=[KAM_COUK=1.1, KAM_LAZY_DOMAIN_SECURITY=1] autolearn=disabled Received: from mx2-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 TSTYF67x_6jO for ; Fri, 19 Aug 2016 08:30:31 +0000 (UTC) Received: from mx.corefiling.com (mx-aa.corefiling.com [90.155.100.37]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 810CD5F3F3 for ; Fri, 19 Aug 2016 08:30:31 +0000 (UTC) Received: from router.int.corefiling.com ([10.0.0.1]:42231 helo=[10.0.0.5]) by smtp.corefiling.com ([10.0.0.141]:587) with esmtpsa (ldap_plain:dtn) (TLSv1.2:DHE-RSA-AES128-SHA:128) id 1bafC3-0000an-TP (Exim 4.84) (return-path ); Fri, 19 Aug 2016 09:30:24 +0100 Subject: Re: [VOTE] Apache POI 3.15-beta3 To: POI Developers List References: <57ABAEED.1010501@apache.org> <712c7c0b-7279-2977-1bea-2bfeefeda834@corefiling.co.uk> From: David North Message-ID: <0272807e-ef6d-6b06-bd5b-9dc599ea44b4@corefiling.co.uk> Date: Fri, 19 Aug 2016 09:30:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SystemFilter: not expanding corefiling.co.uk archived-at: Fri, 19 Aug 2016 08:30:36 -0000 Should be able to sort it this weekend, yes. Thanks, David On 17/08/16 20:32, Dominik Stadler wrote: > Hi, > > As the anniversary of POI is getting near and it would be nice to have at > least a 3.15 release for our 15th birthday, I suggest we build a 3.15-RC1 > from latest trunk so we include the two regressions that Javen fixed and > the additional source-directory removed. > > Then we might just be able to finish in time! > > David, are you ok to run the release-steps a 2nd time? > > Thanks... Dominik. > > > On Tue, Aug 16, 2016 at 11:45 PM, Javen O'Neal wrote: > >> Fixed in r1756552. >> >> http://svn.apache.org/viewvc?view=revision&revision=1756552 >> >> On Aug 15, 2016 9:09 AM, "Javen O'Neal" wrote: >> >>>> * 4 times NullPointerException in XSLFTextParagraph. >> getDefaultFontSize() >>> I opened bug 60005 [1] to fix the NPE in XSLFTextParagraph. >>> getDefaultFontSize() >>> This has been fixed. >>> >>>> * 456 times: ArrayIndexOutOfBoundsException in >> SprmOperation.getOperand() >>> The assumption that the operand length is "surely shorter than an int" >>> seems to incorrect for some files, since the test failed with AIOOB 4, >>> meaning the operandLength is at least 5 bytes. >>> I would need to look at the HWPF document specification ([MS-DOC].pdf, >>> [3]) to see if the operandLength may be longer than an int. >>> I do not know what the best way to fix this code is >>> >>> // surely shorter than an int... >>> byte operandLength = _grpprl[_gOffset + 1]; >>> >>> // initialized to zeros by JVM >>> byte[] codeBytes = new byte[LittleEndian.INT_SIZE]; >>> for ( int i = 0; i < operandLength; i++ ) >>> if ( _gOffset + i < _grpprl.length ) >>> codeBytes[i] = _grpprl[_gOffset + 1 + i]; >>> >>> return LittleEndian.getInt( codeBytes, 0 ); >>> >>> >>> [1] https://bz.apache.org/bugzilla/show_bug.cgi?id=60005 >>> [2] https://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/ >>> org/apache/poi/hwpf/sprm/SprmOperation.java?revision= >>> 1753052&view=markup#l106 >>> [3] https://interoperability.blob.core.windows.net/files/ >>> OfficeFileFormatsProtocols.zip >>> >>> On Mon, Aug 15, 2016 at 3:09 AM, Dominik Stadler >> >>> wrote: >>>> Hi, >>>> >>>> Running the regression tests for POI 3.15-beta3 against the CommonCrawl >>>> corpus is now finished, initial results are as follows: >>>> >>>> * 11966 fail because I did not add commons-collections4, I'll trigger a >>>> re-run to get document-counts correctly show the number of regressing >>>> documents >>>> >>>> * 456 times: ArrayIndexOutOfBoundsException in >> SprmOperation.getOperand() >>>> >>>> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: >> * >>>> at o.a.p.hwpf.extractor.WordExtractor.getText( >>> WordExtractor.java:317) >>>> at o.a.p.stress.AbstractFileHandler.handleExtractingInternal( >>> AbstractFileHandler.java:85) >>>> at o.a.p.stress.AbstractFileHandler.handleExtracting( >>> AbstractFileHandler.java:60) >>>> at org.dstadler.commoncrawl.FileHandlingRunnable.run( >>> FileHandlingRunnable.java:58) >>>> >>>> Caused by: java.lang.ArrayIndexOutOfBoundsException: 4 >>>> at o.a.p.hwpf.sprm.SprmOperation. >> getOperand(SprmOperation.java: >>> 113) >>>> at o.a.p.hwpf.sprm.SectionSprmUncompressor. >>> unCompressSEPOperation(SectionSprmUncompressor.java:62) >>>> at o.a.p.hwpf.sprm.SectionSprmUncompressor.uncompressSEP( >>> SectionSprmUncompressor.java:44) >>>> at o.a.p.hwpf.model.SEPX.getSectionProperties(SEPX.java:61) >>>> at o.a.p.hwpf.usermodel.Section.(Section.java:36) >>>> at o.a.p.hwpf.usermodel.Range.getSection(Range.java:745) >>>> at o.a.p.hwpf.converter.AbstractWordConverter.processDocument( >>> AbstractWordConverter.java:721) >>>> at o.a.p.hwpf.extractor.WordExtractor.getText( >>> WordExtractor.java:299) >>>> ... 9 more >>>> >>>> * 4 times NullPointerException in XSLFTextParagraph. >> getDefaultFontSize() >>>> >>>> java.lang.NullPointerException >>>> at o.a.p.xslf.usermodel.XSLFTextParagraph.getDefaultFontSize( >>> XSLFTextParagraph.java:935) >>>> at o.a.p.sl.draw.DrawTextParagraph.getAttributedString( >>> DrawTextParagraph.java:567) >>>> at o.a.p.sl.draw.DrawTextParagraph.breakText( >>> DrawTextParagraph.java:235) >>>> at o.a.p.sl.draw.DrawTextShape.drawParagraphs(DrawTextShape. >>> java:158) >>>> at o.a.p.sl.draw.DrawTextShape.getTextHeight(DrawTextShape. >>> java:219) >>>> at o.a.p.sl.draw.DrawTextShape.drawContent(DrawTextShape. >>> java:102) >>>> at o.a.p.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:93) >>>> at o.a.p.sl.draw.DrawSheet.draw(DrawSheet.java:67) >>>> at o.a.p.sl.draw.DrawSlide.draw(DrawSlide.java:39) >>>> at o.a.p.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:301) >>>> at o.a.p.stress.SlideShowHandler. >> renderSlides(SlideShowHandler. >>> java:120) >>>> at o.a.p.stress.SlideShowHandler.handleSlideShow( >>> SlideShowHandler.java:43) >>>> at o.a.p.stress.XSLFFileHandler.handleFile(XSLFFileHandler. >>> java:43) >>>> at org.dstadler.commoncrawl.FileHandlingRunnable.run( >>> FileHandlingRunnable.java:58) >>>> >>>> >>>> >>>> The others are probably flaky things where files caused OOM/Timeout >>> before >>>> and thus were not reported with these errors before. >>>> >>>> >>>> See http://people.apache.org/~centic/poi_regression/reports/ and >>>> http://people.apache.org/~centic/poi_regression/reportsAll/ for >> detailed >>>> results. >>> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org