Bug 104540 - eclipse won't build- could not write property
Summary: eclipse won't build- could not write property
Status: RESOLVED DUPLICATE of bug 78099
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 13:56 EDT by Eser Kandogan CLA
Modified: 2005-07-21 09:49 EDT (History)
0 users

See Also:


Attachments
./metadata/.log file (1.46 MB, text/plain)
2005-07-20 19:59 EDT, Eser Kandogan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eser Kandogan CLA 2005-07-20 13:56:42 EDT
Eclipse won't build the project until the following problem is fixed:
The project was not built due to "Could not write property
org.eclipse.ui.internal.registry.ResourceEditorRegistry EditorProperty". Fix
this error and then try refreshing this project and building it since it may
consistent.

Unfortunately it doesn't tell me how to fix it!
Comment 1 Rafael Chaves CLA 2005-07-20 14:18:21 EDT
Please attach your error log (you will find it at <workspace>/.metadata/.log).
Comment 2 Eser Kandogan CLA 2005-07-20 19:55:03 EDT
Here is the ./metadata/log:

!SESSION Apr 20, 2005 08:36:38.405 ---------------------------------------------
eclipse.buildId=I200406192000
java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142ifx-20041102 (JIT
enabled)
J9VM - 20040916_0908_lHdSMR
JIT  - r7_level20040915_1801
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -plugincustomization
C:\dev\rad\eclipse\default\plugin_customization.ini

!ENTRY org.eclipse.core.runtime 4 2 Apr 20, 2005 08:36:38.405
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:462)
	at java.util.AbstractList$Itr.next(AbstractList.java:433)
	at java.util.AbstractCollection.remove(AbstractCollection.java:268)
	at org.eclipse.jface.text.AbstractDocument.removeDocumentListener(Unknown Source)
	at
org.eclipse.ui.texteditor.AbstractDocumentProvider.removeUnchangedElementListeners(Unknown
Source)
	at org.eclipse.ui.texteditor.AbstractDocumentProvider.disconnect(Unknown Source)
	at
org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.removeProcess(Unknown
Source)
	at
org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.removeLaunch(Unknown
Source)
	at
org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.launchRemoved(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(Unknown Source)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
	at org.eclipse.core.runtime.Platform.run(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager.removeLaunch(Unknown Source)
	at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.removeTerminatedLaunches(Unknown
Source)
	at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.launchAdded(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(Unknown Source)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
	at org.eclipse.core.runtime.Platform.run(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager.addLaunch(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(Unknown Source)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(Unknown Source)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

!ENTRY org.eclipse.debug.core 4 120 Apr 20, 2005 08:36:39.456
!MESSAGE An exception occurred during launch change notification.
!STACK 0
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:462)
	at java.util.AbstractList$Itr.next(AbstractList.java:433)
	at java.util.AbstractCollection.remove(AbstractCollection.java:268)
	at org.eclipse.jface.text.AbstractDocument.removeDocumentListener(Unknown Source)
	at
org.eclipse.ui.texteditor.AbstractDocumentProvider.removeUnchangedElementListeners(Unknown
Source)
	at org.eclipse.ui.texteditor.AbstractDocumentProvider.disconnect(Unknown Source)
	at
org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.removeProcess(Unknown
Source)
	at
org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.removeLaunch(Unknown
Source)
	at
org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.launchRemoved(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(Unknown Source)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
	at org.eclipse.core.runtime.Platform.run(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager.removeLaunch(Unknown Source)
	at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.removeTerminatedLaunches(Unknown
Source)
	at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.launchAdded(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(Unknown Source)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
	at org.eclipse.core.runtime.Platform.run(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(Unknown
Source)
	at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchManager.addLaunch(Unknown Source)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(Unknown Source)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(Unknown Source)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
!SESSION Apr 20, 2005 13:32:04.837 ---------------------------------------------
eclipse.buildId=I200406192000
java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142ifx-20041102 (JIT
enabled)
J9VM - 20040916_0908_lHdSMR
JIT  - r7_level20040915_1801
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -plugincustomization
C:\dev\rad\eclipse\default\plugin_customization.ini

!ENTRY org.eclipse.ui 4 4 Apr 20, 2005 13:32:04.837
!MESSAGE Exception creating editor: The file does not exist.

!ENTRY org.eclipse.ui 4 4 Apr 20, 2005 13:32:04.847
!MESSAGE Exception creating editor: The file does not exist.
!SESSION Apr 26, 2005 11:10:14.140 ---------------------------------------------
eclipse.buildId=I200406192000
java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142ifx-20041102 (JIT
enabled)
J9VM - 20040916_0908_lHdSMR
JIT  - r7_level20040915_1801
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -plugincustomization
C:\dev\rad\eclipse\default\plugin_customization.ini

!ENTRY org.eclipse.ui 4 4 Apr 26, 2005 11:10:14.140
!MESSAGE Exception creating editor: The file does not exist.

!ENTRY org.eclipse.ui 4 4 Apr 26, 2005 11:10:14.150
!MESSAGE Exception creating editor: The file does not exist.


Comment 3 Eser Kandogan CLA 2005-07-20 19:59:37 EDT
Created attachment 25112 [details]
./metadata/.log file

Found another .metadata/.log file (this I found in the default workspace
location)
Comment 4 Rafael Chaves CLA 2005-07-21 09:49:00 EDT
The attached log is the good one. 

The property store for the "plugins" project got into a corrupted state. We have
had many other reports of similar problems (see bug 78099). In 3.1, the
infrastructure for properties has been rewritten from scratch, and such problems
don't happen anymore.

An workaround might be to exit Eclipse, and delete (or rename) the following file:

C:/Dev/eclipse/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/plugins/.properties

You will lose some functionality for that project (for instance, if it was
shared through CVS, it will lose the connection settings).

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