[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] [Fwd: Re: some errors occur from time to time when build STP using Buckminster]

From: Thomas Hallgren <thomas_at_tada.se>
Date: Thu, 10 Jan 2008 15:32:27 +0100

Perhaps that would work. But calling start/stop is the responsibility of
the OSGi framework. There must be some other mechanism that controls
this (I don't seem to recall ever getting this error from the IDE). I'll
CC the platform-team-dev_at_eclipse.org mailing list and see if anyone
there can shed some light on this.

- thomas

Mark Phippard wrote:
> Not sure. Is it possible to call the stop() method on the plugin and
> have it just shut it stuff down?
>
> Mark
>
>
> On Jan 10, 2008 9:20 AM, Thomas Hallgren <thomas_at_tada.se> wrote:
>
>> Do you know if there's something that we can do to prevent this from
>> happening? Is there some way to shut down the SubscriberChangeSetManager
>> before the workspace plugin is stopped?
>>
>> - thomas
>>
>>
>> Mark Phippard wrote:
>>
>>> This is the method:
>>>
>>> protected byte[] internalGetCachedSyncBytes(IResource resource)
>>> throws SVNException {
>>> try {
>>> return ResourcesPlugin.getWorkspace().getSynchronizer().getSyncInfo(StatusCacheManager.SVN_BC_SYNC_KEY,
>>> resource);
>>> } catch (CoreException e) {
>>> throw SVNException.wrapException(e);
>>> }
>>> }
>>>
>>>
>>> My guess would be that getWorkspace() is returning null because the
>>> workspace is shutting down.
>>>
>>>
>>>
>>>
>>>
>>> On Jan 10, 2008 2:33 AM, Thomas Hallgren <thomas_at_tada.se> wrote:
>>>
>>>
>>>> Hi,
>>>> Alex gets a NPE just before a headless Eclipse invocation is shutting down (see email below). This
>>>> happens on a Linux machine. Any ideas?
>>>>
>>>> Regards,
>>>> Thomas Hallgren
>>>>
>>>>
>>>> -------- Original Message --------
>>>> Subject: Re: some errors occur from time to time when build STP using Buckminster
>>>> Date: Thu, 10 Jan 2008 11:18:10 +0800
>>>> From: Alex Chen <alex.chen_at_iona.com>
>>>> Organization: EclipseCorner
>>>> To: Thomas Hallgren <thomas_at_tada.se>
>>>> Newsgroups: eclipse.technology.buckminster
>>>> References: <flkuh4$7k8$1_at_build.eclipse.org> <477E43C0.9010902_at_tada.se> <4781E074.8040409_at_iona.com>
>>>> <4782F178.9010606_at_iona.com> <4783E91D.30502_at_tada.se> <47848270.80306_at_iona.com>
>>>> <47849CB9.9060304_at_tada.se> <4784F016.7070403_at_tada.se>
>>>>
>>>> Hi Thomas,
>>>>
>>>> During build STP use Buckminster 0.3.0, I got exception intermittent below:
>>>>
>>>> [java] INFO: Query complete.
>>>> [java] ERROR: An internal error occurred during: "Updating Change
>>>> Sets for SVNStatusSubscriber".
>>>> [java] java.lang.NullPointerException
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache$SyncInfoSynchronizedAccessor.internalGetCachedSyncBytes(SynchronizerSyncInfoCache.java:215)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache.getCachedSyncBytes(SynchronizerSyncInfoCache.java:107)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache.hasCachedStatus(SynchronizerSyncInfoCache.java:44)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.status.StatusCacheManager.hasCachedStatus(StatusCacheManager.java:80)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isParentInSvnIgnore(LocalResource.java:153)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:112)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:137)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:137)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:137)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:137)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:137)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:137)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.isSupervised(SVNWorkspaceSubscriber.java:122)
>>>> [java] at
>>>> org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.getSyncInfo(SVNWorkspaceSubscriber.java:171)
>>>> [java] at
>>>> org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscriber.java:370)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager.getDiff(SubscriberChangeSetManager.java:302)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:183)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.handleChange(SubscriberChangeSetManager.java:206)
>>>> [java] at
>>>> org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$EventHandler.doDispatchEvents(SubscriberChangeSetManager.java:80)
>>>> [java] at
>>>> org.eclipse.team.internal.core.BackgroundEventHandler.dispatchEvents(BackgroundEventHandler.java:394)
>>>> [java] at
>>>> org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(BackgroundEventHandler.java:374)
>>>> [java] at
>>>> org.eclipse.team.internal.core.BackgroundEventHandler$1.run(BackgroundEventHandler.java:203)
>>>> [java] at
>>>> org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>> Thanks,
>>>> --Alex
>>>>
>>>>
>>>>
>>>> Thomas Hallgren wrote:
>>>>
>>>>
>>>>> Thomas Hallgren wrote:
>>>>>
>>>>>
>>>>>> Alex Chen wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> One thing I noticed that the headless product of Buckminster now
>>>>>>> contains a directory named "eclipse" when unzipped, which I wonder
>>>>>>> any functions here?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> That's odd. I did upload a version that looked like that but I
>>>>>> replaced it with a correct one. I'll recheck...
>>>>>>
>>>>>>
>>>>>>
>>>>> OK, I had made a mistake. Use this one instead:
>>>>>
>>>>> http://download.eclipse.org/technology/buckminster/0.3milestones/products/buckminster.product-0.3.0.r07406_incubation.zip
>>>>>
>>>>>
>>>>> - thomas
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
>>>> For additional commands, e-mail: dev-help_at_subclipse.tigris.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
>> For additional commands, e-mail: dev-help_at_subclipse.tigris.org
>>
>>
>>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-01-10 15:33:15 CET

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.