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 42516 - failure in testClassLoaderLookup
Summary: failure in testClassLoaderLookup
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-04-27 14:45 UTC by pzajac
Modified: 2008-12-22 23:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (1.48 KB, text/plain)
2004-04-27 14:46 UTC, pzajac
Details
exception stacktrace (1.40 KB, text/plain)
2004-07-20 07:48 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-04-27 14:45:02 UTC
Test Suite
org.netbeans.core.lookup.LookupClassLoaderTest

testClassLoaderLookup:

      junit.framework.AssertionFailedError:
Services registry has foo
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at
junit.framework.Assert.assertNotNull(Assert.java:220)
	at
org.netbeans.core.lookup.LookupClassLoaderTest.testClassLoaderLookup(LookupClassLoaderTest.java:124)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
....
Comment 1 pzajac 2004-04-27 14:46:05 UTC
Created attachment 14583 [details]
exception stacktrace
Comment 2 Jaroslav Tulach 2004-05-06 17:09:13 UTC
NbInstaller.java 1.74 is in fault:

"Removing a bunch more obsolete stuff from core."

Probably the test should be rewritten somehow. Passing to author of
the change.
Comment 3 Jesse Glick 2004-05-06 18:31:58 UTC
Right, I'll probably just delete this test as it looks useless now.
Comment 4 Jesse Glick 2004-07-14 22:33:26 UTC
removed     * Up-To-Date  1.6        
core/test/unit/src/org/netbeans/core/lookup/LookupClassLoaderTest.java
committed   * Up-To-Date  1.8        
core/test/unit/src/org/netbeans/core/lookup/data/build.xml
removed     * Up-To-Date  1.3        
core/test/unit/src/org/netbeans/core/lookup/data/install-manifest-service.mf
Comment 5 pzajac 2004-07-20 07:47:41 UTC
[2004007141800]The test fails again.
Comment 6 pzajac 2004-07-20 07:48:43 UTC
Created attachment 16327 [details]
exception stacktrace
Comment 7 Jesse Glick 2004-07-20 16:44:22 UTC
Well, I don't know what kind of test environment you're running, but
it would be pretty hard to fail now that the test has been deleted. Do
a fresh checkout maybe.
Comment 8 pzajac 2004-08-10 10:05:13 UTC
v