- This topic has 9 replies, 3 voices, and was last updated 17 years, 9 months ago by
Loyal Water.
-
AuthorPosts
-
Shannon PattisonMemberSomething changed recently that has apparently corrupted my workspace. I have several projects in my workspace that I’ve been working on for quite sometime now. Only today the Eclipse package explorer doesn’t list any of my projects. When I opened Eclipse, I got a message dialog stating “org.xml.sax.SAXParseException: Content is not allowed in prolog.” I found the following stack trace in the .log file within the .metadata folder for my workspace.
!
SESSION 2007-08-23 18:33:54.180 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.5.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.resources 4 567 2007-08-23 18:33:58.461 !MESSAGE Could not read metadata for: C:\Documents and Settings\spattison\My Documents\eclipsedev2\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.index. Unexpected version: 0. !ENTRY org.eclipse.jdt.ui 4 10001 2007-08-23 18:34:04.304 !MESSAGE Internal Error !STACK 1 org.eclipse.jdt.internal.ui.JavaUIException: Problems reading information from XML 'OpenTypeHistory.xml' at org.eclipse.jdt.internal.corext.util.History.createException(History.java:68) at org.eclipse.jdt.internal.corext.util.History.load(History.java:254) at org.eclipse.jdt.internal.corext.util.History.load(History.java:164) at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:193) at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:178) at org.eclipse.jdt.internal.ui.JavaPlugin.initializeAfterLoad(JavaPlugin.java:349) at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:36) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) org.eclipse.jdt.internal.ui.JavaUIException[4]: org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.eclipse.jdt.internal.corext.util.History.load(History.java:252) at org.eclipse.jdt.internal.corext.util.History.load(History.java:164) at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:193) at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:178) at org.eclipse.jdt.internal.ui.JavaPlugin.initializeAfterLoad(JavaPlugin.java:349) at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:36) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) !SUBENTRY 1 org.eclipse.jdt.ui 4 4 2007-08-23 18:34:04.304 !MESSAGE Problems reading information from XML 'OpenTypeHistory.xml' !STACK 0 org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.eclipse.jdt.internal.corext.util.History.load(History.java:252) at org.eclipse.jdt.internal.corext.util.History.load(History.java:164) at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:193) at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:178) at org.eclipse.jdt.internal.ui.JavaPlugin.initializeAfterLoad(JavaPlugin.java:349) at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:36) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) !ENTRY org.eclipse.update.ui 4 0 2007-08-23 18:34:13.335 !MESSAGE Content is not allowed in prolog. !STACK 0 org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.eclipse.update.internal.ui.model.BookmarkUtil.parse(BookmarkUtil.java:38) at org.eclipse.update.internal.ui.model.UpdateModel.reset(UpdateModel.java:35) at org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29) at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java:98) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:342) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:88) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334) at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:383) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService.<init>(QuickSetupService.java:146) at com.tikal.eclipse.updatemanager.quicksetup.manager.ApplicationManager.<init>(ApplicationManager.java:60) at com.tikal.eclipse.updatemanager.quicksetup.manager.ApplicationManager.getApplicationUpdateManager(ApplicationManager.java:71) at com.tikal.eclipse.updatemanager.quicksetup.actions.QuickSetupStartup$1.run(QuickSetupStartup.java:45) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) !ENTRY org.eclipse.jdt.ui 4 10001 2007-08-23 18:34:38.053 !MESSAGE Internal Error !STACK 1 org.eclipse.jdt.internal.ui.JavaUIException: Problems reading information from XML 'QualifiedTypeNameHistory.xml' at org.eclipse.jdt.internal.corext.util.History.createException(History.java:68) at org.eclipse.jdt.internal.corext.util.History.load(History.java:254) at org.eclipse.jdt.internal.corext.util.History.load(History.java:164) at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33) at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26) at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java:543) at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:47) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1032) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1028) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:396) at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:400) at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:86) at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:73) at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStopping(EclipseAdaptorHook.java:156) at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStopping(BaseAdaptor.java:288) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:538) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:449) at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:423) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) org.eclipse.jdt.internal.ui.JavaUIException[4]: org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.eclipse.jdt.internal.corext.util.History.load(History.java:252) at org.eclipse.jdt.internal.corext.util.History.load(History.java:164) at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33) at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26) at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java:543) at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:47) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1032) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1028) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:396) at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:400) at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:86) at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:73) at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStopping(EclipseAdaptorHook.java:156) at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStopping(BaseAdaptor.java:288) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:538) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:449) at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:423) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) !SUBENTRY 1 org.eclipse.jdt.ui 4 4 2007-08-23 18:34:38.053 !MESSAGE Problems reading information from XML 'QualifiedTypeNameHistory.xml' !STACK 0 org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.eclipse.jdt.internal.corext.util.History.load(History.java:252) at org.eclipse.jdt.internal.corext.util.History.load(History.java:164) at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33) at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26) at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java:543) at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:47) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1032) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1028) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:396) at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:400) at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:86) at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:73) at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStopping(EclipseAdaptorHook.java:156) at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStopping(BaseAdaptor.java:288) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:538) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:449) at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:423) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
THIS IS MY CONFIGURATION*** Date: Thu Aug 23 19:05:16 EDT 2007 *** Platform Details: *** System properties: ErrorManager.minimum=18 awt.toolkit=sun.awt.windows.WToolkit eclipse.buildId=M20070212-1330 eclipse.commands=-data C:\Documents and Settings\spattison\My Documents\eclipsedev2 -os win32 -ws win32 -arch x86 -launcher C:\Program Files (x86)\MyEclipse 5.5.1 GA\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 268_e0 -vm C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre\bin\javaw.exe eclipse.ee.install.verify=false eclipse.product=com.genuitec.myeclipse.product.ide eclipse.startTime=1187909001505 eclipse.vm=C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre\bin\javaw.exe eclipse.vmargs=-Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -jar C:\Program Files (x86)\MyEclipse 5.5.1 GA\eclipse\startup.jar eof=eof file.encoding=Cp1252 file.encoding.pkg=sun.io file.separator=\ java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment java.awt.printerjob=sun.awt.windows.WPrinterJob java.class.path=C:\Program Files (x86)\MyEclipse 5.5.1 GA\eclipse\startup.jar java.class.version=49.0 java.endorsed.dirs=C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre\lib\endorsed java.ext.dirs=C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre\lib\ext java.home=C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre java.io.tmpdir=C:\DOCUME~1\SPATTI~1\LOCALS~1\Temp\ java.library.path=C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Program Files (x86)\Microsoft SQL Server\Tools\binn\;C:\Program Files\Java\jdk1.5.0_12\bin\;C:\Perl\bin;C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\Bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files (x86)\QuickTime\QTSystem\ java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition java.runtime.version=1.5.0_11-b03 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.5 java.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi java.version=1.5.0_11 java.vm.info=mixed mode java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Sun Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun Microsystems Inc. java.vm.version=1.5.0_11-b03
August 23, 2007 at 6:26 pm #274424
Shannon PattisonMemberI should also mention that this problem seems to be related to a serious system error that caused an unexpected reboot of my computer. This happened when I used MyEclipse to Stop arunning instance of Tomcat. This happened yesterday, but today is the first time I’ve attempted to use Eclipse.
August 24, 2007 at 8:17 am #274446
Shannon PattisonMemberSince there seemed to be a problem with C:\Documents and Settings\spattison\My Documents\eclipsedev2\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.index I opened the file with my text editor. I discovered that there is only one character in this file file, and its binary value is 0001. I suspect a little file corruption, but I’m not sure how to fix it.
August 24, 2007 at 8:38 am #274448
Loyal WaterMemberHave you tried cleaning your workspace ?
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.htmlAlso, if you switch to a new workspace, are you able to work with out issue ?
August 24, 2007 at 9:17 am #274459
Shannon PattisonMemberI switched to an older workspace that I stopped using awhile ago, and it seemed to have some weird issues as well. The package explorer seemed unimpeded, but I had issues with Tomcat. The home path for Tomcat in the configuration seemed to have changed unexpectedly. When I changed it back to the correct home path, it could not find the JRE. The path to the JRE was lost. I used the -clean command line argument to see if the issues would go away. Unfortunately, it seemed to have caused even more problems. Now the MyEclipse plugin doesn’t seemed to be functioning at all. The toolbar and index menus for MyEclipse have disappeared. MyEclipse seems to be very broken about now.
August 24, 2007 at 1:59 pm #274502
Shannon PattisonMemberShould I just reinstall MyEclipse? This issue has stopped me from developing, and I need to get this resolved soon. Any guidance would be helpful.
August 27, 2007 at 8:47 am #274594
Shannon PattisonMemberI think I resolved the problem myself. I’m not sure what I did, but the MyEclipse menus are functioning again. I was able to get my projects back by using the Import feature. I imported them as existing projects. Hopefully, I won’t continue to have these problems.
August 27, 2007 at 9:46 am #274606
Loyal WaterMemberIm glad you got it working.
October 1, 2007 at 5:51 am #276311
oervastiMemberThis message has not been recovered.
October 1, 2007 at 12:28 pm #276352
Loyal WaterMemberThis message has not been recovered.
-
AuthorPosts