Cannot read property 'offsetWidth' of null

90 views
Skip to first unread message

coder

unread,
Mar 27, 2012, 4:04:37 PM3/27/12
to google-we...@googlegroups.com
In my code I use the following technique to download files
Public void onSuccess(Object result) {            
                String reportName = (String)result;                
                String url = GWT.getModuleBaseURL() + "ReportUploadHandler" + "?rname=" + reportName;
                Frame frame = new Frame(url);
                frame.setVisible(false);                
                RootPanel.get().add(frame);                
}

It seems to work just fine however occasionally I see the following message (sometimes repeated several times)
Cannot read property 'offsetWidth' of null in the console of the Chrome browser. I have never seen it in Fire Fox.

Any ideas?
Reply all
Reply to author
Forward
0 new messages