IMPORTANT: This is not a place to ask questions! Please ask questions here:
http://www.codenameone.com/discussion-forum.html
If you are unsure about an issue go to the discussion forum first. Remove
these lines to indicate that you read and understood them.
Please clearly state whether the issue relates to a device/the simulator or
the tools.
If related to a device be sure to specify exactly which device with as much
details as possible.
What steps will reproduce the problem?
public void init(Object context) {
this.context = context;
try {
res = Resources.openLayered("/theme");
Hashtable baseTheme = res.getTheme(res.getThemeResourceNames()[0]); // crashes on IOS 8.1.1
if (Display.getInstance().getPlatformName().equals("ios")) {
baseTheme.put("@paintsTitleBarBool", "true");
}
UIManager.getInstance().setThemeProps(baseTheme);
// Hashtable iosOnly = this.res.getTheme(this.res.getThemeResourceNames()[1]);
} catch (IOException e) {
Log.e(e);
}
//.getIn
bundleContext = new BundleContext(this,res);
}
What is the expected output? What do you see instead?
It should return a hashtable
What version of the product are you using? On what operating system?
IOS 8.1.1
Please provide any additional information below.
there is a theme file attached that probably causes this crash
Original issue reported on code.google.com by evenmat...@gmail.com on 14 Feb 2015 at 7:40
Original issue reported on code.google.com by
evenmat...@gmail.com
on 14 Feb 2015 at 7:40Attachments: