StackLayoutPanel throws IndexOutOfBoundsException in design mode with GEP

6 views
Skip to first unread message

Daniel Besoli

unread,
Aug 30, 2011, 5:30:08 AM8/30/11
to google-we...@googlegroups.com
Hi all,

as simple as this:

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<ui:style>
</ui:style>
<g:HTMLPanel>
<g:StackLayoutPanel width="178px" height="217px">
<g:stack>
<g:customHeader size="20">
<g:Label>HEADER 1</g:Label>
</g:customHeader>
<g:Label>content 1</g:Label>
</g:stack>
</g:StackLayoutPanel>
</g:HTMLPanel>
</ui:UiBinder> 

This simple UiBinder throws IndexOutOfBoundsException when I switch from XML Source to Design mode in Eclipse plugin.

Internal Error

GWT Designer encountered unexpected internal error.

This could be caused by a GWT Designer bug or by a misconfiguration issue, conflict, partial update, etc.

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

I'm using Indigo up to date and GWT SDK 2.4.0 rc1 and GWT Designer 2.4.0 r37

But tested with Helios and GWT SDK 2.3.0 r36 with same results.

On the other hand there is no problem with <g:header> and when used in runtime mode, works well.

I've attached one report zip from GWT Designer.

Thanks

Daniel


report-20110830-112512.zip
Reply all
Reply to author
Forward
0 new messages