New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception "com/ibm/icu/util/StringTokenizer" when opening XML file with XML Editor after installing Subclipse #245
Comments
Hi Alex, unfortunately no one really works on this code any more. If you figure something out and want to submit a PR I will try to review and merge it. Not sure what is happening, as you can see we do not use that class anywhere: https://github.com/search?q=repo%3Asubclipse%2Fsubclipse%20StringTokenizer&type=code I do not doubt what you are seeing, I am just not certain what would be causing it. Maybe it is some kind of transitive dependency. I recall there was always an error opening XML files in a the Remote Repository viewer but that was because the XML Editor did not implement the JFace interface that is standard for Eclipse. Regardless, it does not seem to be what you are reporting here anyway. |
Investigating a bit more, I managed to make it work by copying configuration/org.eclipse.equinox.simpleconfigurator/bundles.info from a working copy to a non-working one. The working file has this line:
The non-working file has these lines:
NOTE: After testing, the com.ibm.icu line is the only one that matters for the case. Hope it helps. I'm sorry to hear that, because the alternative to use SVN has serious performance issues, at least in my case where we have thousands of files. Thanks Mark and best regards |
Looking at what we require when you install nothing jumps out at me: https://github.com/subclipse/subclipse/blob/master/features/feature.subclipse/feature.xml All I can think of would be if one of these Eclipse plugins we require has been retired and our install is causing Eclipse to pull in an old plugin that then pulls in an old version of the ICU plugin. I do believe there are eclipse.org plugins that use and require that plugin so I guess this is possible. If this is the problem then we might be able to drop the requirement, make it optional or update it to whatever has replaced it. I cannot think of any easy way to figure out what might have caused it though. Perhaps something in the installation log has details of the changes made to your configuration when you do the install that might point at something. It has to be some kind of a transitive dependency problem though. |
I get this error when I use the Eclipse option to validate a project. The sequence of events for me to reproduce this error are to
Then validate some projects. Most but not all come back with the error stated in this post. |
Hi, my name is Alex, and I have been working with Eclipse / Subclipse for more than 10 years now :)
I have downloaded Eclipse 2022-09 and, after installing Subclipse from https://subclipse.github.io/updates/, I receive an error regarding "com/ibm/icu/util/StringTokenizer" instead of java.util.StringTokenizer when I open an XML file with XML Editor.
I've narrowed it down to the installation of the Subclipse/Subclipse part of the installation. CoreSVN Kit, JNA etc install just fine.
Also, uninstalling Subclipse doesn't fix the problem. I need to restart with a clean eclipse configuration to make it work again.
I think it has to do with the configuration/org.eclipse.osgi folder. There are a number of files changed by the installation on com/ibm/icu/impl folder.
Thanks for your efforts, great software. Kind regards.
Alex.
The text was updated successfully, but these errors were encountered: