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

[jira] Created: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

[classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
-------------------------------------------------------------------------------------------

                 Key: HARMONY-2569
                 URL: http://issues.apache.org/jira/browse/HARMONY-2569
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Pavel Dolgov
            Priority: Minor


Test case:
--------------
import javax.swing.JDialog;

import junit.framework.TestCase;

public class TheTest extends TestCase {
    public void testcase1() {
        new JDialog().update(null);
    }
}

Harmony output:
----------------
.E
Time: 7.861
There was 1 error:
1) testcase1(TheTest)java.lang.NullPointerException
	at java.awt.Container.paintComponentsImpl(Container.java)
	at java.awt.Container.paint(Container.java:930)
	at javax.swing.JDialog.update(JDialog.java)
	at TheTest.testcase1(TheTest.java:12)
	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
	at TheTest.main(TheTest.java:8)

FAILURES!!!
Tests run: 1,  Failures: 0,  Errors: 1


-- 
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] Closed: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

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

Alexei Zakharov closed HARMONY-2569.
------------------------------------


> [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2569
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2569
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>         Assigned To: Alexei Zakharov
>            Priority: Minor
>
> Test case:
> --------------
> import javax.swing.JDialog;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public void testcase1() {
>         new JDialog().update(null);
>     }
> }
> Harmony output:
> ----------------
> .E
> Time: 7.861
> There was 1 error:
> 1) testcase1(TheTest)java.lang.NullPointerException
> 	at java.awt.Container.paintComponentsImpl(Container.java)
> 	at java.awt.Container.paint(Container.java:930)
> 	at javax.swing.JDialog.update(JDialog.java)
> 	at TheTest.testcase1(TheTest.java:12)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at TheTest.main(TheTest.java:8)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1

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


[jira] Commented: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

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

Vasily Zakharov commented on HARMONY-2569:
------------------------------------------

Yes, the error doesn't reproduce after HARMONY-2527 is fixed.

The issue may be closed as duplicate.


> [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2569
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2569
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>
> Test case:
> --------------
> import javax.swing.JDialog;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public void testcase1() {
>         new JDialog().update(null);
>     }
> }
> Harmony output:
> ----------------
> .E
> Time: 7.861
> There was 1 error:
> 1) testcase1(TheTest)java.lang.NullPointerException
> 	at java.awt.Container.paintComponentsImpl(Container.java)
> 	at java.awt.Container.paint(Container.java:930)
> 	at javax.swing.JDialog.update(JDialog.java)
> 	at TheTest.testcase1(TheTest.java:12)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at TheTest.main(TheTest.java:8)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1

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


[jira] Resolved: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

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

Alexei Zakharov resolved HARMONY-2569.
--------------------------------------

    Resolution: Duplicate

I am unable to reproduce it on the latest Harmony snapshot either. Closed as duplicate.

> [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2569
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2569
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>         Assigned To: Alexei Zakharov
>            Priority: Minor
>
> Test case:
> --------------
> import javax.swing.JDialog;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public void testcase1() {
>         new JDialog().update(null);
>     }
> }
> Harmony output:
> ----------------
> .E
> Time: 7.861
> There was 1 error:
> 1) testcase1(TheTest)java.lang.NullPointerException
> 	at java.awt.Container.paintComponentsImpl(Container.java)
> 	at java.awt.Container.paint(Container.java:930)
> 	at javax.swing.JDialog.update(JDialog.java)
> 	at TheTest.testcase1(TheTest.java:12)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at TheTest.main(TheTest.java:8)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1

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


[jira] Assigned: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

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

Alexei Zakharov reassigned HARMONY-2569:
----------------------------------------

    Assignee: Alexei Zakharov

> [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2569
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2569
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>         Assigned To: Alexei Zakharov
>            Priority: Minor
>
> Test case:
> --------------
> import javax.swing.JDialog;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public void testcase1() {
>         new JDialog().update(null);
>     }
> }
> Harmony output:
> ----------------
> .E
> Time: 7.861
> There was 1 error:
> 1) testcase1(TheTest)java.lang.NullPointerException
> 	at java.awt.Container.paintComponentsImpl(Container.java)
> 	at java.awt.Container.paint(Container.java:930)
> 	at javax.swing.JDialog.update(JDialog.java)
> 	at TheTest.testcase1(TheTest.java:12)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at TheTest.main(TheTest.java:8)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1

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


[jira] Commented: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2569?page=comments#action_12461116 ] 
            
Vasily Zakharov commented on HARMONY-2569:
------------------------------------------

I'll look into this issue.


> [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2569
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2569
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>
> Test case:
> --------------
> import javax.swing.JDialog;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public void testcase1() {
>         new JDialog().update(null);
>     }
> }
> Harmony output:
> ----------------
> .E
> Time: 7.861
> There was 1 error:
> 1) testcase1(TheTest)java.lang.NullPointerException
> 	at java.awt.Container.paintComponentsImpl(Container.java)
> 	at java.awt.Container.paint(Container.java:930)
> 	at javax.swing.JDialog.update(JDialog.java)
> 	at TheTest.testcase1(TheTest.java:12)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at TheTest.main(TheTest.java:8)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1

-- 
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