Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse crashes when adding jars to project
Eclipse crashes when adding jars to project [message #251190] Tue, 11 March 2008 01:08 Go to next message
Eclipse UserFriend
I keep running into a problem where eclipse crashes whenever I try to
create a user library.

I was able to reproduce the problem using a fresh installation of eclipse
3.3.2 in a new location, using a new workspace. I create a new java
project and attempt to create a new user library. When I attempt to select
libraries, eclipse crashes.

The only thing in the .log file is the message:
!ENTRY org.eclipse.ui 4 4 2008-03-10 23:48:13.890
!MESSAGE Invalid preference page path: Cache

Also, this message is not printed every time eclipse crashes. I was able
to make it crash 5 times in a row without the message being printed.

In summary, here is the test procedure:
1) Install fresh eclipse (specifically
eclipse-java-europa-winter-win32.zip)
2) Open eclipse in a new workspace
3) Create new java project
4) Add libraries and CRASH!!!

It seems to only happen when my mouse actually moves over a file in the
file chooser ... but maybe I'm over diagnosing the problem.

Any help is appreciated. Also, if this is the wrong forum, could someone
please point me to the right forum? Thanks.
Re: Eclipse crashes when adding jars to project [message #251201 is a reply to message #251190] Tue, 11 March 2008 09:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Simon wrote:
> I keep running into a problem where eclipse crashes whenever I try to
> create a user library.
>
> I was able to reproduce the problem using a fresh installation of
> eclipse 3.3.2 in a new location, using a new workspace. I create a new
> java project and attempt to create a new user library. When I attempt to
> select libraries, eclipse crashes.
> The only thing in the .log file is the message: !ENTRY org.eclipse.ui 4
> 4 2008-03-10 23:48:13.890
> !MESSAGE Invalid preference page path: Cache
>
> Also, this message is not printed every time eclipse crashes. I was able
> to make it crash 5 times in a row without the message being printed.
>
> In summary, here is the test procedure:
> 1) Install fresh eclipse (specifically
> eclipse-java-europa-winter-win32.zip)
> 2) Open eclipse in a new workspace
> 3) Create new java project
> 4) Add libraries and CRASH!!!
>
> It seems to only happen when my mouse actually moves over a file in the
> file chooser ... but maybe I'm over diagnosing the problem.
>
> Any help is appreciated. Also, if this is the wrong forum, could someone
> please point me to the right forum? Thanks.
>

The correct mechanism for reporting bugs is Bugzilla
(http://bugs.eclipse.org/bugs). You've provided some good details, but
probably not enough to go on; obviously people can create User Libraries
or it would have been reported and fixed by now, so you must be doing
something out of the ordinary to cause this to happen, or perhaps there
is something about your environment that is non-standard (such as JVM).
In your bug report, be as detailed as possible about your environment
and the exact steps you take. In fact, if you provide that information
here, we might be able to diagnose the problem without going through the
effort of a formal bug report. It's up to you...

Hope this helps,
Eric
Re: Eclipse crashes when adding jars to project [message #251205 is a reply to message #251190] Tue, 11 March 2008 09:13 Go to previous messageGo to next message
Eclipse UserFriend
Simon a écrit :
> In summary, here is the test procedure:
> 1) Install fresh eclipse (specifically
> eclipse-java-europa-winter-win32.zip)
> 2) Open eclipse in a new workspace
> 3) Create new java project
> 4) Add libraries and CRASH!!!
Hi,

