This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 47547 - Fix Service Type Property editor test
Summary: Fix Service Type Property editor test
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Mirilovic
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-08-20 14:04 UTC by Marian Mirilovic
Modified: 2004-08-25 12:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-08-20 14:04:01 UTC
org.netbeans.junit.AssertionFailedErrorException:
"Services/AutoupdateType/autoupdate_xml_type_2.settings"
key was not found
	at
org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:139)
	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
org.netbeans.junit.NbTestCase.run(NbTestCase.java:119)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127)
	at
org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:196)
	at
org.netbeans.xtest.plugin.ide.Main$2.run(Main.java:303)
	at java.lang.Thread.run(Thread.java:595)

Nested Exception is:
org.netbeans.jemmy.JemmyException:
"Services/AutoupdateType/autoupdate_xml_type_2.settings"
key was not found
	at
org.netbeans.jellytools.Bundle.getString(Bundle.java:69)
	at
org.netbeans.jellytools.Bundle.getStringTrimmed(Bundle.java:102)
	at
gui.propertyeditors.PropertyType_ServiceType.testByCombo(PropertyType_ServiceType.java:54)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
junit.framework.TestCase.runTest(TestCase.java:154)
	at
junit.framework.TestCase.runBare(TestCase.java:127)
	at
org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:112)
	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
org.netbeans.junit.NbTestCase.run(NbTestCase.java:119)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127)
	at
org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:196)
	at
org.netbeans.xtest.plugin.ide.Main$2.run(Main.java:303)
	at java.lang.Thread.run(Thread.java:595)
Inner exception:
java.util.MissingResourceException: Can't find
resource for bundle
org.openide.util.NbBundle$PBundle, key
Services/AutoupdateType/autoupdate_xml_type_2.settings
	at
java.util.ResourceBundle.getObject(ResourceBundle.java:326)
	at
java.util.ResourceBundle.getString(ResourceBundle.java:286)
	at
org.netbeans.jellytools.Bundle.getString(Bundle.java:67)
	at
org.netbeans.jellytools.Bundle.getStringTrimmed(Bundle.java:102)
	at
gui.propertyeditors.PropertyType_ServiceType.testByCombo(PropertyType_ServiceType.java:54)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
junit.framework.TestCase.runTest(TestCase.java:154)
	at
junit.framework.TestCase.runBare(TestCase.java:127)
	at
org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:112)
	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
org.netbeans.junit.NbTestCase.run(NbTestCase.java:119)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127)
	at
org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:196)
	at
org.netbeans.xtest.plugin.ide.Main$2.run(Main.java:303)
	at java.lang.Thread.run(Thread.java:595)
Comment 1 Marian Mirilovic 2004-08-20 14:05:46 UTC
Checking in src/gui/propertyeditors/PropertyType_ServiceType.java;
/cvs/core/test/qa-functional/src/gui/propertyeditors/PropertyType_ServiceType.java,v
 <--  PropertyType_ServiceType.java
new revision: 1.7; previous revision: 1.6
done
Processing log script arguments...
Mailing the commit message to cvs@core.netbeans.org (from
mmirilovic@netbeans.org)
Comment 2 Marian Mirilovic 2004-08-25 12:34:16 UTC
verified/closed