Robert and me investigated the source code of ICU ULocale 4.8. The problem is that the Java default locale seems unknown to ULocale (because Java 7 seems to contain new Locales not included in ICU) and then it fails to init the whole class (static initializer allocating locale of Java default).
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Apache Jenkins Server [mailto:[email protected]] > Sent: Monday, July 25, 2011 5:20 PM > To: [email protected] > Subject: [JENKINS] Lucene-Solr-tests-only-3.x-java7 - Build # 17 - Failure > > Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x-java7/17/ > > 4 tests failed. > REGRESSION: > org.apache.lucene.collation.TestICUCollationKeyFilter.testCollationKeySort > > Error Message: > null > > Stack Trace: > java.lang.ExceptionInInitializerError > at com.ibm.icu.text.Collator.getInstance(Collator.java:618) > at > org.apache.lucene.collation.TestICUCollationKeyFilter.<init>(TestICUCollatio > nKeyFilter.java:32) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1316) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1221) > Caused by: java.lang.NullPointerException > at > com.ibm.icu.impl.ICUResourceBundle.instantiateBundle(ICUResourceBundle > .java:840) > at > com.ibm.icu.impl.ICUResourceBundle.getBundleInstance(ICUResourceBundl > e.java:815) > at > com.ibm.icu.util.UResourceBundle.getRootType(UResourceBundle.java:489) > at > com.ibm.icu.util.UResourceBundle.instantiateBundle(UResourceBundle.java > :536) > at > com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.jav > a:144) > at > com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.jav > a:124) > at com.ibm.icu.util.ULocale.bcp47ToLDMLKey(ULocale.java:3410) > at com.ibm.icu.util.ULocale.access$400(ULocale.java:107) > at > com.ibm.icu.util.ULocale$JDKLocaleMapper.toULocale7(ULocale.java:3691) > at > com.ibm.icu.util.ULocale$JDKLocaleMapper.toULocale(ULocale.java:3566) > at com.ibm.icu.util.ULocale.forLocale(ULocale.java:399) > at com.ibm.icu.util.ULocale.<init>(ULocale.java:380) > at com.ibm.icu.util.ULocale.<clinit>(ULocale.java:516) > > > REGRESSION: > org.apache.lucene.collation.TestICUCollationKeyFilter.testFarsiTermRangeQ > uery > > Error Message: > Could not initialize class com.ibm.icu.util.ULocale > > Stack Trace: > java.lang.NoClassDefFoundError: Could not initialize class > com.ibm.icu.util.ULocale > at com.ibm.icu.text.Collator.getInstance(Collator.java:618) > at > org.apache.lucene.collation.TestICUCollationKeyFilter.<init>(TestICUCollatio > nKeyFilter.java:32) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1316) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1221) > > > REGRESSION: > org.apache.lucene.collation.TestICUCollationKeyFilter.testFarsiRangeFilterCo > llating > > Error Message: > Could not initialize class com.ibm.icu.util.ULocale > > Stack Trace: > java.lang.NoClassDefFoundError: Could not initialize class > com.ibm.icu.util.ULocale > at com.ibm.icu.text.Collator.getInstance(Collator.java:618) > at > org.apache.lucene.collation.TestICUCollationKeyFilter.<init>(TestICUCollatio > nKeyFilter.java:32) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1316) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1221) > > > REGRESSION: > org.apache.lucene.collation.TestICUCollationKeyFilter.testFarsiRangeQueryC > ollating > > Error Message: > Could not initialize class com.ibm.icu.util.ULocale > > Stack Trace: > java.lang.NoClassDefFoundError: Could not initialize class > com.ibm.icu.util.ULocale > at com.ibm.icu.text.Collator.getInstance(Collator.java:618) > at > org.apache.lucene.collation.TestICUCollationKeyFilter.<init>(TestICUCollatio > nKeyFilter.java:32) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1316) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Luc > eneTestCase.java:1221) > > > > > Build Log (for compile errors): > [...truncated 10507 lines...] > > > > --------------------------------------------------------------------- > 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]