What does CRASH mean? You have an exception in the .log file ? GPF of
the VM ?
Look at your .log file (Error view) and report the corresponding error
if any.
--
Olivier
Re: Eclipse crashes when adding jars to project [message #251212 is a reply to message #251205] Tue, 11 March 2008 10:10 Go to previous messageGo to next message
Eclipse UserFriend
When eclipse crashes, it just completely shuts down. There is no trace of
it.

The contents of the .log file are very sparse:

!SESSION 2008-03-10 23:46:11.015
-----------------------------------------------
eclipse.buildId=M20080221-1800
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 4 4 2008-03-10 23:48:13.890
!MESSAGE Invalid preference page path: Cache
Re: Eclipse crashes when adding jars to project [message #251216 is a reply to message #251201] Tue, 11 March 2008 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:

> Simon wrote:
>> I keep running into a problem where eclipse crashes whenever I try to
>> create a user library.
>>
>> I was able to reproduce the problem using a fresh installation of
>> eclipse 3.3.2 in a new location, using a new workspace. I create a new
>> java project and attempt to create a new user library. When I attempt to
>> select libraries, eclipse crashes.
>> The only thing in the .log file is the message: !ENTRY org.eclipse.ui 4
>> 4 2008-03-10 23:48:13.890
>> !MESSAGE Invalid preference page path: Cache
>>
>> Also, this message is not printed every time eclipse crashes. I was able
>> to make it crash 5 times in a row without the message being printed.
>>
>> In summary, here is the test procedure:
>> 1) Install fresh eclipse (specifically
>> eclipse-java-europa-winter-win32.zip)
>> 2) Open eclipse in a new workspace
>> 3) Create new java project
>> 4) Add libraries and CRASH!!!
>>
>> It seems to only happen when my mouse actually moves over a file in the
>> file chooser ... but maybe I'm over diagnosing the problem.
>>
>> Any help is appreciated. Also, if this is the wrong forum, could someone
>> please point me to the right forum? Thanks.
>>

