Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problems during startup. Check the ".log" file in the ".metadata" directory of y
Problems during startup. Check the ".log" file in the ".metadata" directory of y [message #187705] Sat, 31 January 2004 09:42 Go to next message
Fredy is currently offline FredyFriend
Messages: 2
Registered: July 2009
Junior Member
Hy,
I just unziped the eclipse 2.1.2 into my /opt directory and tried to sta=
rt =

eclipse. I always get the error message "Problems during startup. Check =

the ".log" file in the ".metadata" directory of your workspace.". But I =

don't have a directory "workspace"!.
What could be wrong here? Has anybody a clue?

thanks and kind regards

Fredy
Re: Problems during startup. Check the ".log" file in the ".metadata" directory [message #187765 is a reply to message #187705] Sat, 31 January 2004 14:04 Go to previous messageGo to next message
Fredy is currently offline FredyFriend
Messages: 2
Registered: July 2009
Junior Member
On Sat, 31 Jan 2004 10:42:06 +0100, Fredy Klammsteiner <fredy.k@gmx.net>=
=

wrote:

> Hy,
> I just unziped the eclipse 2.1.2 into my /opt directory and tried to =

> start eclipse. I always get the error message "Problems during startup=
.. =

> Check the ".log" file in the ".metadata" directory of your workspace."=
.. =

> But I don't have a directory "workspace"!.
> What could be wrong here? Has anybody a clue?
>
> thanks and kind regards
>
> Fredy

The following printout may be a help of experts:
------------------------------------------------------------ ------------=
---------------------
An exception occurred while writing to the platform log:
java.io.FileNotFoundException: /opt/eclipse/workspace/.metadata/.log (No=
=

such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.eclipse.core.launcher.Main.openLogFile(Main.java:1400)
at org.eclipse.core.launcher.Main.log(Main.java:1261)
at org.eclipse.core.launcher.Main.main(Main.java:587)
Logging to the console instead.
!ENTRY org.eclipse.core.launcher 4 0 Jan 31, 2004 15:01:09.710
!MESSAGE Exception launching the Eclipse Platform:
An exception occurred while writing to the platform log:
java.io.FileNotFoundException: /opt/eclipse/workspace/.metadata/.log (No=
=

such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.eclipse.core.launcher.Main.openLogFile(Main.java:1400)
at org.eclipse.core.launcher.Main.log(Main.java:1261)
at org.eclipse.core.launcher.Main.main(Main.java:588)
Logging to the console instead.
!STACK
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.jav=
a:39)
at =

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessor=
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.jav=
a:39)
at =

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessor=
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at =

org.eclipse.core.internal.boot.InternalBootLoader.startup(In ternalBootLo=
ader.java:1040)
at =

org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader=
..java:838)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
... 7 more
Caused by: org.eclipse.core.runtime.CoreException: The platform metadata=
=

area could not be written: /opt/eclipse/workspace/.metadata. By default=
=

the platform writes its content
under the current working directory when the platform is launched. Use =

the -data parameter to
specify a different content area for the platform.
at =

org.eclipse.core.internal.runtime.PlatformMetaArea.createLoc ation(Platfo=
rmMetaArea.java:73)
at =

org.eclipse.core.internal.runtime.InternalPlatform.setupMeta Area(Interna=
lPlatform.java:1053)
at =

org.eclipse.core.internal.runtime.InternalPlatform.loaderSta rtup(Interna=
lPlatform.java:679)
... 14 more
------------------------------------------------------------ ------------=
---------------------------------------------------
Re: Problems during startup. Check the ".log" file in the ".metadata" directory [message #188420 is a reply to message #187765] Mon, 02 February 2004 19:49 Go to previous messageGo to next message
Dan Scott is currently offline Dan ScottFriend
Messages: 13
Registered: July 2009
Junior Member
Fredy Klammsteiner wrote:

> On Sat, 31 Jan 2004 10:42:06 +0100, Fredy Klammsteiner <fredy.k@gmx.net>
> wrote:
>
>> Hy,
>> I just unziped the eclipse 2.1.2 into my /opt directory and tried to
>> start eclipse. I always get the error message "Problems during
>> startup.. Check the ".log" file in the ".metadata" directory of your
>> workspace.".. But I don't have a directory "workspace"!.
>> What could be wrong here? Has anybody a clue?
>>
>> thanks and kind regards
>>
>> Fredy
>
>
> The following printout may be a help of experts:
> ------------------------------------------------------------ ---------------------------------
> ...
> Caused by: org.eclipse.core.runtime.CoreException: The platform metadata
> area could not be written: /opt/eclipse/workspace/.metadata. By default
> the platform writes its content
> under the current working directory when the platform is launched. Use
> the -data parameter to
> specify a different content area for the platform.


So you're running Eclipse with a user ID that doesn't have write
permission to the /opt/eclipse/ directory. You have to run it using the
-data parameter to specify a directory where your user ID does have
permission to create files; say /home/userID/:

/opt/eclipse/eclipse -data /home/userID

(where userID represents your current user ID).

Dan
Re: Problems during startup. Check the ".log" file in the ".metadata" directory [message #1801650 is a reply to message #187705] Thu, 24 January 2019 06:49 Go to previous message
cs Ho is currently offline cs HoFriend
Messages: 1
Registered: January 2019
Junior Member
I have some similar message when trying to run on one of my PC with Windows 10.
However, it runs fine with another Win10 PC.
Managed to trace and capture some message as following:

I have both of my machine setup as same login ID, Chan Chan
Fail machine I get the following:

java.lang.reflect.InvocationTargetException: org.eclipse.core.runtime.CoreException: The platform metadata area could not be written: C:\Users\Chan\.metadata. By default the platform writes its content

On the good machine, it seem the different is on the directory it try to
C:\Users\CHANCH~1\.metadata.

I tried to create another ID on the failed machine, ChanChan (without space in between), and it runs without error. I am not sure where the problem come from?
Previous Topic:RCP config.ini not working since updating to Eclipse 4.9
Next Topic:Code folding bar color?
Goto Forum:
  


Current Time: Tue Mar 19 08:58:22 GMT 2024

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

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

Back to the top