christian.schmitz
26 May 2009, 7:43 AM
Hello,
I am evaluating GXT to use it in a project and the first simple Example fails.
I use Ganemede (actual version) with GWT Plugin 1.6.4 and JDK 1.5.0_17. If I try to compile my simple Example I get a StackOverFlowError:
[ERROR] Unexpected internal compiler error
java.lang.StackOverflowError: null
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
The Xss-Parameter is set to my Java VM (-Xss1024k). In the documentation I cannot find any recommendation for the JDK, but if I change to a JDK 6 compilation works. So, is it a bug or do I have to use JDK 6 with GXT 2.0?
Regrads, Christian
Here is my Sample Class:
package de.test.gxt.client;
import com.extjs.gxt.ui.client.Style.Scroll;
import com.extjs.gxt.ui.client.event.ButtonEvent;
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.widget.Dialog;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
public class MyGxtTest implements EntryPoint {
public void onModuleLoad() {
final Dialog simple = new Dialog();
simple.setHeading("Dialog Test");
simple.setButtons(Dialog.YESNO);
simple.setBodyStyleName("pad-text");
simple.addText("Ich bin ein Dialog");
simple.setScrollMode(Scroll.AUTO);
simple.setHideOnButtonClick(true);
Button b = new Button("Click me...",
new SelectionListener<ButtonEvent>() {
public void componentSelected(ButtonEvent ce) {
simple.show();
};
});
RootPanel.get("nameFieldContainer").add(b);
}
}
I am evaluating GXT to use it in a project and the first simple Example fails.
I use Ganemede (actual version) with GWT Plugin 1.6.4 and JDK 1.5.0_17. If I try to compile my simple Example I get a StackOverFlowError:
[ERROR] Unexpected internal compiler error
java.lang.StackOverflowError: null
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
The Xss-Parameter is set to my Java VM (-Xss1024k). In the documentation I cannot find any recommendation for the JDK, but if I change to a JDK 6 compilation works. So, is it a bug or do I have to use JDK 6 with GXT 2.0?
Regrads, Christian
Here is my Sample Class:
package de.test.gxt.client;
import com.extjs.gxt.ui.client.Style.Scroll;
import com.extjs.gxt.ui.client.event.ButtonEvent;
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.widget.Dialog;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
public class MyGxtTest implements EntryPoint {
public void onModuleLoad() {
final Dialog simple = new Dialog();
simple.setHeading("Dialog Test");
simple.setButtons(Dialog.YESNO);
simple.setBodyStyleName("pad-text");
simple.addText("Ich bin ein Dialog");
simple.setScrollMode(Scroll.AUTO);
simple.setHideOnButtonClick(true);
Button b = new Button("Click me...",
new SelectionListener<ButtonEvent>() {
public void componentSelected(ButtonEvent ce) {
simple.show();
};
});
RootPanel.get("nameFieldContainer").add(b);
}
}