Bug 44349 - SearchEngine finds already deleted types
Summary: SearchEngine finds already deleted types
Status: RESOLVED DUPLICATE of bug 44289
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 15:23 EDT by Martin Aeschlimann CLA
Modified: 2003-10-07 18:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2003-10-07 15:23:20 EDT
20031007
Jdt.ui has test filures in the build of I20031007: It seems that the
searchEngine still finds a type pack.A that was created but removed in another
test case.
Setting a breakpoint at the given location shows that the workspace at that
point does not contain the type, and that there are also no primary working
copies lying around .

testNoSourceFolder: Failure: expected:<pack1> but was:<>

junit.framework.ComparisonFailure: expected:<pack1> but was:<>
at
org.eclipse.jdt.ui.tests.core.TypeInfoTest.testNoSourceFolder(TypeInfoTest.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:320)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.EclipseTestRunner.main(EclipseTestRunner.java:134)
at org.eclipse.test.UITestApplication.runTests(UITestApplication.java:45)
at org.eclipse.test.UITestApplication.runEventLoop(UITestApplication.java:39)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:2298)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:298)
at org.eclipse.core.launcher.Main.run(Main.java:764)
at org.eclipse.core.launcher.Main.main(Main.java:598)
Comment 1 Jerome Lanneluc CLA 2003-10-07 18:02:05 EDT
NPE in the DeltaProcessor as shown in the console.


*** This bug has been marked as a duplicate of 44289 ***