Re: 'null' is null or not an object
Hi david,thanks for your reply.I am still testing in dev mode only.I
am using eclipse gwt plugin(Google -> Gwt Compile) to generate catche
files and rpc files.Once i get the files,i am deploying into tomcat
web server.It seems the problem it showing in one of the generated
cache file.Is it the problem with the generated file? Is there any
other way to compile the files? I am getting this javascript error
when i click on Next button...Here is the piece of gwt code i am using
in that instance..Any help appreciated.
nextBtn.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
if(stage.equals("one")) {
for(int i=0;i<charts.size();i++) {
ChartWidget c = (ChartWidget) charts.get(i);
if(c.isSelected()) {
moveNext(c.getType());
}
}
}
}
}
});
On Jun 4, 1:04 am, David Chandler <drfibona...@google.com> wrote:
> Does it work in IE when running dev mode? If not, it would be helpful to see
> the Java source where the error is occurring. If it fails in prod mode but
> not in dev mode, you'll need to compile with output style "pretty" instead
> of the default "obfuscated" in order to match up the generated Javascript
> with the corresponding Java source so you can try workarounds.
>
> /dmc
>
>
>
> On Thu, Jun 2, 2011 at 10:43 PM, VJ <tvij...@gmail.com> wrote:
> > I am using gwt with struts2. I get a javascript error in IE. It works
> > fine in firefox and chrome.I got this problem only in IE.I tried in
> > IE7 and IE8. Here is the javascript error i get.
>
> > Webpage error details
>
> > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
> > 4.0; .NET CLR 2.0.50727)
> > Timestamp: Fri, 3 Jun 2011 02:35:47 UTC
>
> > Message: 'null' is null or not an object
> > Line: 2487
> > Char: 42
> > Code: 0
> > URI:
> >http://192.168.1.101:8080/Nexus/89F0B25E34680577B6A25648F31A52ED.cach...
>
> > --
> > 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+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> w:http://code.google.com/
> b:http://googlewebtoolkit.blogspot.com/
> t: @googledevtools
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home