Thanks for the help. I finally just trashed both the xml and class
files and rewrote then. It works now, I think it had to do with the
DatePicker. Thanks for the help.
KaiPing
On Mar 28, 8:07 pm, Peli <[EMAIL PROTECTED]> wrote:
> Which is the line that causes the null-pointer exception? The c
Which is the line that causes the null-pointer exception? The code
lines you posted surely don't as they just assign the values. How do
you know that the values are 'null' in onCreate()?
What is in EditTransaction.java:47 ?
Peli
On Mar 28, 12:38 pm, kaiping <[EMAIL PROTECTED]> wrote:
> OK, Did t
OK, Did that and it still has the same error
On Mar 27, 11:43 pm, Peli <[EMAIL PROTECTED]> wrote:
> Sometimes R.java is corrupted. It helps to clean everything either
> from within Eclipse or manually (delete bin/ and R.java) and rebuild
> from scratch.
>
> Peli
>
> On Mar 27, 2:44 pm,kaiping<[EM
Sometimes R.java is corrupted. It helps to clean everything either
from within Eclipse or manually (delete bin/ and R.java) and rebuild
from scratch.
Peli
On Mar 27, 2:44 pm, kaiping <[EMAIL PROTECTED]> wrote:
> I am sure, Actually the R.id.account_name was a type I forgot to fix.
> But, even th
I am sure, Actually the R.id.account_name was a type I forgot to fix.
But, even the once that are in there return null.
On Mar 27, 12:16 am, "Dan U." <[EMAIL PROTECTED]> wrote:
> Are you sure ALL the findViewById return null? This one does for sure:
> mDescription = (EditText) findViewById(R.id.a
Are you sure ALL the findViewById return null? This one does for sure:
mDescription = (EditText) findViewById(R.id.account_name); since there
is no account_name id in your layout.
On Mar 26, 6:19 am, kaiping <[EMAIL PROTECTED]> wrote:
> Thanks for the idea. I have confirmed that the file is name
Thanks for the idea. I have confirmed that the file is named
transaction_edit.xml.
On Mar 26, 3:54 am, "Dan U." <[EMAIL PROTECTED]> wrote:
> Well, he needs to have the filename be transaction_edit.xml. Not sure
> if it is.
>
> On Mar 25, 5:29 am, Rick Genter <[EMAIL PROTECTED]> wrote:
>
> > Don'
Well, he needs to have the filename be transaction_edit.xml. Not sure
if it is.
On Mar 25, 5:29 am, Rick Genter <[EMAIL PROTECTED]> wrote:
> Don't you need to name your layout "transaction_edit" in the XML file?
>
> On Mar 25, 2008, at 5:26 AM, kaiping wrote:
>
>
>
>
>
> > Hi, For one of my Activ
Don't you need to name your layout "transaction_edit" in the XML file?
On Mar 25, 2008, at 5:26 AM, kaiping wrote:
>
> Hi, For one of my Activities All the findViewById() function returns
> is null. I am really astonished by this behaviour because this same
> function works fine in other parts o
9 matches
Mail list logo