1. Switch to UiBuider Desinger mode
2. Create in UI Designer StackLayoutPanel
3. Try to add to it CellList
4. Error occurs
Found in GWT Release (e.g. 2.4.0, 2.5.1, trunk):
GWT 2.6.1
Encountered on OS / Browser (e.g. WinXP, IE9, FF10):
Win7
also see attachment
here stacktrace:
java.lang.ClassCastException: java.lang.Boolean cannot be cast to
java.lang.Class
at com.sun.proxy.$Proxy660.annotationType(Unknown Source)
at com.google.gwt.dev.javac.typemodel.ImmutableAnnotations.copyOfAnnotations(ImmutableAnnotations.java:87)
at com.google.gwt.dev.javac.typemodel.ImmutableAnnotations.<init>(ImmutableAnnotations.java:49)
at com.google.gwt.dev.javac.typemodel.ImmutableAnnotations.plus(ImmutableAnnotations.java:60)
at com.google.gwt.dev.javac.typemodel.JField.<init>(JField.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.google.gdt.eclipse.designer.uibinder.model.util.NameSupport.addFormJField(NameSupport.java:485)
at com.google.gdt.eclipse.designer.uibinder.model.util.NameSupport.addUiFieldJava(NameSupport.java:442)
at com.google.gdt.eclipse.designer.uibinder.model.util.NameSupport.createFieldProvided(NameSupport.java:418)
at com.google.gdt.eclipse.designer.uibinder.model.util.NameSupport.access$1(NameSupport.java:371)
at com.google.gdt.eclipse.designer.uibinder.model.util.NameSupport$3.after(NameSupport.java:142)
at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.wb.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:208)
at org.eclipse.wb.internal.core.xml.model.broadcast.XmlObjectAdd$$EnhancerByCGLIB$$dc7897c1.after(<generated>)
at org.eclipse.wb.internal.core.xml.model.utils.XmlObjectUtils.add(XmlObjectUtils.java:294)
at org.eclipse.wb.internal.core.xml.model.generic.FlowContainerConfigurable.command_CREATE_default(FlowContainerConfigurable.java:96)
at org.eclipse.wb.internal.core.xml.model.generic.FlowContainerConfigurable.command_CREATE(FlowContainerConfigurable.java:77)
at org.eclipse.wb.internal.core.xml.model.utils.XmlObjectUtils.flowContainerCreate(XmlObjectUtils.java:421)
at com.google.gdt.eclipse.designer.uibinder.model.widgets.ComplexPanelInfo.command_CREATE2(ComplexPanelInfo.java:51)
at com.google.gdt.eclipse.designer.uibinder.model.widgets.ComplexPanelInfo.command_CREATE2(ComplexPanelInfo.java:1)
at com.google.gdt.eclipse.designer.gef.policy.LayoutPanelLayoutEditPolicy$1.executeEdit(LayoutPanelLayoutEditPolicy.java:181)
at org.eclipse.wb.core.gef.command.EditCommand$1.run(EditCommand.java:52)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUtils.java:324)
Original issue reported on code.google.com by rov63rus on 20 Aug 2014 at 11:55
Original issue reported on code.google.com by
rov63rus
on 20 Aug 2014 at 11:55Attachments: