Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Upgraded RCP to Neon cannot launch with @noDefault(Looking for ways to get @nodefault working in neon.)
Upgraded RCP to Neon cannot launch with @noDefault [message #1739956] Sat, 06 August 2016 00:07
Sally Rich is currently offline Sally RichFriend
Messages: 3
Registered: July 2009
Junior Member
we have a 3.x based rcp running compatibility fine in 4.5.1 since that came out. I upgraded to neon to try it out and am unable to launch. we launch with @nodefault for instance location as we allow our user to pick from various servers and then set the instancelocation programatically based on their selection. If I set the location to something arbitrary we launch fine, but then of course we can't set the workspace programatically because of the inability to 'change' the workspace once it is set.

The ResourcePlugin appears to now need the instancelocation set before it used to (just guessing):
ResourcesPlugin.start throws an exception
Caused by: java.lang.IllegalStateException: The instance data location has not been specified yet.

Looking for ways to get @nodefault working again if anyone has any idea.

Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(
at org.eclipse.osgi.container.Module.doStart(
at org.eclipse.osgi.container.Module.start(
at org.eclipse.osgi.framework.util.SecureAction.start(
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(
... 43 more
Caused by: java.lang.IllegalStateException: The instance data location has not been specified yet.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(
at org.eclipse.core.internal.runtime.InternalPlatform.getStateLocation(
at org.eclipse.core.runtime.Plugin.getStateLocation(
at org.eclipse.core.internal.resources.LocalMetaArea.<init>(
at org.eclipse.core.resources.ResourcesPlugin.start(
at org.eclipse.osgi.internal.framework.BundleContextImpl$
at org.eclipse.osgi.internal.framework.BundleContextImpl$
at Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(
Previous Topic:How to test the "accessibility phrase"
Next Topic:Eclipse e4 application does not start in Java Web start
Goto Forum:

Current Time: Sun Mar 03 23:43:09 GMT 2024

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

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

Back to the top