Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can't create workspace under neon
icon5.gif  Can't create workspace under neon [message #1734197] Mon, 06 June 2016 06:49 Go to next message
Jamling Li is currently offline Jamling LiFriend
Messages: 9
Registered: August 2011
Junior Member
When I launching the eclipse neon after installation. I got an error:
---------------------------
Eclipse
---------------------------
An error has occurred. See the log file
C:\Users\Jamling\.p2\pool\configuration\1465180452260.log.
---------------------------
确定
---------------------------
The content of log is :
!SESSION 2016-06-06 10:59:03.958 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product org.eclipse.epp.package.android.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.android.product

!ENTRY org.eclipse.osgi 4 0 2016-06-06 10:59:04.315
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:78)


I found a solution on stackoverflow.com, added the following config in eclipse.ini

-Dosgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start,org.eclipse.equinox.common@2:start,org.eclipse.equinox.ds@2:start,org.eclipse.equinox.event@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start


And the eclipse launching successfully!

But when I create my first workspace, I got another error:

---------------------------
Eclipse
---------------------------
An error has occurred. See the log file
E:\eclipse\android-neon\workspace\.metadata\.log.
---------------------------
确定
---------------------------

The content of log is :

!SESSION 2016-06-06 14:03:47.781 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product org.eclipse.epp.package.android.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.android.product

!ENTRY org.eclipse.m2e.logback.appender 2 0 2016-06-06 14:04:00.570
!MESSAGE Could not resolve module: org.eclipse.m2e.logback.appender [385]
  Unresolved requirement: Fragment-Host: ch.qos.logback.classic


!ENTRY org.eclipse.osgi 4 0 2016-06-06 14:04:00.570
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:121)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:510)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:203)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:626)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
!SESSION 2016-06-06 14:06:06.779 -----------------------------------------------


The env of my computer is : windows 7 64 bits OS, JDK 1.8.

Any one help me for this question? Thank you~
Re: Can't create workspace under neon [message #1734217 is a reply to message #1734197] Mon, 06 June 2016 09:46 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Sorry, there was a bug in the RC3 installer. I've just created an RC3a
build to fix it. Until they update the link on the website

https://bugs.eclipse.org/bugs/show_bug.cgi?id=495523

you could get the fixed version from here:

https://hudson.eclipse.org/oomph/job/integration/lastSuccessfulBuild/artifact/products/

Or you could switch to Advance mode and use the button at the bottom of
the wizard to update your installer to the fixed version.


On 06.06.2016 08:49, Jamling Li wrote:
> When I launching the eclipse neon after installation. I got an error:
> ---------------------------
> Eclipse
> ---------------------------
> An error has occurred. See the log file
> C:\Users\Jamling\.p2\pool\configuration\1465180452260.log.
> ---------------------------
> 确定 ---------------------------
> The content of log is :
>
> !SESSION 2016-06-06 10:59:03.958
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.8.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
> Framework arguments: -product org.eclipse.epp.package.android.product
> Command-line arguments: -os win32 -ws win32 -arch x86_64 -product
> org.eclipse.epp.package.android.product
>
> !ENTRY org.eclipse.osgi 4 0 2016-06-06 10:59:04.315
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Unable to acquire application
> service. Ensure that the org.eclipse.core.runtime bundle is resolved
> and started (see config.ini).
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:78)
>
>
> I found a solution on stackoverflow.com, added the following config in
> eclipse.ini
>
> -Dosgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start,org.eclipse.equinox.common@2:start,org.eclipse.equinox.ds@2:start,org.eclipse.equinox.event@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
>
>
> And the eclipse launching successfully!
> But when I create my first workspace, I got another error:
>
> ---------------------------
> Eclipse
> ---------------------------
> An error has occurred. See the log file
> E:\eclipse\android-neon\workspace\.metadata\.log.
> ---------------------------
> 确定 ---------------------------
>
> The content of log is :
> !SESSION 2016-06-06 14:03:47.781
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.8.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
> Framework arguments: -product org.eclipse.epp.package.android.product
> Command-line arguments: -os win32 -ws win32 -arch x86_64 -product
> org.eclipse.epp.package.android.product
>
> !ENTRY org.eclipse.m2e.logback.appender 2 0 2016-06-06 14:04:00.570
> !MESSAGE Could not resolve module: org.eclipse.m2e.logback.appender [385]
> Unresolved requirement: Fragment-Host: ch.qos.logback.classic
>
>
> !ENTRY org.eclipse.osgi 4 0 2016-06-06 14:04:00.570
> !MESSAGE Application error
> !STACK 1
> java.lang.NullPointerException
> at
> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:121)
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:510)
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:203)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:626)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> !SESSION 2016-06-06 14:06:06.779
> -----------------------------------------------
>
> The env of my computer is : windows 7 64 bits OS, JDK 1.8.
>
> Any one help me for this question? Thank you~


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse on click after import event handler
Next Topic:Label in status bar is cut off in Mars (works in Indigo)
Goto Forum:
  


Current Time: Thu Apr 25 13:07:26 GMT 2024

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

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

Back to the top