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 <[email protected]> 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 <[email protected]>
> : Reply-To: [email protected]
> : To: [email protected], [email protected], [email protected],
> : [email protected], [email protected]
> : 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: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]