Hello Everyone,
I was going back and forth within my CellTable, I got this random Severe exception which I couldn't reproduce.
other than this random exception my table seems to be stable and everything seem to be fine.
the IDE highlights this line within my code:
table.addColumn(new TextColumn<EmployeeProxy>() {
@Override
public String getValue(Employee employeeProxy) {
return employeeProxy.getName(); // highlighted by IDE
}
do you think I need to check for nulls here ?
the exception however provides a diagnostic message which I unfortunately do not fully understand : (
SEVERE: The Cell Widget is attempting to render itself within the render loop.
This usually happens when your render code modifies the state of the Cell Widget then accesses data or elements within the Widget.
java.lang.IllegalStateException: The Cell Widget is attempting to render itself within the render loop. This usually happens when your render code modifies the state of the Cell Widget then accesses data or elements within the Widget.
at com.google.gwt.user.cellview.client.HasDataPresenter.resolvePendingState(HasDataPresenter.java:1140)
at com.google.gwt.user.cellview.client.HasDataPresenter.access$3(HasDataPresenter.java:1112)
at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:1037)
at com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50)
at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:229)
at com.google.gwt.core.client.impl.SchedulerImpl.flushFinallyCommands(SchedulerImpl.java:328)
at com.google.gwt.core.client.impl.Impl.exit(Impl.java:238)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:229)
at sun.reflect.GeneratedMethodAccessor474.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)
--
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.
No comments:
Post a Comment