You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2006/08/22 04:53:14 UTC

[jira] Created: (HARMONY-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.

[classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
-------------------------------------------------------------------------------------

                 Key: HARMONY-1247
                 URL: http://issues.apache.org/jira/browse/HARMONY-1247
             Project: Harmony
          Issue Type: Test
          Components: Classlib
            Reporter: Andrew Zhang


There are lots of tests are failed on Eclipse. The exception stack trace looks like:
java.util.MissingResourceException: Can't find bundles/java/util/logging/res bundle
	at java.util.logging.Logger.setupResourceInfo(Logger.java:1293)
	at java.util.logging.Logger.<init>(Logger.java:203)
	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest$MockLogger.<init>(LoggerTest.java:3395)
	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest.setUp(LoggerTest.java:68)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

The failure is caused by missing resource path in classpath. 
I'll upload a patch to fix this problem soon. 

Best regards,
Andrew

-- 
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-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.

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

Paulex Yang reassigned HARMONY-1247:
------------------------------------

    Assignee: Paulex Yang

> [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1247
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1247
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1247.diff
>
>
> There are lots of tests are failed on Eclipse. The exception stack trace looks like:
> java.util.MissingResourceException: Can't find bundles/java/util/logging/res bundle
> 	at java.util.logging.Logger.setupResourceInfo(Logger.java:1293)
> 	at java.util.logging.Logger.<init>(Logger.java:203)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest$MockLogger.<init>(LoggerTest.java:3395)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest.setUp(LoggerTest.java:68)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> The failure is caused by missing resource path in classpath. 
> I'll upload a patch to fix this problem soon. 
> Best regards,
> Andrew

-- 
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-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.

Posted by "Andrew Zhang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1247?page=comments#action_12429947 ] 
            
Andrew Zhang commented on HARMONY-1247:
---------------------------------------

Thanks Paulex,

The fix looks fine. 

Best regards,
Andrew

> [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1247
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1247
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1247.diff
>
>
> There are lots of tests are failed on Eclipse. The exception stack trace looks like:
> java.util.MissingResourceException: Can't find bundles/java/util/logging/res bundle
> 	at java.util.logging.Logger.setupResourceInfo(Logger.java:1293)
> 	at java.util.logging.Logger.<init>(Logger.java:203)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest$MockLogger.<init>(LoggerTest.java:3395)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest.setUp(LoggerTest.java:68)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> The failure is caused by missing resource path in classpath. 
> I'll upload a patch to fix this problem soon. 
> Best regards,
> Andrew

-- 
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-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.

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

Paulex Yang closed HARMONY-1247.
--------------------------------


Verified by Andrew.

> [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1247
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1247
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1247.diff
>
>
> There are lots of tests are failed on Eclipse. The exception stack trace looks like:
> java.util.MissingResourceException: Can't find bundles/java/util/logging/res bundle
> 	at java.util.logging.Logger.setupResourceInfo(Logger.java:1293)
> 	at java.util.logging.Logger.<init>(Logger.java:203)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest$MockLogger.<init>(LoggerTest.java:3395)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest.setUp(LoggerTest.java:68)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> The failure is caused by missing resource path in classpath. 
> I'll upload a patch to fix this problem soon. 
> Best regards,
> Andrew

-- 
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-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.

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

Andrew Zhang updated HARMONY-1247:
----------------------------------

    Attachment: Harmony-1247.diff

Hi,

Would you please try my patch?

Thanks!

Best regards,
Andrew

> [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1247
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1247
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Attachments: Harmony-1247.diff
>
>
> There are lots of tests are failed on Eclipse. The exception stack trace looks like:
> java.util.MissingResourceException: Can't find bundles/java/util/logging/res bundle
> 	at java.util.logging.Logger.setupResourceInfo(Logger.java:1293)
> 	at java.util.logging.Logger.<init>(Logger.java:203)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest$MockLogger.<init>(LoggerTest.java:3395)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest.setUp(LoggerTest.java:68)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> The failure is caused by missing resource path in classpath. 
> I'll upload a patch to fix this problem soon. 
> Best regards,
> Andrew

-- 
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-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.

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

Paulex Yang resolved HARMONY-1247.
----------------------------------

    Resolution: Fixed

Andrew, patch applied at revision r433852, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.


> [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1247
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1247
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1247.diff
>
>
> There are lots of tests are failed on Eclipse. The exception stack trace looks like:
> java.util.MissingResourceException: Can't find bundles/java/util/logging/res bundle
> 	at java.util.logging.Logger.setupResourceInfo(Logger.java:1293)
> 	at java.util.logging.Logger.<init>(Logger.java:203)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest$MockLogger.<init>(LoggerTest.java:3395)
> 	at org.apache.harmony.logging.tests.java.util.logging.LoggerTest.setUp(LoggerTest.java:68)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> The failure is caused by missing resource path in classpath. 
> I'll upload a patch to fix this problem soon. 
> Best regards,
> Andrew

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