Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 73354 - different view show different status for same file
Summary: different view show different status for same file
Status: RESOLVED DUPLICATE of bug 71843
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 05:31 EDT by Jerry Mising name CLA
Modified: 2004-09-08 03:46 EDT (History)
1 user (show)

See Also:


Attachments
See status for MailUtil.java (7.94 KB, image/gif)
2004-09-07 05:55 EDT, Jerry Mising name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Mising name CLA 2004-09-07 05:31:25 EDT
build:200408122000

Package Explorer shows warning while Editor's tab shows error.

See attachment.
Comment 1 Jerry Mising name CLA 2004-09-07 05:55:08 EDT
Created attachment 14422 [details]
See status for MailUtil.java
Comment 2 Kim Horne CLA 2004-09-07 09:58:10 EDT
Could it be a decorator synchronization problem... Tod?
Comment 3 Tod Creasey CLA 2004-09-07 10:21:45 EDT
Neither of these are decorators. Moving to JDT.
Comment 4 Dirk Baeumer CLA 2004-09-07 13:14:26 EDT
Did the MailUtil class actually contain an error or a warning ?

Is there anything in th e.log file when this happens.
Comment 5 Jerry Mising name CLA 2004-09-07 22:00:54 EDT
Actually MailUtil.java has 6 warnings.

During the development of MailUtil.java, there are error(s). For example, when 
I input an unfinished statement or change a method signature.

But at least when I save it or save all, the editor's tab should give the 
recent status.

No related information in .log. Yesterday's log is as follows. Please ignor the 
Chinese, it means Sept.
!ENTRY com.sysdeo.eclipse.tomcat 4 4 ‹ãŒŽ 07, 2004 13:52:48.312
!MESSAGE Restarting Tomcat...


!ENTRY com.sysdeo.eclipse.tomcat 4 4 ‹ãŒŽ 07, 2004 13:55:01.812
!MESSAGE Restarting Tomcat...

!SESSION ‹ãŒŽ 07, 2004 14:48:56.937 --------------------------------------------
--
eclipse.buildId=I200408122000
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN

!ENTRY com.sysdeo.eclipse.tomcat 4 4 ‹ãŒŽ 07, 2004 14:48:56.937
!MESSAGE Restarting Tomcat...
Comment 6 Jerry Mising name CLA 2004-09-07 22:34:14 EDT
I reproduced the bug. The process is as follows.

I write a statement
Foo.aMethod();
in one of MailUtil's methods, but the aMethod does not exist in Foo. Error is 
showed in MailUtil's tab.

Then I create aMethod in Foo and save ALL. Error should be removed from 
MailUtil's tab, but it fails to.

Hope this will help you debug.
Comment 7 Dirk Baeumer CLA 2004-09-08 03:45:46 EDT
You have autobuild on (compiling on save). Right ?
Comment 8 Martin Aeschlimann CLA 2004-09-08 03:46:02 EDT
there's a bug in platform UI that editor tabs are nut updated if the editor 
not active.
Comer, thanks for tracking this down!

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

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