You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2007/09/26 07:52:50 UTC

[jira] Created: (HARMONY-4852) [classlib][beans] ColorEditor.getAsText() throws NPE when color is null

[classlib][beans] ColorEditor.getAsText() throws NPE when color is null
-----------------------------------------------------------------------

                 Key: HARMONY-4852
                 URL: https://issues.apache.org/jira/browse/HARMONY-4852
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Regis Xu


below test is passed on ri but throws NPE on harmony:
********TEST**********
        PropertyEditor e2 = PropertyEditorManager.findEditor(Color.class);
        assertNull(e2.getValue());
        assertEquals("null", e2.getAsText());
********END************

And i will create a patch for this soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-4852) [classlib][beans] ColorEditor.getAsText() throws NPE when color is null

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu resolved HARMONY-4852.
------------------------------

    Resolution: Fixed

Patch applied at r582746 with minor modification, please verify. Thanks.

> [classlib][beans] ColorEditor.getAsText() throws NPE when color is null
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-4852
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4852
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>            Assignee: Tony Wu
>         Attachments: Harmony-4852.diff
>
>
> below test is passed on ri but throws NPE on harmony:
> ********TEST**********
>         PropertyEditor e2 = PropertyEditorManager.findEditor(Color.class);
>         assertNull(e2.getValue());
>         assertEquals("null", e2.getAsText());
> ********END************
> And i will create a patch for this soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-4852) [classlib][beans] ColorEditor.getAsText() throws NPE when color is null

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu reassigned HARMONY-4852:
--------------------------------

    Assignee: Tony Wu

> [classlib][beans] ColorEditor.getAsText() throws NPE when color is null
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-4852
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4852
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>            Assignee: Tony Wu
>         Attachments: Harmony-4852.diff
>
>
> below test is passed on ri but throws NPE on harmony:
> ********TEST**********
>         PropertyEditor e2 = PropertyEditorManager.findEditor(Color.class);
>         assertNull(e2.getValue());
>         assertEquals("null", e2.getAsText());
> ********END************
> And i will create a patch for this soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4852) [classlib][beans] ColorEditor.getAsText() throws NPE when color is null

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu updated HARMONY-4852:
------------------------------

    Attachment: Harmony-4852.diff

Would anyone pls  try this?

> [classlib][beans] ColorEditor.getAsText() throws NPE when color is null
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-4852
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4852
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>         Attachments: Harmony-4852.diff
>
>
> below test is passed on ri but throws NPE on harmony:
> ********TEST**********
>         PropertyEditor e2 = PropertyEditorManager.findEditor(Color.class);
>         assertNull(e2.getValue());
>         assertEquals("null", e2.getAsText());
> ********END************
> And i will create a patch for this soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4852) [classlib][beans] ColorEditor.getAsText() throws NPE when color is null

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu closed HARMONY-4852.
-----------------------------


Verified, Thanks Tony.

> [classlib][beans] ColorEditor.getAsText() throws NPE when color is null
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-4852
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4852
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>            Assignee: Tony Wu
>         Attachments: Harmony-4852.diff
>
>
> below test is passed on ri but throws NPE on harmony:
> ********TEST**********
>         PropertyEditor e2 = PropertyEditorManager.findEditor(Color.class);
>         assertNull(e2.getValue());
>         assertEquals("null", e2.getAsText());
> ********END************
> And i will create a patch for this soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.