HttpSolrServer.java, line 417, uses forbidden api o.a.commons.IOUtils.toString(InputStream):
<http://svn.apache.org/viewvc/lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java?diff_format=h&r1=1527546&r2=1527547> On Sep 30, 2013, at 4:01 PM, Policeman Jenkins Server <jenk...@thetaphi.de> wrote: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/7687/ > Java: 64bit/jdk1.7.0_40 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC > > All tests passed > > Build Log: > [...truncated 26231 lines...] > -check-forbidden-java-apis: > [forbidden-apis] Reading bundled API signatures: jdk-unsafe-1.7 > [forbidden-apis] Reading bundled API signatures: jdk-deprecated-1.7 > [forbidden-apis] Reading bundled API signatures: commons-io-unsafe-2.1 > [forbidden-apis] Reading API signatures: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/tools/forbiddenApis/base.txt > [forbidden-apis] Reading API signatures: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/tools/forbiddenApis/servlet-api.txt > [forbidden-apis] Loading classes to check... > [forbidden-apis] Scanning for API signatures and dependencies... > [forbidden-apis] WARNING: The referenced class > 'org.apache.lucene.collation.ICUCollationKeyAnalyzer' cannot be loaded. > Please fix the classpath! > [forbidden-apis] Forbidden method invocation: > org.apache.commons.io.IOUtils#toString(java.io.InputStream) [Uses default > charset] > [forbidden-apis] in org.apache.solr.client.solrj.impl.HttpSolrServer > (HttpSolrServer.java:415) > [forbidden-apis] WARNING: The referenced class > 'org.apache.lucene.analysis.uima.ae.AEProviderFactory' cannot be loaded. > Please fix the classpath! > [forbidden-apis] WARNING: The referenced class > 'org.apache.lucene.analysis.uima.ae.AEProviderFactory' cannot be loaded. > Please fix the classpath! > [forbidden-apis] WARNING: The referenced class > 'org.apache.lucene.analysis.uima.ae.AEProvider' cannot be loaded. Please fix > the classpath! > [forbidden-apis] Scanned 2477 (and 1385 related) class file(s) for forbidden > API invocations (in 2.11s), 1 error(s). > > BUILD FAILED > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:421: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:67: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build.xml:285: Check > for forbidden API calls failed, see log. > > Total time: 46 minutes 27 seconds > Build step 'Invoke Ant' marked build as failure > Description set: Java: 64bit/jdk1.7.0_40 -XX:+UseCompressedOops > -XX:+UseConcMarkSweepGC > Archiving artifacts > Recording test results > Email was triggered for: Failure > Sending email for trigger: Failure > > > > --------------------------------------------------------------------- > 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