Hi all, I'm facing a very curious problem that gives rise to a StackOverflow exception. I'm using a LinearLayout that contains two TextViews. I'm using one of these TextViews to display the price of an item. I'd like the price to be displayed in euros so I use the following code:
price.setText(item.price + "€"); This code causes StackOverflow exception to be raised whereas the following code: price.setText(item.price); works perfectly. All the more, the first code works well in debug mode: no exception is raised! Finally, I'm using the same code in different parts of my app and it works perfectly too, displaying the '€' character! Obviously, I tried replacing '€' by the unicode '\u20AC'. Same result. I also tried to load this character from a resource. Same result. It's driving me mad. I read on a post that such StackOverflow exception could be caused by a hierarchy 15 levels deep. But I'm confident I don't deal with so much levels. Any help? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

