Error adding resource bundle [PracticeUiLabels]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error adding resource bundle [PracticeUiLabels]

ketan
I am getting following error when running the practice app
--------------------------------------------------- runtime exception report
--------------------------------------------------

Error adding resource bundle [PracticeUiLabels]:
java.lang.IllegalArgumentExcepti
on: Could not find resource bundle [PracticeUiLabels] in the locale [en_US]
Exception: java.lang.IllegalArgumentException
Message: Could not find resource bundle [PracticeUiLabels] in the locale
[en_US]


Although i have included the file config/PracticeUiLabels.xml

--

Regards,



Ketan Deshmukh
Reply | Threaded
Open this post in threaded view
|

Re: Error adding resource bundle [PracticeUiLabels]

Adrian Crum
Does the file contain en or en_US labels?

-Adrian

On 10/21/2010 8:24 AM, ketan wrote:

> I am getting following error when running the practice app
> --------------------------------------------------- runtime exception report
> --------------------------------------------------
>
> Error adding resource bundle [PracticeUiLabels]:
> java.lang.IllegalArgumentExcepti
> on: Could not find resource bundle [PracticeUiLabels] in the locale [en_US]
> Exception: java.lang.IllegalArgumentException
> Message: Could not find resource bundle [PracticeUiLabels] in the locale
> [en_US]
>
>
> Although i have included the file config/PracticeUiLabels.xml
>
Reply | Threaded
Open this post in threaded view
|

Re: Error adding resource bundle [PracticeUiLabels]

Santosh Singh
In reply to this post by ketan
Hi Ketan,
there are two places, where we may make mistake
check it now.
1) in 'Main Decorator screen, inside of CommonScreens.xml
          <property-map map-name="uiLabelMap" global="true"
resource="PracticeUiLabels" />
2) inside ofbiz-component.xml
           <classpath type="dir" location="config" />
And in last check the name & path of file as under
            hot-deploy/practice/config/PracticeUiLabels.xml

wrong name also gives the Problem. hope that this will resolve your problem.

let me know if problem still present.

*Thanks & Regards

Santosh Singh.*

_____________________________________________

**

* +91 98267 62844/ [hidden email]*




On Thu, Oct 21, 2010 at 8:54 PM, ketan <[hidden email]> wrote:

> I am getting following error when running the practice app
> --------------------------------------------------- runtime exception
> report
> --------------------------------------------------
>
> Error adding resource bundle [PracticeUiLabels]:
> java.lang.IllegalArgumentExcepti
> on: Could not find resource bundle [PracticeUiLabels] in the locale [en_US]
> Exception: java.lang.IllegalArgumentException
> Message: Could not find resource bundle [PracticeUiLabels] in the locale
> [en_US]
>
>
> Although i have included the file config/PracticeUiLabels.xml
>
> --
>
> Regards,
>
>
>
> Ketan Deshmukh
>
Reply | Threaded
Open this post in threaded view
|

Re: Error adding resource bundle [PracticeUiLabels]

ketan
Thanks Santosh , i got it working.


On Fri, Oct 22, 2010 at 6:41 PM, Santosh Singh <[hidden email]>wrote:

> Hi Ketan,
> there are two places, where we may make mistake
> check it now.
> 1) in 'Main Decorator screen, inside of CommonScreens.xml
>          <property-map map-name="uiLabelMap" global="true"
> resource="PracticeUiLabels" />
> 2) inside ofbiz-component.xml
>           <classpath type="dir" location="config" />
> And in last check the name & path of file as under
>            hot-deploy/practice/config/PracticeUiLabels.xml
>
> wrong name also gives the Problem. hope that this will resolve your
> problem.
>
> let me know if problem still present.
>
> *Thanks & Regards
>
> Santosh Singh.*
>
> _____________________________________________
>
> **
>
> * +91 98267 62844/ [hidden email]*
>
>
>
>
> On Thu, Oct 21, 2010 at 8:54 PM, ketan <[hidden email]> wrote:
>
> > I am getting following error when running the practice app
> > --------------------------------------------------- runtime exception
> > report
> > --------------------------------------------------
> >
> > Error adding resource bundle [PracticeUiLabels]:
> > java.lang.IllegalArgumentExcepti
> > on: Could not find resource bundle [PracticeUiLabels] in the locale
> [en_US]
> > Exception: java.lang.IllegalArgumentException
> > Message: Could not find resource bundle [PracticeUiLabels] in the locale
> > [en_US]
> >
> >
> > Although i have included the file config/PracticeUiLabels.xml
> >
> > --
> >
> > Regards,
> >
> >
> >
> > Ketan Deshmukh
> >
>



--

Regards,



Ketan Deshmukh