My windows desktop (msi) builds worked as expected until I upgraded from intellij 13 to intellij 15 with the corresponding upgrade codenameone plugin upgrade to version 3.4.2.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f8f8a280-31d5-4ab9-a41c-260c977b2530%40googlegroups.com.
Thank you for the command line option. I used it and uncovered that Steve was correct in the assumption that my app is throwing an error. I have added a few debug output statements to help me identify the exact line that is hanging. Let me give a few pre-qualifiers to the scenario.
1) my app uses a standard splash screen which runs some initialization and registration checks
2) these checks are inside the postSplash function and the splash screen is never displayed
3) During these checks I scan the installation device for available storage paths and test the write-ability of each, this does throw some javaIO errors which are caught and handled correctly by my code
4) at this point in the code I would expect the splash screen to be visible but for some reason it is not
5) i make use of a "loading" label object to show status messages to the user and the code now updates that object
I suspected that my app would be hanging on the "loading" label object modification statement of:
statusMsg.setText("Opening Registration System...");
but strangely enough it makes it past that line to hang on the next line:
Dialog.show("Device Registration", "We will need to perform registration before you can make use of this application.", "OK", null);
I can see how both these lines of code could be problematic when the app hasn't actually come into view yet, but I can't understand why the app hasn't come into view yet.
System.out.println("setting status message text...");
statusMsg.setText("Opening Registration System...");
Display.getInstance().callSerially(() -> {
System.out.println("Showing registration needed dialog serially...");
Dialog.show("Device Registration", "We will need to perform registration before you can make use of this application.", "OK", null);
});
System.out.println("Opening Registration System...");
showForm("register", null);
@Override
protected void beforeRegister(Form f) {
System.out.println("preparing to show register form...");
registerForm = f;
TextArea header = (TextArea)findByName("HeaderText", registerForm);
header.setText("Evans allows a single user to be responsible for multiple devices. You give each device a 'Device Alias' (Please note special characters and spaces are not allowed) that identifies it in your account audit trail.\n\nIf you are already a member you only need to complete your email address, password and device alias to have this device added to your account.\n\nNew users should please complete all the fields in the form below.");
System.out.println("Register form ready to display...");
}