Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322381

Summary: [Workbench] regarding: -Dline.separator=\n eclipse.ini setting
Product: [Eclipse Project] Platform Reporter: William <wdesausmarez>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, remy.suen
Version: 3.5.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug needinfo
Attachments:
Description Flags
screenshot of eclipse new workspace, intro screen
none
scrolled none

Description William CLA 2010-08-11 10:56:08 EDT
Hi,

I tried out the ini file setting:

-Dline.separator=\n

which actually kind of works yet does not.
It replaces all carriage returns in a file with linefeeds (once one linefeed has been entered into the file)
However the copy and paste function is now borked and a multiline paste shows the lines all on one line with \n instead of linefeeds.

Is there a way to set a 'hard' preferrence for linefeeds - ie any file merely opened in eclipse will be converted to linefeeds?

Many Thanks

William
Comment 1 William CLA 2010-08-11 10:58:32 EDT
I was referred to report this possible bug here via a Eclipse Community Forums posting:
http://www.eclipse.org/forums/index.php?t=rview&goto=552233#msg_552233If
Comment 2 Dani Megert CLA 2010-10-12 03:08:20 EDT
William, this works just fine for me. Please provide more details, see also
http://www.eclipse.org/eclipse/platform-text/development/bug-incomplete.htm.

Note that
- -Dline.separator=\n only affects newly created files
- this can be overridden by the preference on the 'Workspace' preference page
- for existing files the line delimiter of the first line is used to guarantee
  that the file does not get mixed line delimiters
- textual editors in Eclipse honor the existing line delimiters
- some VCSs do auto-conversion when checking in/out files
Comment 3 William CLA 2010-10-12 04:37:43 EDT
Not sure what to say Dani, it is clearly reproducible here.
Build id: 20100218-1602
Comment 4 Dani Megert CLA 2010-10-12 04:40:27 EDT
>Not sure what to say Dani, it is clearly reproducible here.
The problem is what "it" is. Different editors might behave differently, so what I'm asking for are detailed steps to reproduce the problem, best starting with a fresh workspace.
Comment 5 William CLA 2010-10-12 05:02:58 EDT
Created attachment 180653 [details]
screenshot of eclipse new workspace, intro screen
Comment 6 William CLA 2010-10-12 05:06:36 EDT
Created attachment 180654 [details]
scrolled
Comment 7 William CLA 2010-10-12 05:08:15 EDT
I tried a new workspace just now, (File, Switch Workspace, Other)
It loaded the spalsh start screen with loads of /n appearing on it and asked me if I wanted to debug an error (I have debugging enabled in internet explorer).


An eclipse error message occured(on second attempt to load into the new workspace), the details of which stated:
"Unable to read workbench state. Workbench UI layout will be reset.\n  Content is not allowed in prolog.\n  Content is not allowed in prolog.\n"

here is the contents of eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.timeout
--launcher.openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-Dline.separator=\n
Comment 8 William CLA 2010-10-12 05:12:09 EDT
incedently, this has it seems wiped my normal workspace for some reason.
Comment 9 William CLA 2010-10-12 05:14:57 EDT
I seem to recall attempting to put commented out comments into the eclipse.ini file broke(wiped) the workspace settings in a very similar way to what just occured.
Comment 10 William CLA 2010-10-12 05:45:37 EDT
here is the complete log from workspace2\.metadata\.log
in the logfile it appears all on one line, with \n in place of newlines.
oddly there are some 'related' loglines in the normal workspace that I use.
Eclipse panels seem to all be positioned ok, but all my projects have dissapeared from package explorer.


