get charset error [message #242880] |
Thu, 20 May 2004 18:08 |
ken zhang Messages: 28 Registered: July 2009 |
Junior Member |
|
|
The following is the error that I was getting when trying to getCharset of a
file. I don't understand why do I need to get the lock to the resource when
I am only "reading" instead of "writing". Note, the resoruce tree is locked
for modifications, is it also locked for "read"?
org.eclipse.core.internal.resources.ResourceException: The resource tree is
locked for modifications.
at
org.eclipse.core.internal.resources.WorkManager.checkIn(Work Manager.java:93)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Workspace.jav
a:1632)
at
org.eclipse.core.internal.resources.File.getContentDescripti on(File.java:254
)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:220)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:205)
Thanks in advance.
Ken Zhang
|
|
|
Powered by
FUDForum. Page generated in 0.02422 seconds