{"id":6372,"date":"2014-04-17T01:13:05","date_gmt":"2014-04-17T01:13:05","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/17\/eclipse-wont-start-after-changing-workspace-collection-of-common-programming-errors-2\/"},"modified":"2014-04-17T01:13:05","modified_gmt":"2014-04-17T01:13:05","slug":"eclipse-wont-start-after-changing-workspace-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/17\/eclipse-wont-start-after-changing-workspace-collection-of-common-programming-errors-2\/","title":{"rendered":"Eclipse won&#39;t start after changing workspace-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;ve screwed up my Eclipse installation. I changed the workspace location (File-&gt;Switch Workspace). Now it won&#8217;t startup. I see the splash for a few seconds and it shuts down. I then tried using the -data parameter on the command line with both the old and the new workspace, but same behavior. I also tried rebooting the machine.<\/p>\n<p>In <em>eclipse\\workspace.metadata.plugins\\org.eclipse.core.runtime.settings\\org.eclipse.ui.ide.prefs<\/em>, I added the last line for SHOW_WORKSPACE_SELECTION_DIALOG, but no difference.<\/p>\n<pre><code>EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false\nIMPORT_FILES_AND_FOLDERS_RELATIVE=true\nIMPORT_FILES_AND_FOLDERS_TYPE=23,1\nPROBLEMS_FILTERS_MIGRATE=true\nSWITCH_PERSPECTIVE_ON_PROJECT_CREATION=always\nTASKS_FILTERS_MIGRATE=true\neclipse.preferences.version=1\nplatformState=1346849854920\nquickStart=false\ntipsAndTricks=true\nSHOW_WORKSPACE_SELECTION_DIALOG=true\n<\/code><\/pre>\n<p>How do I get it back?<\/p>\n<p>(Edit) I removed the .metadata directory and then Eclipse restarted.<\/p>\n<p>Snip from log file:<\/p>\n<pre><code>!SESSION 2013-01-28 10:35:51.245 -----------------------------------------------\neclipse.buildId=M20120914-1800\njava.version=1.7.0_07\njava.vendor=Oracle Corporation\nBootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US\nFramework arguments:  -product org.eclipse.epp.package.java.product\nCommand-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product\n\n!ENTRY org.eclipse.ui 4 4 2013-01-28 10:32:40.278\n!MESSAGE Unhandled Exception\n\n!ENTRY org.eclipse.ui 4 0 2013-01-28 10:32:40.278\n!MESSAGE Error occurred during status handling\n!STACK 0\njava.lang.NullPointerException\n    at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.(StatusHandlerRegistry.java:72)\n...\n!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2013-01-28 10:32:40.294\n!MESSAGE Unable to execute early startup code for an extension\n!STACK 1\norg.eclipse.core.runtime.CoreException: Plug-in \"org.eclipse.equinox.p2.ui.sdk.scheduler\" was unable to instantiate class \"org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler\".\n    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)\n...\n!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-01-28 10:32:40.294\n!MESSAGE Plug-in \"org.eclipse.equinox.p2.ui.sdk.scheduler\" was unable to instantiate class \"org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler\".\n!STACK 0\njava.lang.NullPointerException\n    at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.(AutomaticUpdateScheduler.java:68)\n...\n!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2013-01-28 10:32:40.294\n!MESSAGE Unable to execute early startup code for an extension\n!STACK 1\norg.eclipse.core.runtime.CoreException: Plug-in \"org.eclipse.equinox.p2.ui.sdk.scheduler\" was unable to instantiate class \"org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler\".\n    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)\n...\n!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-01-28 10:32:40.294\n!MESSAGE Plug-in \"org.eclipse.equinox.p2.ui.sdk.scheduler\" was unable to instantiate class \"org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler\".\n!STACK 0\njava.lang.NullPointerException\n    at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.(AutomaticUpdateScheduler.java:68)\n...\n!ENTRY org.eclipse.ui 4 0 2013-01-28 10:32:40.294\n!MESSAGE Error occurred during status handling\n!STACK 0\njava.lang.NullPointerException\n    at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.(StatusHandlerRegistry.java:72)\n...\n!ENTRY org.eclipse.core.jobs 2 2 2013-01-28 10:32:40.809\n!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceDropAdapter$1\n\n!ENTRY org.eclipse.core.jobs 2 2 2013-01-28 10:32:40.809\n!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceDropAdapter$1\n\n!ENTRY org.eclipse.ui 4 0 2013-01-28 10:32:40.809\n!MESSAGE Error occurred during status handling\n!STACK 0\njava.lang.NullPointerException\n    at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.(StatusHandlerRegistry.java:61)\n...\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve screwed up my Eclipse installation. I changed the workspace location (File-&gt;Switch Workspace). Now it won&#8217;t startup. I see the splash for a few seconds and it shuts down. I then tried using the -data parameter on the command line with both the old and the new workspace, but same behavior. I also tried rebooting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6372","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6372"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6372\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}