Bug 128764 - Package Explorer contains wrong elements
Summary: Package Explorer contains wrong elements
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-02-21 03:54 EST by Gunnar Wagenknecht CLA
Modified: 2009-08-30 02:08 EDT (History)
2 users (show)

See Also:


Attachments
Flash screen cast of the Package Explorer (1.91 MB, application/x-shockwave-flash)
2006-02-21 04:01 EST, Gunnar Wagenknecht CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnar Wagenknecht CLA 2006-02-21 03:54:22 EST
Build: 3.2 M5

I got a weird situation today in the Package Explorer after opening my workspace. I recorded a screen capture with a demo version of BB FlashBack and will attach it.

It seems like the Package Explorer has the wrong elements (maybe working copies?). Java source files inside source folders are opened in the wrong editor (the one for external files). All IResource specific actions seems to be missing. 

I discoverd this while investigating bug 128761.
Comment 1 Gunnar Wagenknecht CLA 2006-02-21 04:01:06 EST
Created attachment 35055 [details]
Flash screen cast of the Package Explorer
Comment 2 Gunnar Wagenknecht CLA 2006-02-21 04:04:30 EST
After restarting Eclipse the Package Explorer returned to normal.
Comment 3 Dani Megert CLA 2006-02-21 04:40:08 EST
anything in .log?
Comment 4 Gunnar Wagenknecht CLA 2006-02-21 04:44:15 EST
No. There is only an entry that was logged _after_ the restart. I don't think that's related to it.

!ENTRY org.eclipse.jdt.core 4 4 2006-02-21 10:13:16.659
!MESSAGE JavaBuilder handling CoreException while building: net.sourceforge.eclipseccase.ui
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource /net.sourceforge.eclipseccase is not open.
	at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:141)
	at org.eclipse.core.internal.resources.Project.getDescription(Project.java:383)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.hasJavaBuilder(JavaBuilder.java:464)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.isWorthBuilding(JavaBuilder.java:594)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:135)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:204)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!SUBENTRY 1 org.eclipse.core.resources 4 372 2006-02-21 10:13:16.659
!MESSAGE Resource /net.sourceforge.eclipseccase is not open.
Comment 5 Martin Aeschlimann CLA 2006-02-24 04:39:35 EST
It looks to me that some plugins failed to load or didn't load.
It would have been interesting to look at the loeaded plugins (Help -> About) or see if the log contains informations about plugins.

The stacktrace in comment 4 looks interesting. I filed bug 129307 for it.

Setting this one to remind, we need more information to be able to track this down.
Comment 6 Gunnar Wagenknecht CLA 2006-02-24 11:09:40 EST
I agree that the info is really poor. Plug-in activation could be an interesting hint. I remember that I removed WTP, EMF, UML2 and GEF from the installation (hooked in via .link files) before I started this session.
Comment 7 Denis Roy CLA 2009-08-30 02:08:36 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.