!SESSION 2010-10-12 09:56:02.607 -----------------------------------------------\n
eclipse.buildId=unknown\njava.version=1.6.0_20\njava.vendor=Sun Microsystems Inc.\nBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB\nFramework arguments:  -product org.eclipse.epp.package.jee.product --launcher.timeout --launcher.openFile -product org.eclipse.epp.package.jee.product --launcher.timeout --launcher.openFile\nCommand-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product --launcher.timeout --launcher.openFile -data c:\Java\workspace2 -product org.eclipse.epp.package.jee.product --launcher.timeout --launcher.openFile\n\n!ENTRY com.google.gdt.eclipse.suite 1 0 2010-10-12 09:56:19.260\n!MESSAGE Registering: com.google.appengine.eclipse.sdkbundle.1.3.4_1.3.4.v201005212032\n\n!ENTRY com.google.gdt.eclipse.suite 1 0 2010-10-12 09:56:19.885\n!MESSAGE Registering: com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:56:40.698\n!MESSAGE System property http.proxyHost is set to 192.168.102.102 but should not be set.\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:56:40.698\n!MESSAGE System property http.proxyPort is set to 3128 but should not be set.\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:56:40.713\n!MESSAGE System property http.proxyHost is set to 192.168.102.102 but should not be set.\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:56:40.713\n!MESSAGE System property http.proxyPort is set to 3128 but should not be set.\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:56:58.898\n!MESSAGE Failed to determine version of plugin com.instantiations.eclipse.application.audit\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:56:58.898\n!MESSAGE Failed to determine version of plugin com.instantiations.profiler.ui\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:56:58.898\n!MESSAGE Failed to determine version of plugin com.windowtester.runtime\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:56:58.898\n!MESSAGE Failed to determine version of plugin com.windowtester.runtime\n!SESSION 2010-10-12 09:58:21.490 -----------------------------------------------\neclipse.buildId=unknown\njava.version=1.6.0_20\njava.vendor=Sun Microsystems Inc.\nBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB\nFramework arguments:  -product org.eclipse.epp.package.jee.product --launcher.timeout --launcher.openFile\nCommand-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product --launcher.timeout --launcher.openFile\n\n!ENTRY org.eclipse.ui.workbench 4 2 2010-10-12 09:59:01.613\n!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".\n!STACK 1\norg.eclipse.ui.WorkbenchException: Content is not allowed in prolog.\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:121)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)\n	at org.eclipse.ui.internal.Workbench$49.run(Workbench.java:1895)\n	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1890)\n	at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)\n	at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:781)\nCaused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:94)\n	... 6 more\n!SUBENTRY 1 org.eclipse.ui 4 0 2010-10-12 09:59:01.613\n!MESSAGE Content is not allowed in prolog.\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:94)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)\n	at org.eclipse.ui.internal.Workbench$49.run(Workbench.java:1895)\n	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1890)\n	at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)\n	at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:781)\n!SUBENTRY 1 org.eclipse.ui 4 0 2010-10-12 09:59:01.613\n!MESSAGE Content is not allowed in prolog.\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:94)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)\n	at org.eclipse.ui.internal.Workbench$49.run(Workbench.java:1895)\n	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1890)\n	at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)\n	at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:781)\n\n!ENTRY com.google.gdt.eclipse.suite 1 0 2010-10-12 09:59:02.285\n!MESSAGE Registering: com.google.appengine.eclipse.sdkbundle.1.3.4_1.3.4.v201005212032\n\n!ENTRY com.google.gdt.eclipse.suite 1 0 2010-10-12 09:59:02.363\n!MESSAGE Registering: com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036\n\n!ENTRY com.google.gwt.eclipse.core 4 0 2010-10-12 09:59:02.379\n!MESSAGE Could not load UiBinder indices.\n!STACK 1\norg.eclipse.ui.WorkbenchException: Content is not allowed in prolog.\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:121)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)\n	at com.google.gwt.eclipse.core.uibinder.model.reference.UiBinderReferenceManager.load(UiBinderReferenceManager.java:381)\n	at com.google.gwt.eclipse.core.uibinder.model.reference.UiBinderReferenceManager.start(UiBinderReferenceManager.java:348)\n	at com.google.gwt.eclipse.core.GWTPlugin.start(GWTPlugin.java:112)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)\n	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)\n	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)\n	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)\n	at java.lang.ClassLoader.loadClass(Unknown Source)\n	at com.google.gwt.eclipse.sdkbundle.SdkBundleRegistrant.register(SdkBundleRegistrant.java:50)\n	at com.google.gdt.eclipse.suite.preferences.GdtPreferences.registerSdks(GdtPreferences.java:195)\n	at com.google.gdt.eclipse.suite.GdtPlugin.start(GdtPlugin.java:364)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)\n	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)\n	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)\n	at java.lang.ClassLoader.loadClass(Unknown Source)\n	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)\n	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)\n	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)\n	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)\n	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)\n	at org.eclipse.ui.internal.util.Util.safeLoadExecutableExtension(Util.java:873)\n	at org.eclipse.ui.internal.menus.MenuAdditionCacheEntry.createControlAdditionContribution(MenuAdditionCacheEntry.java:297)\n	at org.eclipse.ui.internal.menus.MenuAdditionCacheEntry.createContributionItems(MenuAdditionCacheEntry.java:183)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService$5.run(WorkbenchMenuService.java:561)\n	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService.processAdditions(WorkbenchMenuService.java:622)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService.addContributionsToManager(WorkbenchMenuService.java:683)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService.populateContributionManager(WorkbenchMenuService.java:669)\n	at org.eclipse.ui.internal.menus.TrimContributionManager$ToolBarTrimProxy.dock(TrimContributionManager.java:75)\n	at org.eclipse.ui.internal.menus.TrimContributionManager.update(TrimContributionManager.java:232)\n	at org.eclipse.ui.internal.WorkbenchWindow.updateLayoutDataForContents(WorkbenchWindow.java:3785)\n	at org.eclipse.ui.internal.WorkbenchWindow.setLayoutDataForContents(WorkbenchWindow.java:3796)\n	at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1114)\n	at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:625)\n	at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)\n	at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1000)\n	at org.eclipse.jface.window.Window.create(Window.java:431)\n	at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1032)\n	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)\n	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\n	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)\n	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)\n	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)\n	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)\n	at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)\n	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)\n	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\n	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)\n	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)\n	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)\n	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)\n	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)\n	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)\n	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\n	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)\n	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)\n	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)\n	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)\n	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n	at java.lang.reflect.Method.invoke(Unknown Source)\n	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)\n	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)\n	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)\nCaused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:94)\n	... 96 more\n!SUBENTRY 1 org.eclipse.ui 4 0 2010-10-12 09:59:02.379\n!MESSAGE Content is not allowed in prolog.\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:94)\n	at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)\n	at com.google.gwt.eclipse.core.uibinder.model.reference.UiBinderReferenceManager.load(UiBinderReferenceManager.java:381)\n	at com.google.gwt.eclipse.core.uibinder.model.reference.UiBinderReferenceManager.start(UiBinderReferenceManager.java:348)\n	at com.google.gwt.eclipse.core.GWTPlugin.start(GWTPlugin.java:112)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)\n	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)\n	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)\n	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)\n	at java.lang.ClassLoader.loadClass(Unknown Source)\n	at com.google.gwt.eclipse.sdkbundle.SdkBundleRegistrant.register(SdkBundleRegistrant.java:50)\n	at com.google.gdt.eclipse.suite.preferences.GdtPreferences.registerSdks(GdtPreferences.java:195)\n	at com.google.gdt.eclipse.suite.GdtPlugin.start(GdtPlugin.java:364)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)\n	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)\n	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)\n	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)\n	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)\n	at java.lang.ClassLoader.loadClass(Unknown Source)\n	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)\n	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)\n	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)\n	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)\n	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)\n	at org.eclipse.ui.internal.util.Util.safeLoadExecutableExtension(Util.java:873)\n	at org.eclipse.ui.internal.menus.MenuAdditionCacheEntry.createControlAdditionContribution(MenuAdditionCacheEntry.java:297)\n	at org.eclipse.ui.internal.menus.MenuAdditionCacheEntry.createContributionItems(MenuAdditionCacheEntry.java:183)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService$5.run(WorkbenchMenuService.java:561)\n	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService.processAdditions(WorkbenchMenuService.java:622)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService.addContributionsToManager(WorkbenchMenuService.java:683)\n	at org.eclipse.ui.internal.menus.WorkbenchMenuService.populateContributionManager(WorkbenchMenuService.java:669)\n	at org.eclipse.ui.internal.menus.TrimContributionManager$ToolBarTrimProxy.dock(TrimContributionManager.java:75)\n	at org.eclipse.ui.internal.menus.TrimContributionManager.update(TrimContributionManager.java:232)\n	at org.eclipse.ui.internal.WorkbenchWindow.updateLayoutDataForContents(WorkbenchWindow.java:3785)\n	at org.eclipse.ui.internal.WorkbenchWindow.setLayoutDataForContents(WorkbenchWindow.java:3796)\n	at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1114)\n	at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:625)\n	at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)\n	at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1000)\n	at org.eclipse.jface.window.Window.create(Window.java:431)\n	at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1032)\n	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)\n	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\n	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)\n	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)\n	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)\n	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)\n	at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)\n	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)\n	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\n	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)\n	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)\n	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)\n	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)\n	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)\n	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)\n	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\n	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)\n	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)\n	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)\n	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)\n	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)\n	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n	at java.lang.reflect.Method.invoke(Unknown Source)\n	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)\n	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)\n	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)\n\n!ENTRY org.eclipse.jdt.ui 4 10001 2010-10-12 09:59:13.825\n!MESSAGE Internal Error\n!STACK 1\norg.eclipse.jdt.internal.ui.JavaUIException: Problems reading information from XML 'OpenTypeHistory.xml'\n	at org.eclipse.jdt.internal.corext.util.History.createException(History.java:70)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:257)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:166)\n	at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:199)\n	at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:185)\n	at org.eclipse.jdt.internal.ui.JavaPlugin.initializeAfterLoad(JavaPlugin.java:381)\n	at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:36)\n	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\nCaused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:255)\n	... 6 more\n!SUBENTRY 1 org.eclipse.jdt.ui 4 4 2010-10-12 09:59:13.825\n!MESSAGE Problems reading information from XML 'OpenTypeHistory.xml'\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:255)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:166)\n	at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:199)\n	at org.eclipse.jdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:185)\n	at org.eclipse.jdt.internal.ui.JavaPlugin.initializeAfterLoad(JavaPlugin.java:381)\n	at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:36)\n	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\n\n!ENTRY org.eclipse.wst.jsdt.ui 4 10001 2010-10-12 09:59:13.903\n!MESSAGE Internal Error\n!STACK 1\norg.eclipse.wst.jsdt.internal.ui.JavaUIException: Problems reading information from XML 'OpenTypeHistory.xml'\n	at org.eclipse.wst.jsdt.internal.corext.util.History.createException(History.java:65)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:251)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:161)\n	at org.eclipse.wst.jsdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:189)\n	at org.eclipse.wst.jsdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:175)\n	at org.eclipse.wst.jsdt.internal.ui.JavaScriptPlugin.initializeAfterLoad(JavaScriptPlugin.java:358)\n	at org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:33)\n	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\nCaused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:249)\n	... 6 more\n!SUBENTRY 1 org.eclipse.wst.jsdt.ui 4 4 2010-10-12 09:59:13.903\n!MESSAGE Problems reading information from XML 'OpenTypeHistory.xml'\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:249)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:161)\n	at org.eclipse.wst.jsdt.internal.corext.util.OpenTypeHistory.<init>(OpenTypeHistory.java:189)\n	at org.eclipse.wst.jsdt.internal.corext.util.OpenTypeHistory.getInstance(OpenTypeHistory.java:175)\n	at org.eclipse.wst.jsdt.internal.ui.JavaScriptPlugin.initializeAfterLoad(JavaScriptPlugin.java:358)\n	at org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:33)\n	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:59:14.481\n!MESSAGE System property http.proxyHost is set to 192.168.102.102 but should not be set.\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:59:14.481\n!MESSAGE System property http.proxyPort is set to 3128 but should not be set.\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:59:14.497\n!MESSAGE System property http.proxyHost is set to 192.168.102.102 but should not be set.\n\n!ENTRY org.eclipse.core.net 1 0 2010-10-12 09:59:14.497\n!MESSAGE System property http.proxyPort is set to 3128 but should not be set.\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:59:34.215\n!MESSAGE Failed to determine version of plugin com.instantiations.eclipse.application.audit\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:59:34.215\n!MESSAGE Failed to determine version of plugin com.instantiations.profiler.ui\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:59:34.215\n!MESSAGE Failed to determine version of plugin com.windowtester.runtime\n\n!ENTRY com.instantiations.eclipse 1 0 2010-10-12 09:59:34.215\n!MESSAGE Failed to determine version of plugin com.windowtester.runtime\n\n!ENTRY org.eclipse.jdt.ui 4 10001 2010-10-12 10:09:42.059\n!MESSAGE Internal Error\n!STACK 1\norg.eclipse.jdt.internal.ui.JavaUIException: Problems reading information from XML 'QualifiedTypeNameHistory.xml'\n	at org.eclipse.jdt.internal.corext.util.History.createException(History.java:70)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:257)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:166)\n	at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33)\n	at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26)\n	at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java:602)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:474)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546)\n	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)\n	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)\n	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)\n	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)\n	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n	at java.lang.reflect.Method.invoke(Unknown Source)\n	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)\n	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)\n	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)\nCaused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:255)\n	... 25 more\n!SUBENTRY 1 org.eclipse.jdt.ui 4 4 2010-10-12 10:09:42.059\n!MESSAGE Problems reading information from XML 'QualifiedTypeNameHistory.xml'\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:255)\n	at org.eclipse.jdt.internal.corext.util.History.load(History.java:166)\n	at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33)\n	at org.eclipse.jdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26)\n	at org.eclipse.jdt.internal.ui.JavaPlugin.stop(JavaPlugin.java:602)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:474)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546)\n	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)\n	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)\n	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)\n	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)\n	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n	at java.lang.reflect.Method.invoke(Unknown Source)\n	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)\n	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)\n	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)\n\n!ENTRY org.eclipse.wst.jsdt.ui 4 10001 2010-10-12 10:09:42.106\n!MESSAGE Internal Error\n!STACK 1\norg.eclipse.wst.jsdt.internal.ui.JavaUIException: Problems reading information from XML 'QualifiedTypeNameHistory.xml'\n	at org.eclipse.wst.jsdt.internal.corext.util.History.createException(History.java:65)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:251)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:161)\n	at org.eclipse.wst.jsdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33)\n	at org.eclipse.wst.jsdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26)\n	at org.eclipse.wst.jsdt.internal.ui.JavaScriptPlugin.stop(JavaScriptPlugin.java:569)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:474)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546)\n	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)\n	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)\n	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)\n	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)\n	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n	at java.lang.reflect.Method.invoke(Unknown Source)\n	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)\n	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)\n	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)\nCaused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:249)\n	... 25 more\n!SUBENTRY 1 org.eclipse.wst.jsdt.ui 4 4 2010-10-12 10:09:42.106\n!MESSAGE Problems reading information from XML 'QualifiedTypeNameHistory.xml'\n!STACK 0\norg.xml.sax.SAXParseException: Content is not allowed in prolog.\n	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)\n	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:249)\n	at org.eclipse.wst.jsdt.internal.corext.util.History.load(History.java:161)\n	at org.eclipse.wst.jsdt.internal.corext.util.QualifiedTypeNameHistory.<init>(QualifiedTypeNameHistory.java:33)\n	at org.eclipse.wst.jsdt.internal.corext.util.QualifiedTypeNameHistory.getDefault(QualifiedTypeNameHistory.java:26)\n	at org.eclipse.wst.jsdt.internal.ui.JavaScriptPlugin.stop(JavaScriptPlugin.java:569)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)\n	at java.security.AccessController.doPrivileged(Native Method)\n	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)\n	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:474)\n	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546)\n	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)\n	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)\n	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)\n	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)\n	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)\n	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)\n	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n	at java.lang.reflect.Method.invoke(Unknown Source)\n	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)\n	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)\n	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)\n
Comment 11 Dani Megert CLA 2010-10-12 06:38:59 EDT
(In reply to comment #5)
> Created an attachment (id=180653) [details] [diff]
> screenshot of eclipse new workspace, intro screen

OK, so your bug is about the Welcome page, which is not an editor but some content displayed in a web browser widget. Correct?

Looking at your stack trace it seems that you did not pass the '\n' character but rather the string "\n" (two chars) which of course completely confuses any reader/writer.
Comment 12 Dani Megert CLA 2010-10-12 06:42:35 EDT
> Looking at your stack trace it seems that you did not pass the '\n' character
> but rather the string "\n" (two chars) which of course completely confuses any
> reader/writer.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4947206.
Comment 13 William CLA 2010-10-12 07:04:33 EDT
so -Dline.separator=\n should not be -Dline.separator=\n but -Dline.separator=
? (ie just press enther after the equals symbol?)

"OK, so your bug is about the Welcome page, which is not an editor but some
content displayed in a web browser widget. Correct?"
this is a fairly obtuse stance to take dont you think Dani?
Clearly eclipse.ini is being parsed in a manner that that does not understand a
simple switch and also does not understand comments in any form and this
intolerance(=bad programming) breaks workspaces. Why bother checking if any
files opened/edited have the expected newlines if the entire eclipse
environment is so obviously adversely affected?

why not have in the first place:
-Dline.separator=newline
-Dline.separator=carriagereturn
Comment 14 Dani Megert CLA 2010-10-12 08:25:07 EDT
>why not have in the first place:
>-Dline.separator=newline
>-Dline.separator=carriagereturn
This is a VM argument you're using and not an Eclipse property - you would have to complain there. Note that Eclipse offers to set the line delimiter for new text files on the 'Workspace' preference page. This might do the trick for you.

And yes, it's hard if not impossible to correctly set the line delimiter via that VM property but that's a limitation that the VM vendor decided not to fix, see bug referenced above.

Having said that, Eclipse itself must make sure that it doesn't loose data when the user tries the obvious.

Moving to Platform UI as it starts to fail when trying to restore the workspace.
Comment 15 Paul Webster CLA 2010-10-12 09:10:53 EDT
Should this be re-opened then?

PW
Comment 16 Dani Megert CLA 2010-10-12 09:11:44 EDT
(In reply to comment #15)
> Should this be re-opened then?
> 
> PW
Yep. Done.
Comment 17 Francis Upton IV CLA 2010-11-02 03:15:52 EDT
Ok, let's start with Workbench.restoreState() to deal with this.
Comment 18 Eclipse Webmaster CLA 2019-09-06 15:30:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 19 Eclipse Genie CLA 2021-09-20 12:18:12 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.