Re: [android-developers] Great Problem

2011-06-08 Thread Kostya Vasilyev
What for? The logcat should have a nice readable stack trace with source file names and line numbers. -- Kostya Vasilyev 08.06.2011 21:46 пользователь "Simon Platten" написал: > Add try and catch clauses to your methods that should help you locate the > problem. > > Regards,Sy > > On 8 Jun 2011 1

Re: [android-developers] Great Problem

2011-06-08 Thread Simon Platten
Add try and catch clauses to your methods that should help you locate the problem. Regards,Sy On 8 Jun 2011 15:49, "Diogo Salaberri" wrote: hi guys, I need a help please. I got this error on my app: 06-08 14:42:33.584: ERROR/AndroidRuntime(269): java.lang.RuntimeException: Unable to start act

Re: [android-developers] Great Problem

2011-06-08 Thread Diogo Salaberri
Guys, I solved that problem. My problem was in a layout definition that was defined with caps lock, but with the same name, and the Eclipse don't put erros in line, but the emulator show me in logCat. Thanks, bye. On Wed, Jun 8, 2011 at 12:21 PM, TreKing wrote: > On Wed, Jun 8, 2011 at 10:01 AM

Re: [android-developers] Great Problem

2011-06-08 Thread TreKing
On Wed, Jun 8, 2011 at 10:01 AM, Diogo Salaberri wrote: > I guess that it not so simple. > Sure it is - step through your debugger and print out log statements. At some point something is null. Find out what that is. > I normally use that "x" TextView inside the onCreate() and after ( methods

Re: [android-developers] Great Problem

2011-06-08 Thread Streets Of Boston
But which line in your code throws the null-pointer-exception? We can't guess that since you haven't shown us the full stack-trace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@goo

Re: [android-developers] Great Problem

2011-06-08 Thread Diogo Salaberri
I guess that it not so simple. This erros is for 11 elements. I normally declare my elements like this: *public class A_Home extends Activity{* * * *TextView x;* * * *@Override* * public void onCreate(Bundle savedInstanceState) {* * super.onCreate(savedInstanceState);* * setContentView(R.layout.h

Re: [android-developers] Great Problem

2011-06-08 Thread TreKing
On Wed, Jun 8, 2011 at 9:48 AM, Diogo Salaberri wrote: > Anyone can help me ? Your debugger and LogCat can. Use them to figure out what's NULL - then make it not null. - TreKing

[android-developers] Great Problem

2011-06-08 Thread Diogo Salaberri
hi guys, I need a help please. I got this error on my app: 06-08 14:42:33.584: ERROR/AndroidRuntime(269): java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.vivo/br.com.vivo.A_Home}: java.lang.NullPointerException Anyone can help me ? Thanks -- Atenciosamente; Diogo Bo