Alert.setIndicator causes IllegalArgumentException
shinovon opened this issue · 0 comments
shinovon commented
Android version:
11
Code:
Alert a = new Alert("");
a.setString(text);
a.setIndicator(new Gauge(null, false, Gauge.INDEFINITE, Gauge.CONTINUOUS_RUNNING));
Stack trace:
11-18 11:12:46.397 2291 3158 E javax.microedition.lcdui.event.CommandActionEvent: java.lang.IllegalArgumentException
11-18 11:12:46.397 2291 3158 E javax.microedition.lcdui.event.CommandActionEvent: at javax.microedition.lcdui.Alert.setIndicator(Alert.java:55)