cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Error - custom resource bundle- java.util.MissingResourceException: Can't find bundle for base name

AK_10131364
3-Newcomer

Error - custom resource bundle- java.util.MissingResourceException: Can't find bundle for base name

I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0

I added a new resource bundle file (.java file extended from WTListResourceBundle ) , during customization.
While trying to use resource bundle entries from the file into custom code , it fails with error .
java.util.MissingResourceException: Can't find bundle for base name ext.ibm.resource.TFRRBusinessRuleResource, locale en

Here are the errors that I faced
- java.util.MissingResourceException: Can't find bundle for base name ext.ibm.resource.TFRRBusinessRuleResource, locale en

4 REPLIES 4

Article - "Import exported preferences fails with error "Can't find bundle for base name" in Windchill PDMLink": https://www.ptc.com/en/support/article/CS351835 

Hi @AK_10131364 ,

If you can provide the custom Resource Bundle file and complete stack trace of error message from logs, it would be easy to identify the root cause.

 

There could be more than one reason for the error message.

 

Regards,

Bhushan Dhamdhere

Hi Bhushan  ,

 

I am using the resource bundle entry inside Business Rule linked java source code, I use it to display error message in case of failure. 

Please find attached files.

 

Let me know in case you need further information.

 

Thanks

-Anjali

Anjali,

 

I am confused reviewing the contents of the ZIP file you provided. I do not see the exception as you reported. I see the error as java.util.MissingResourceException: Can't find resource for bundle ext.ibm.resource.IBMBOMRuleResource, key AFFECTED_ITEM_ABSENT_Failure

 

Can you please check that you sent the right files for review?

Announcements

Top Tags