harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1247) [classlib][logging] Can't find resource bundle when running logging tests on Eclipse.
Date Tue, 22 Aug 2006 02:53:14 GMT
[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

        

Mime
View raw message