I'm using UiRenderer for cells, but I'm getting this error at compile time. (I'm using the trunk)
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
....
....
Caused by: java.lang.NoSuchMethodError: com.google.gwt.uibinder.rebind.UiBinderWriter.getBundleAttributeParser(Lcom/google/gwt/uibinder/rebind/XMLAttribute;)Lcom/google/gwt/uibinder/attributeparsers/AttributeParser;
at com.google.gwt.uibinder.elementparsers.ComputedAttributeInterpreter.interpretElement(ComputedAttributeInterpreter.java:67)
at com.google.gwt.uibinder.elementparsers.UiTextInterpreter.interpretElement(UiTextInterpreter.java:61)
at com.google.gwt.uibinder.elementparsers.UiTextInterpreter.interpretElement(UiTextInterpreter.java:29)
at com.google.gwt.uibinder.elementparsers.InterpreterPipe.interpretElement(InterpreterPipe.java:58)
at com.google.gwt.uibinder.elementparsers.HtmlInterpreter.interpretElement(HtmlInterpreter.java:97)
at com.google.gwt.uibinder.elementparsers.HtmlInterpreter.interpretElement(HtmlInterpreter.java:37)
at com.google.gwt.uibinder.rebind.GetInnerHtmlVisitor.visitElement(GetInnerHtmlVisitor.java:45)
at com.google.gwt.uibinder.rebind.ChildWalker.accept(ChildWalker.java:48)
at com.google.gwt.uibinder.rebind.GetInnerHtmlVisitor.getEscapedInnerHtml(GetInnerHtmlVisitor.java:33)
at com.google.gwt.uibinder.rebind.XMLElement.consumeInnerHtml(XMLElement.java:391)
at com.google.gwt.uibinder.elementparsers.DomElementParser.parse(DomElementP
The code is very simple:
EntityBaseCell.ui.xml:
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder">
<ui:with field="username" type="java.lang.String" />
<div>
<ui:text from="{username}" />
</div>
</ui:UiBinder>
EntityBaseCell.java
public class EntityBaseCell extends AbstractCell<EntityBaseProxy> {
interface Renderer extends UiRenderer {
void render(SafeHtmlBuilder sb, String username);
}
private final Renderer renderer;
public EntityBaseCell() {
renderer = GWT.create(Renderer.class);
}
@Override
public void render(com.google.gwt.cell.client.Cell.Context arg0,
EntityBaseProxy arg1, SafeHtmlBuilder sb) {
renderer.render(sb, arg1.getName());
}
}
Any Idea?