You never seem to actually set the 'tml' variable to anything besides
null, so I'm guessing that's your issue.

-Ben

On Jan 20, 3:45 pm, AmaraSat <[email protected]> wrote:
> static HTML tml = null;
> String HeatParametersString = "";
>
> for (int i = 0; i < Properties.length; i++) {
>
>        HeatParametersString = HeatParametersString +
> Properties[i].getValue() + "<br>";
>
> }
>
> tml.setHTML(HeatParametersString);
> ----> Error thrown; java.lang.NullPointerException: null
> tml.setText(HeatParametersString);
> ----> Error thrown; java.lang.NullPointerException: null
>
> later in the code
> popup.setWidget(tml);
>
> The main aim is to collect three String values from the server side
> and display them in the popup (each in one new line). tried so many
> ways no luck any suggestions.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to