You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexander Simbirtsev (JIRA)" <ji...@apache.org> on 2006/12/11 12:45:23 UTC

[jira] Created: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

[classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2594
                 URL: http://issues.apache.org/jira/browse/HARMONY-2594
             Project: Harmony
          Issue Type: Bug
            Reporter: Alexander Simbirtsev


Compatibility problem: On RI createInputAttributes(Element element,
MutableAttributeSet set) throws NPE on RI when one of arguments is null.

Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

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

Mark Hindess resolved HARMONY-2594.
-----------------------------------

    Resolution: Fixed
      Assignee: Mark Hindess

Applied patches in r495930.  I removed the verbose stack trace from the test output.  Please confirm they have been applied as expected.

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Assigned To: Mark Hindess
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Alexander Simbirtsev (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2594?page=all ]

Alexander Simbirtsev updated HARMONY-2594:
------------------------------------------

    Attachment: stylededitorkit-patch.txt

Here's the proposed fix

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Alexander Simbirtsev
>         Attachments: stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464495 ] 

Mark Hindess commented on HARMONY-2594:
---------------------------------------

Alexander, thanks for all the patches.  In future, please can you create them from the top-level of classlib - without the C:/home/atsimbir/Harmony/classlib prefix - as suggested in the guidelines.  Thanks.



> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472329 ] 

Alexey A. Ivanov commented on HARMONY-2594:
-------------------------------------------

Can anyone to reopen the issue to simplify the test cases provided for this issue?

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Assigned To: Mark Hindess
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

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


[jira] Reopened: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

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

Alexander Simbirtsev reopened HARMONY-2594:
-------------------------------------------


Reopening on demand

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Assigned To: Mark Hindess
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

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


[jira] Updated: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2594?page=all ]

Alexey Petrenko updated HARMONY-2594:
-------------------------------------

     Patch Info: [Patch Available]
    Component/s: Classlib

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Attachments: stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Alexander Simbirtsev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464715 ] 

Alexander Simbirtsev commented on HARMONY-2594:
-----------------------------------------------

sorry for inconveniences.
works fine. thanks

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Assigned To: Mark Hindess
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2594?page=all ]

Dmitry Irlyanov updated HARMONY-2594:
-------------------------------------

    Attachment: H2594-StyledEditorKitTest.patch

Patch to add Regression test

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

Posted by "Alexander Simbirtsev (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2594?page=all ]

Alexander Simbirtsev updated HARMONY-2594:
------------------------------------------

    Attachment: Test.java

Code to reproduce this bug

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Alexander Simbirtsev
>         Attachments: stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

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

Alexey A. Ivanov updated HARMONY-2594:
--------------------------------------

    Attachment: H2594-StyledEditorKitTest.2.patch

Removed unnecessary inner/anonymous classes.
Renamed the test cases added as regression tests.
Commented out empty test cases.

Please review and apply the new patch.

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Assigned To: Mark Hindess
>         Attachments: H2594-StyledEditorKitTest.2.patch, H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

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


[jira] Closed: (HARMONY-2594) [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

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

Mark Hindess closed HARMONY-2594.
---------------------------------


Verified.  Thanks.

> [classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2594
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2594
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>         Assigned To: Mark Hindess
>         Attachments: H2594-StyledEditorKitTest.patch, stylededitorkit-patch.txt, Test.java
>
>
> Compatibility problem: On RI createInputAttributes(Element element,
> MutableAttributeSet set) throws NPE on RI when one of arguments is null.
> Test case to reproduce this but is to be attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira