{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/2e54c9050ab1dfe5455a2ee79a7fab7f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2e54c9050ab1dfe5455a2ee79a7fab7f","url":"https://api.github.com/users/kimppa","login":"kimppa","id":394406},"milestone":null,"labels":[],"updated_at":"2011-11-04T08:59:56Z","assignee":null,"comments":5,"closed_at":"2011-11-04T08:59:56Z","url":"https://api.github.com/repos/zch/ContextHelp/issues/2","body":"I have the following application:\r\n\r\n```java\r\n\tpublic void init() {\r\n\t\tfinal Window mainWindow = new Window(\"Playground Application\");\r\n\t\tsetMainWindow(mainWindow);\r\n\r\n\t\tfinal ContextHelp ch = new ContextHelp();\r\n\t\tmainWindow.addComponent(ch);\r\n\r\n\t\tfinal Button button = new Button(\"test\");\r\n\t\tmainWindow.addComponent(button);\r\n\r\n\t\tch.addHelpForComponent(button, \"This is a test\");\r\n\t\tch.showHelpFor(button);\r\n\t}\r\n```\r\n\r\nWhen I try to open the application, nothing renders and the following error can be seen in the debug window.\r\n\r\n```\r\nJavaScriptException: (TypeError): Cannot read property 'childNodes' of null\r\n arguments: childNodes,\r\n type: non_object_property_load\r\n stack: TypeError: Cannot read property 'childNodes' of null\r\n    at RTb (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2340:30)\r\n    at STb (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2244:108)\r\n    at hUb (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:1932:68)\r\n    at Object._Tb [as Sd] (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:3032:6949)\r\n    at UHb (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2055:107)\r\n    at Object.Xhb [as Sd] (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:3020:7817)\r\n    at mCb (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2997:970)\r\n    at LV (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2993:644)\r\n    at tU (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2771:311)\r\n    at uU (http://localhost:8080/Playground/VAADIN/widgetsets/com.example.playground.widgetset.PlaygroundWidgetset/9FB8EE0DB4C133E5E12A564735F39082.cache.html:2691:206)\r\n```","html_url":"https://github.com/zch/ContextHelp/issues/2","number":2,"title":"JavaScript error when opening programmatically","id":1672002,"created_at":"2011-09-18T08:12:45Z"},"action":"closed"}