Perfect Thanks a lot. You were true. static HTML tml = new HTML(); tml.setHTML(HeatParametersString);
is working, but its still weird it shows a warning that "tml might not be intialized", thats the reason why i set it to null in the first place. But thanks its working now but with a warning :-) !! On Jan 20, 5:16 pm, Ben Imp <[email protected]> wrote: > 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.
