You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Iwan Tantra <ta...@pointahead.com> on 2001/03/01 07:37:37 UTC

java.util.MissingResourceException

I got this when running samples.addressbook.GetAddress (after I modified
it to run in 5 concurrent threads). Sometimes all 5 threads returned
successfully. Sometimes the first two gave this error. Does anybody know
why?

java.util.MissingResourceException: Can't find resource for bundle
java.text.resources.LocaleElements_en, key Eras
        at java.util.ResourceBundle.getObject(ResourceBundle.java:322)
        at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
        at
java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:458)
        at
java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:109)
        at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:286)
        at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:275)
        at
org.apache.soap.encoding.soapenc.DateSerializer.<init>(DateSerializer.java:86)

        at
org.apache.soap.encoding.SOAPMappingRegistry.<init>(SOAPMappingRegistry.java:107)

        at samples.addressbook.GetAddress.run(GetAddress.java:99)

Line 99 in GetAddress.java is

SOAPMappingRegistry smr = new SOAPMappingRegistry();

Thanks,
Iwan