You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Hi,
might there something wrong with iOS enumeration code? Calling Enumeration.valueOf(String arg0) seems to cause unhandled NullPointerException even if embedded in try - catch block (and seemed that there was a correct enumeration value also) and cause an application crash:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com, mikko.nu...@gmail.com, mall...@gmail.com
That's a bit problematic with enums. Since valueOf uses a form of reflection to instantiate the objects its problematic on the devices. This
should be a problem on Android too due to the obfuscation process, it
might work for simple test cases but I think it will fail for dynamic
data.
The workaround is to put a name into every enum entry
then create your own parse file that compares the name to the given
string.
mikko.nu...@gmail.com
unread,
Dec 16, 2014, 4:08:45 AM12/16/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com, mikko.nu...@gmail.com, mall...@gmail.com
Okay, thanks. I had a feeling this would be the reason.