Can you share solution with every one?


On Jul 15, 10:14 am, Rafał Laczek <rafal_lac...@wp.pl> wrote:
> Hi,
>
> This problem is solved.
>
> Regards,
> Rafal
> Dnia 15-07-2010 o godz. 13:24 Rafa Laczek napisa (a):
>
>
>
> > Hi Colleagues,
>
> > Can you help me please.
> > I have List stdTextList variable and String newTextField
> > In onSubmit I try to add to stdTextList value of newTextField.
> > newTextField for sure is not null.
> > Unfortunately I get java.lang.NullPointerException.
> > To solve the problem among the other things I was trying to initialize
> > this list in any way and then to replace value with newTextField.
>
> > My code is as follow:
> > public List stdTextList;
> > String newTextField ="Test";
>
> > onSubmit{
> > stdTextList.add(newTextField);
> > }
>
> > Thanks for your help!
> > Regards,
> > Rafal
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Java EE (J2EE) Programming with Passion!" group.
> > To post to this group, send email to
> > java-ee-j2ee-programming-with-passion@googlegroups.com
> > To unsubscribe from this group, send email to
> > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/java-ee-j2ee-programming-with-passion?...- 
> >Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to