Bug 197648 - CoreException at org.eclipse.core.internal.resources.Workspace.shutdown
Summary: CoreException at org.eclipse.core.internal.resources.Workspace.shutdown
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-07-24 10:32 EDT by Francesco Latino CLA
Modified: 2007-12-13 08:49 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Latino CLA 2007-07-24 10:32:13 EDT
Build ID: Release 3.1.2

Steps To Reproduce:
1.Run Eclipse as follow
java
    -Xms40m     -Xmx900m     -classpath "%TIO_HOME%\eclipse\startup.jar" org.eclipse.core.launcher.Main 
    -launcher "%TIO_HOME%\eclipse" 
    -name Eclipse 
    -noSplash -application launcher.CliLauncher 
    <Operation_to_be_performed>

<Operation_to_be_performed>: I will provide more details on this.

2. Got this exception
!ENTRY org.eclipse.osgi 2007-06-27 12:48:17.72
!MESSAGE Error while stopping "org.eclipse.core.resources_3.1.2".
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.stop() of bundle org.eclipse.core.resources.
...
...

More information:
full stack error:
***********************************************
!ENTRY org.eclipse.osgi 2007-06-27 12:48:17.72
!MESSAGE Error while stopping "org.eclipse.core.resources_3.1.2".
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.stop() of bundle org.eclipse.core.resources.
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1051)
        at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:397)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:408)
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java(Compiled Code))
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:72)
        at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:766)
        at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:528)
        at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:171)
        at java.lang.Thread.run(Thread.java:570)
Caused by: org.eclipse.core.runtime.CoreException: Problem on shutdown.
        at org.eclipse.core.internal.resources.Workspace.shutdown(Workspace.java:1841)
        at org.eclipse.core.internal.resources.Workspace.close(Workspace.java:345)
        at org.eclipse.core.resources.ResourcesPlugin.shutdown(ResourcesPlugin.java:335)
        at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:41)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java:351)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
        ... 8 more
Root exception:
org.eclipse.core.runtime.CoreException: Problem on shutdown.
        at org.eclipse.core.internal.resources.Workspace.shutdown(Workspace.java:1841)
        at org.eclipse.core.internal.resources.Workspace.close(Workspace.java:345)
        at org.eclipse.core.resources.ResourcesPlugin.shutdown(ResourcesPlugin.java:335)
        at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:41)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java:351)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
        at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:397)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:408)
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java(Compiled Code))
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:72)
        at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:766)
        at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:528)
        at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:171)
        at java.lang.Thread.run(Thread.java:570)
Press any key to continue . . .
Comment 1 Francesco Latino CLA 2007-07-24 10:33:24 EDT
Please contact me so that I can provide more details on this
Comment 2 Thomas Watson CLA 2007-07-24 11:03:20 EDT
Reassigning to resources because the exception is comming from the org.eclipse.core.resources bundle.  Do you know if this happens on a more recent version of Eclipse (3.2, 3.3)?
Comment 3 Francesco Latino CLA 2007-07-25 06:16:25 EDT
Hello Thomas,
I added you to an email thread since I would ask you
if you can work with my IBM colleagues (TPM developers).

I think you could collect the needed information from this mail thread and
we can then work on this Bug.
Thanks.
Comment 4 Thomas Watson CLA 2007-07-25 09:58:02 EDT
I am not the owner of the resources bundle and I am not familiar with the code.  I fowarded your mail to John Arthorne.
Comment 5 John Arthorne CLA 2007-07-25 22:46:37 EDT
There seems to be information missing in the log. The "problems on shutdown" message is just a wrapper for another underlying exception, but I'm not seeing the underlying exception in the log.  It seems to be truncated (the line saying "... 8 more"). Can you provide the entire log file is available?
Comment 6 Francesco Latino CLA 2007-08-10 04:43:02 EDT
Hello John,
This is the full log trace we had.
Do you need soemthing more detailed ?
Do you agree on work on the mail thread and periodically update this bug report ?
(see my mail in the mail thread)
Thanks,
Francesco
**********************************************************

org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.stop() of bundle org.eclipse.core.resources.
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1051)
        at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:397)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:408)
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java(Compiled Code))
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:72)
        at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:766)
        at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:528)
        at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:171)
        at java.lang.Thread.run(Thread.java:570)
Caused by: org.eclipse.core.runtime.CoreException: Problem on shutdown.
        at org.eclipse.core.internal.resources.Workspace.shutdown(Workspace.java:1841)
        at org.eclipse.core.internal.resources.Workspace.close(Workspace.java:345)
        at org.eclipse.core.resources.ResourcesPlugin.shutdown(ResourcesPlugin.java:335)
        at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:41)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java:351)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
        ... 8 more
Root exception:
org.eclipse.core.runtime.CoreException: Problem on shutdown.
        at org.eclipse.core.internal.resources.Workspace.shutdown(Workspace.java:1841)
        at org.eclipse.core.internal.resources.Workspace.close(Workspace.java:345)
        at org.eclipse.core.resources.ResourcesPlugin.shutdown(ResourcesPlugin.java:335)
        at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:41)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java:351)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
        at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:397)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:408)
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java(Compiled Code))
        at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:72)
        at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:766)
        at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:528)
        at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:171)
        at java.lang.Thread.run(Thread.java:570)
Press any key to continue . . .
Comment 7 John Arthorne CLA 2007-08-14 10:32:05 EDT
I sent this comment in an email, but should have written it here:

This is the same stack trace that is already in the bug report, so it doesn't give me any more information.  Do you have the actual .log file from the customer's workspace? The stack trace below seems incomplete so I would like to see if there is more information in the log (in a path like workspace/.metadata/.log). Just to be clear, the customer isn't seeing any other symptoms or problems - they just want to know what the exception in the log means? The "-debug" argument won't provide any more details in this case.
Comment 8 Szymon Brandys CLA 2007-12-13 08:27:54 EST
I can just agree with John that this bug report is incomplete. If this is not an issue any more, just let us know. Thanks.
Comment 9 Francesco Latino CLA 2007-12-13 08:40:44 EST
customer is no more interested and we cannot continue the investigation.
could you please close this issue ?

Many thanks all for your work,
Francesco
Comment 10 Szymon Brandys CLA 2007-12-13 08:49:44 EST
Thank you Francesco.