Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 242
Registered: ‎02-19-2013
My Device: 9500
My Carrier: _

Method "toString" with signature "()Ljava/lang/String;" is not applicable on this object

I am debugging application on device. I am getting this error. Can anyone suggest me how to resolve this error.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Method "toString" with signature "()Ljava/lang/String;" is not applicable on this object

Never seen this myself that I can remember.  What statement were you debugging at the time?

New Developer
Posts: 10
Registered: ‎12-03-2012
My Device: PlayBook
My Carrier: TIM

Re: Method "toString" with signature "()Ljava/lang/String;" is not applicable on this object

Hey, what's the object are you trying to convert to String???

Highlighted
Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Method "toString" with signature "()Ljava/lang/String;" is not applicable on this object

Hi @ajaysainsgvu

 

It's a debugger issue.

 
Some of the causes may be:
 
1. Simulator version does match your device version.
 
2. The *.debug files of the simulator were deleted.
 
3. The debugger is not configured correctly.
 
Start by thinking about the last changes you made to your IDE/Debugger/Simulator and try to undo these changes...
 
Hope that helps,
 
E.