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 14:19:21 UTC
[jira] Created: (HARMONY-2604) [classlib][awt]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
[classlib][awt] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
--------------------------------------------------------------------------------------------------------------
Key: HARMONY-2604
URL: http://issues.apache.org/jira/browse/HARMONY-2604
Project: Harmony
Issue Type: Bug
Reporter: Alexander Simbirtsev
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws unspecified NPE while RI does not.
Here's the code to reproduce:
import javax.swing.JInternalFrame;
import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
import junit.framework.TestCase;
public class Test extends TestCase {
public void testcase1() {
String str = "test string";
JInternalFrame jf = new JInternalFrame(str);
MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
try {
m.actionPerformed(null);
} catch (NullPointerException e) {
fail("NPE shouldn't be thrown");
}
}
}
--
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-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2604?page=all ]
Dmitry Irlyanov updated HARMONY-2604:
-------------------------------------
Attachment: H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch
As JIRAs 2588, 2604 and 2608 corresponds in general to the same issue, there is the common regression test
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: http://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Attachments: H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch, H2604-BasicInternalFrameTitlePaneTest.patch, sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Alexander Simbirtsev (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2604?page=all ]
Alexander Simbirtsev updated HARMONY-2604:
------------------------------------------
Patch Info: [Patch Available]
Component/s: Classlib
Summary: [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE (was: [classlib][awt] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE)
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: http://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Attachments: sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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] Assigned: (HARMONY-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess reassigned HARMONY-2604:
-------------------------------------
Assignee: Mark Hindess
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: https://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Assigned To: Mark Hindess
> Attachments: H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch, H2604-BasicInternalFrameTitlePaneTest.patch, sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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-2604) [classlib][awt]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Alexander Simbirtsev (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2604?page=all ]
Alexander Simbirtsev updated HARMONY-2604:
------------------------------------------
Attachment: sizeaction-patch-2.txt
Here's the proposed fix
eventually this patch also contains patch for http://issues.apache.org/jira/browse/HARMONY-2588
> [classlib][awt] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> --------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: http://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Reporter: Alexander Simbirtsev
> Attachments: sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2604?page=all ]
Dmitry Irlyanov updated HARMONY-2604:
-------------------------------------
Attachment: H2604-BasicInternalFrameTitlePaneTest.patch
Regression test
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: http://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Attachments: H2604-BasicInternalFrameTitlePaneTest.patch, sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess resolved HARMONY-2604.
-----------------------------------
Resolution: Fixed
Applied sizeaction-patch-2.txt and H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch in r495927. Please confirm that this issue is resolved.
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: https://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Assigned To: Mark Hindess
> Attachments: H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch, H2604-BasicInternalFrameTitlePaneTest.patch, sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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] Closed: (HARMONY-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess closed HARMONY-2604.
---------------------------------
Verified. Thanks.
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: https://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Assigned To: Mark Hindess
> Attachments: H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch, H2604-BasicInternalFrameTitlePaneTest.patch, sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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-2604) [classlib][swing]
javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
throws NPE
Posted by "Alexander Simbirtsev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464720 ]
Alexander Simbirtsev commented on HARMONY-2604:
-----------------------------------------------
works fine. thanks
> [classlib][swing] javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null) throws NPE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2604
> URL: https://issues.apache.org/jira/browse/HARMONY-2604
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexander Simbirtsev
> Assigned To: Mark Hindess
> Attachments: H2588-H2604-H2608-BasicInternalFrameTitlePaneTest.patch, H2604-BasicInternalFrameTitlePaneTest.patch, sizeaction-patch-2.txt
>
>
> javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction.actionPerformed(null)
> throws unspecified NPE while RI does not.
> Here's the code to reproduce:
> import javax.swing.JInternalFrame;
> import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
> import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
> import junit.framework.TestCase;
> public class Test extends TestCase {
> public void testcase1() {
> String str = "test string";
> JInternalFrame jf = new JInternalFrame(str);
> MetalInternalFrameTitlePane jp = new MetalInternalFrameTitlePane(jf);
> BasicInternalFrameTitlePane.SizeAction m = jp.new SizeAction();
> try {
> m.actionPerformed(null);
> } catch (NullPointerException e) {
> fail("NPE shouldn't be thrown");
> }
> }
> }
--
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