Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » java.lang.IllegalStateException: Preference node "file:" has been removed.
java.lang.IllegalStateException: Preference node "file:" has been removed. [message #1462487] Wed, 05 November 2014 16:28
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 22
Registered: December 2009
Junior Member
Hi,

I'm using a variable update site url in my rmap and want to optionally disable the update site using an empty value (i.e., setting the variable to "") or enable it by setting it to a valid value (e.g, "http://my.server/update.site"). This allows me to select when that update site is queried.

However, since I made that change, when I set the value to empty and perform a cquery resolution, I occasionally get the following error:

java.lang.IllegalStateException: Preference node "file:" has been removed.

This thread [1] seems to indicate that it is caused by multiple threads trying to access the update site. One removes it because it is invalid and another complains that it was removed unexpectedly.

There is no additional information in logs or a stack trace to include as far as I can tell.

Is it possible to catch the exception and ignore it or not remove the offending property so that the condition does not cause the cquery resolution to fail?

Thank you,
-- Scott

[1] https://www.eclipse.org/forums/index.php/mv/msg/174306/726666/#msg_726666
Previous Topic:Bundle.jar fails: Basedir xxx.jar is not a directory.
Next Topic:is git.auto.fetch implemented at all?
Goto Forum:
  


Current Time: Thu Apr 25 09:34:44 GMT 2024

Powered by FUDForum. Page generated in 0.03005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top