Hmm try adding a private ctor? Mike McCandless
http://blog.mikemccandless.com On Fri, Aug 8, 2014 at 4:18 PM, Tommaso Teofili <tommaso.teof...@gmail.com> wrote: > thanks Michael, however that's weird, DocToDoubleVectorUtils has only 2 > static methods, no constructors ... > > Tommaso > > 2014-08-08 22:12 GMT+02:00 Michael McCandless <luc...@mikemccandless.com>: > >> This is a likely bug in checkJavadocs.py ... could be javadocs are in >> fact fine and it can't understand them, or maybe there's something >> messed up, and it also can't understand them :) >> >> Hmm on 4.x when I "cd lucene" and run "ant documentation-lint", it >> doesn't hit this exception; it says this instead: >> >> -documentation-lint: >> [echo] checking for broken html... >> [jtidy] Checking for broken html (such as invalid tags)... >> [delete] Deleting directory /l/4x/lucene/build/jtidy_tmp >> [echo] Checking for broken links... >> [exec] >> [exec] Crawl/parse... >> [exec] >> [exec] Verify... >> [echo] Checking for missing docs... >> [exec] >> [exec] >> build/docs/classification/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.html >> [exec] missing Constructors: DocToDoubleVectorUtils() >> [exec] >> [exec] Missing javadocs were found! >> >> >> Mike McCandless >> >> http://blog.mikemccandless.com >> >> >> On Fri, Aug 8, 2014 at 1:35 PM, Tommaso Teofili >> <tommaso.teof...@gmail.com> wrote: >> > I'll have a deeper look if I added something weird in the javadoc but at >> > first glance it seems everything is ok. >> > >> > Tommaso >> > >> > >> > 2014-08-08 19:00 GMT+02:00 Tomás Fernández Löbbe >> > <tomasflo...@gmail.com>: >> > >> >> I think the problem may be with a {@link } to a private field on a >> >> public >> >> method? >> >> >> >> >> >> On Fri, Aug 8, 2014 at 9:53 AM, Steve Rowe <sar...@gmail.com> wrote: >> >>> >> >>> I’ve seen this kind of error before, it’s the rough equivalent to >> >>> Java’s >> >>> NullPointerException: calling a method on a variable that has value >> >>> None. >> >>> >> >>> For some reason, s doesn’t have a string value at the point when "s = >> >>> s.replace('%20', ' ‘)” is executed. >> >>> >> >>> Steve >> >>> >> >>> On Aug 8, 2014, at 12:46 PM, Chris Hostetter <hoss...@apache.org> >> >>> wrote: >> >>> >> >>> > >> >>> > Can someone who understands the python code in checkJavaDocs.py >> >>> > explain >> >>> > what this error means? >> >>> > >> >>> > I know tommaso added/fixed a javadoc include problem with >> >>> > LUCENE-5878, >> >>> > but >> >>> > that seemed to be causing a differend (intelligable) javadoc-lint >> >>> > error >> >>> > in >> >>> > other builds ... i'm not understanding what the real problem is from >> >>> > this >> >>> > error.... >> >>> > >> >>> > >> >>> > >> >>> > : Date: Fri, 8 Aug 2014 16:18:44 +0000 (UTC) >> >>> > : From: Policeman Jenkins Server <jenk...@thetaphi.de> >> >>> > : Reply-To: dev@lucene.apache.org >> >>> > : To: tomm...@apache.org, tflo...@apache.org, >> >>> > markrmil...@apache.org, >> >>> > : hoss...@apache.org, dev@lucene.apache.org >> >>> > : Subject: [JENKINS] Lucene-Solr-4.x-Windows (64bit/jdk1.8.0_11) - >> >>> > Build # 4145 >> >>> > : - Failure! >> >>> > : >> >>> > : Build: >> >>> > http://jenkins.thetaphi.de/job/Lucene-Solr-4.x-Windows/4145/ >> >>> > : Java: 64bit/jdk1.8.0_11 -XX:-UseCompressedOops -XX:+UseG1GC >> >>> > : >> >>> > : All tests passed >> >>> > : >> >>> > : Build Log: >> >>> > : [...truncated 45039 lines...] >> >>> > : -documentation-lint: >> >>> > : [echo] checking for broken html... >> >>> > : [jtidy] Checking for broken html (such as invalid tags)... >> >>> > : [delete] Deleting directory >> >>> > >> >>> > C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\build\jtidy_tmp >> >>> > : [echo] Checking for broken links... >> >>> > : [exec] >> >>> > : [exec] Crawl/parse... >> >>> > : [exec] >> >>> > : [exec] Verify... >> >>> > : [echo] Checking for missing docs... >> >>> > : [exec] Traceback (most recent call last): >> >>> > : [exec] File >> >>> > >> >>> > "C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\dev-tools/scripts/checkJavaDocs.py", >> >>> > line 371, in <module> >> >>> > : [exec] if checkPackageSummaries(sys.argv[1], level): >> >>> > : [exec] File >> >>> > >> >>> > "C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\dev-tools/scripts/checkJavaDocs.py", >> >>> > line 351, in checkPackageSummaries >> >>> > : [exec] if checkClassSummaries(fullPath): >> >>> > : [exec] File >> >>> > >> >>> > "C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\dev-tools/scripts/checkJavaDocs.py", >> >>> > line 215, in checkClassSummaries >> >>> > : [exec] missing.append((lastCaption, >> >>> > unEscapeURL(lastItem))) >> >>> > : [exec] File >> >>> > >> >>> > "C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\dev-tools/scripts/checkJavaDocs.py", >> >>> > line 303, in unEscapeURL >> >>> > : [exec] s = s.replace('%20', ' ') >> >>> > : [exec] AttributeError: 'NoneType' object has no attribute >> >>> > 'replace' >> >>> > : >> >>> > : BUILD FAILED >> >>> > : >> >>> > >> >>> > C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\build.xml:474: >> >>> > The >> >>> > following error occurred while executing this line: >> >>> > : >> >>> > C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\build.xml:63: >> >>> > The following error occurred while executing this line: >> >>> > : >> >>> > >> >>> > C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\build.xml:212: >> >>> > The following error occurred while executing this line: >> >>> > : >> >>> > >> >>> > C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\build.xml:242: >> >>> > The following error occurred while executing this line: >> >>> > : >> >>> > >> >>> > C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\common-build.xml:2347: >> >>> > exec returned: 1 >> >>> > : >> >>> > : Total time: 183 minutes 16 seconds >> >>> > : Build step 'Invoke Ant' marked build as failure >> >>> > : [description-setter] Description set: Java: 64bit/jdk1.8.0_11 >> >>> > -XX:-UseCompressedOops -XX:+UseG1GC >> >>> > : Archiving artifacts >> >>> > : Recording test results >> >>> > : Email was triggered for: Failure - Any >> >>> > : Sending email for trigger: Failure - Any >> >>> > : >> >>> > : >> >>> > : >> >>> > >> >>> > -Hoss >> >>> > >> >>> > >> >>> > --------------------------------------------------------------------- >> >>> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> >>> > For additional commands, e-mail: dev-h...@lucene.apache.org >> >>> > >> >>> >> >>> >> >>> --------------------------------------------------------------------- >> >>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> >>> For additional commands, e-mail: dev-h...@lucene.apache.org >> >>> >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org