> The correct mechanism for reporting bugs is Bugzilla
> (http://bugs.eclipse.org/bugs). You've provided some good details, but
> probably not enough to go on; obviously people can create User Libraries
> or it would have been reported and fixed by now, so you must be doing
> something out of the ordinary to cause this to happen, or perhaps there
> is something about your environment that is non-standard (such as JVM).
> In your bug report, be as detailed as possible about your environment
> and the exact steps you take. In fact, if you provide that information
> here, we might be able to diagnose the problem without going through the
> effort of a formal bug report. It's up to you...

> Hope this helps,
> Eric


Eric,

I understand that this is not a common bug, or else no one could add
libraries. That's why I'm a little hesitant to file it as a bug.

I don't know what could be non-standard about my configuration. I'm using
the standard sun jdk/jvm 1.6 update 3 (downloaded from java.sun.com). I'm
installing a fresh version of eclipse (downloaded the latest version) and
creating a new project. The log file is amazingly empty. The complete
contents are:


!SESSION 2008-03-10 23:46:11.015
-----------------------------------------------
eclipse.buildId=M20080221-1800
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 4 4 2008-03-10 23:48:13.890
!MESSAGE Invalid preference page path: Cache



When eclipse crashes, it just disappears, with no warning or error dialog
whatsoever. Sometimes the .log file will not even contain the "Invalid
preference page path" message.

Thanks for the help.
Re: Eclipse crashes when adding jars to project [message #251236 is a reply to message #251212] Tue, 11 March 2008 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Simon a écrit :
> When eclipse crashes, it just completely shuts down. There is no trace
> of it.
So you should have a VM dump somewhere on your disk. Check the folder
when you have your eclipse executable.
Inside the VM dump, you might have a better clue why the VM aborted.

Could be a JIT bug. Could be a SWT bug.

HTH,
Olivier
Re: Eclipse crashes when adding jars to project [message #251249 is a reply to message #251236] Tue, 11 March 2008 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Oliver,
What would a VM dump look like? I'm looking in my eclipse installation
folder (C:\Program Files\eclipse) and I don't see anything out of the
ordinary.


Olivier Thomann wrote:

> Simon a écrit :
>> When eclipse crashes, it just completely shuts down. There is no trace
>> of it.
> So you should have a VM dump somewhere on your disk. Check the folder
> when you have your eclipse executable.
> Inside the VM dump, you might have a better clue why the VM aborted.

> Could be a JIT bug. Could be a SWT bug.

> HTH,
> Olivier
Re: Eclipse crashes when adding jars to project [message #251253 is a reply to message #251249] Tue, 11 March 2008 12:44 Go to previous messageGo to next message
Eclipse UserFriend
Simon a écrit :
> Oliver,
> What would a VM dump look like? I'm looking in my eclipse installation
> folder (C:\Program Files\eclipse) and I don't see anything out of the
> ordinary.
What VM are you using ?
--
Olivier
Re: Eclipse crashes when adding jars to project [message #251328 is a reply to message #251253] Tue, 11 March 2008 23:01 Go to previous messageGo to next message
Eclipse UserFriend
I'm using the standard sun jvm, version 1.6 update 3

Olivier Thomann wrote:

> Simon a écrit :
>> Oliver,
>> What would a VM dump look like? I'm looking in my eclipse installation
>> folder (C:Program Fileseclipse) and I don't see anything out of the
>> ordinary.
> What VM are you using ?
> --
> Olivier
Re: Eclipse crashes when adding jars to project [message #251388 is a reply to message #251249] Wed, 12 March 2008 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Simon wrote:
> Oliver,
> What would a VM dump look like? I'm looking in my eclipse installation
> folder (C:\Program Files\eclipse) and I don't see anything out of the
> ordinary.

It might be on your desktop, or in your user directory (typically
something like C:\Documents and Settings\<username>), or it might be in
the directory from which Eclipse is launched. I forget the extension
that is used, or I'd just tell you to search for that.

Finally, how are you launching Eclipse? Can you post the batch/command
script you use and the contents of your eclipse.ini file? Have you
specified the JVM that Eclipse should use, as in
http://wiki.eclipse.org/Eclipse.ini ?

Eric



> Olivier Thomann wrote:
>
>> Simon a écrit :
>>> When eclipse crashes, it just completely shuts down. There is no
>>> trace of it.
>> So you should have a VM dump somewhere on your disk. Check the folder
>> when you have your eclipse executable.
>> Inside the VM dump, you might have a better clue why the VM aborted.
>
>> Could be a JIT bug. Could be a SWT bug.
>
>> HTH,
>> Olivier
>
>
Re: Eclipse crashes when adding jars to project [message #251402 is a reply to message #251388] Wed, 12 March 2008 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:



> It might be on your desktop, or in your user directory (typically
> something like C:Documents and Settings<username>), or it might be in
> the directory from which Eclipse is launched. I forget the extension
> that is used, or I'd just tell you to search for that.

Eric,
I didn't find anything in My Documents, my desktop, or my user directory
that looked like a JVM dump. However, I'm not sure what I'm looking for
exactly...

> Finally, how are you launching Eclipse? Can you post the batch/command
> script you use and the contents of your eclipse.ini file? Have you
> specified the JVM that Eclipse should use, as in
> http://wiki.eclipse.org/Eclipse.ini ?

I'm launching eclipse using a shortcut that has a target of:
"C:\Program Files\eclipse3.3\eclipse\eclipse.exe" -vm "C:\Program
Files\Java\jdk1.6.0_04\bin"

I've been able to reproduce the problem when pointing to jdk1.6.0_03 as
well as jdk1.5.0_13.

My eclipse.ini file is as follows:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m


Thanks for the help,
-Simon-
Re: Eclipse crashes when adding jars to project [message #251435 is a reply to message #251402] Wed, 12 March 2008 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Simon" <archangel269@hotmail.com> wrote in message
news:9f56b5d3ec554d9ac9dd2965a1c72ddb$1@www.eclipse.org...
> I'm launching eclipse using a shortcut that has a target of:
> "C:\Program Files\eclipse3.3\eclipse\eclipse.exe" -vm "C:\Program
> Files\Java\jdk1.6.0_04\bin"


I think you need to specify the actual VM executable, not just the
directory. At least that's how it's done in the eclipse.ini file that Eric
pointed to:

> Finally, how are you launching Eclipse? Can you post the batch/command
> script you use and the contents of your eclipse.ini file? Have you
> specified the JVM that Eclipse should use, as in
> http://wiki.eclipse.org/Eclipse.ini ?
Re: Eclipse crashes when adding jars to project [message #251439 is a reply to message #251435] Wed, 12 March 2008 12:18 Go to previous message
Eclipse UserFriend
Walter Harley a écrit :
> I think you need to specify the actual VM executable, not just the
> directory. At least that's how it's done in the eclipse.ini file that Eric
> pointed to:
Once Eclipse has started, you might want to check the VM used by going to:
Help>About Eclipse SDK>Configuration details.
--
Olivier
Previous Topic:Callisto Discovery Site -- Enabling Features?
Next Topic:Eclipse 3.3.2: installing Perl-EPIC
Goto Forum:
  


Current Time: Fri May 02 16:18:25 EDT 2025

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

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

Back to the top