Did you add a timeLabelContainer element to StockWatcher.html? <h1>Web Application Starter Project</h1>
<table align="center"> <tr> <td colspan="2" style="font-weight:bold;">Please enter your name:</td> </tr> <tr> <td id="nameFieldContainer"></td> <td id="sendButtonContainer"></td> </tr> <tr> <td colspan="2" style="color:red;" id="errorLabelContainer"></ td> </tr> </table> On Feb 16, 3:28 pm, Nate <rnlockw...@gmail.com> wrote: > Ubuntu Helios > Eclipse > > I decided to edit the example page to see if I could actually do > something and created a Label "timeLabel". Then I attempted to add it > to the root panel and received a null pointer error. > > final Label timeLabel = new Label("server time"); > > RootPanel.get("nameFieldContainer").add(nameField); > RootPanel.get("sendButtonContainer").add(sendButton); > RootPanel.get("timeLabelContainer").add(timeLabel); // this > fails > RootPanel.get("errorLabelContainer").add(errorLabel); > > This appeared to be safe but wasn't, persisted after restarting my > computer, and I have no clue as to why. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.