Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352730 - Error finding repository mapping with a non-local resource
Summary: Error finding repository mapping with a non-local resource
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 07:58 EDT by Robert Munteanu CLA
Modified: 2011-07-22 06:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Munteanu CLA 2011-07-21 07:58:06 EDT
What steps will reproduce the problem?
1.  Have  resource inside the project which is non-local

The folder does not actually exist on disk and is contributed by a plugin ( http://toadextensions.com/index.jspa?product=eclipse ).


-- Error Details --
Date: Thu Jul 21 14:50:58 EEST 2011
Message: Failed finding RepositoryMapping
Severity: Error
Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.egit.core
Session Data:
eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Exception Stack Trace:
org.eclipse.core.internal.resources.ResourceException: Resource '/projectdotnet/sql' is not local.
	at org.eclipse.core.internal.resources.Resource.checkLocal(Resource.java:332)
	at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:201)
	at org.eclipse.core.internal.resources.Resource.getSessionProperty(Resource.java:1242)
	at org.eclipse.egit.core.project.GitProjectData.getRepositoryMapping(GitProjectData.java:330)
	at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:227)
	at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:229)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

-- Error Details --
Date: Thu Jul 21 14:50:58 EEST 2011
Message: Resource '/XXX/sql' is not local.
Severity: Error
Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.core.resources
Comment 1 Robert Munteanu CLA 2011-07-21 14:03:40 EDT
Sorry, this should've been EGit/Core.