Re: [codenameone-discussions] Re: how to set null date

2017-05-25 Thread Steve Hannah
This found a potential issue, and committed a fix for it here:
https://github.com/codenameone/CodenameOne/commit/e1931684c82b7bb8d794cd43c0abd2c95cf6b5ac
This will be included in next server update.

Steve

On Thu, May 25, 2017 at 6:18 AM,  wrote:

> I dont have a stacktrace on iOS, I dont have a clue how to get one as my
> primary development is android.  It is easy to reproduce and to me it
> appears that it was fixed on the sim, android but not iOS.  Here is a very
> simple test case that reproduces the problem every time:
>
> public class FrmTestDate extends com.codename1.ui.Form {
> protected Picker p2 = new Picker();
>
> public FrmTestDate() {
> initManualComponents();
> }
>
>
> protected void initManualComponents() {
> setLayout(new BorderLayout());
> p2.setType(Display.PICKER_TYPE_DATE);
> p2.setDate(null);
>
> add(BorderLayout.SOUTH, p2);
> add(BorderLayout.CENTER, new Label("Test"));
> }
>
> }
>
>
>
> On Wednesday, May 24, 2017 at 10:11:34 PM UTC-7, Shai Almog wrote:
>>
>> I'm guessing it was. Do you have a stack trace from iOS?
>>
> --
> 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-discussions+unsubscr...@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/575ed973-4fa7-42ac-8d06-
> c4f02ffdb8a6%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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-discussions+unsubscr...@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/CAGOYrKWy9UcDutt7CAOxr6Qs%2BOtg-SF1WUkQ2jTEPRs2ho270A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to set null date

2017-05-24 Thread Shai Almog
I'm guessing it was. Do you have a stack trace from iOS?

-- 
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-discussions+unsubscr...@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/00ca5c18-f5ea-4c85-a2a6-e99ba220e148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to set null date

2017-05-24 Thread howudodat1
I'm curious if this has been fixed?  If I setDate(null) on the simulator 
it's ok, on iOS it gives a null pointer exception.

On Tuesday, September 20, 2016 at 9:46:38 PM UTC-7, Shai Almog wrote:
>
> Thanks, we'll fix that for the next update.
>

-- 
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-discussions+unsubscr...@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/f3128a8a-a697-4db0-8cc8-27ac9b99203c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to set null date

2016-09-20 Thread Shai Almog
Thanks, we'll fix that for the next update.

-- 
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-discussions+unsubscr...@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/37f0919b-feb6-4e06-a492-ee8bc00b718a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.