[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6663) Exception in org.jboss.tools.modeshape.rest

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Tue Jul 20 11:47:53 EDT 2010


Exception in org.jboss.tools.modeshape.rest
-------------------------------------------

                 Key: JBIDE-6663
                 URL: https://jira.jboss.org/browse/JBIDE-6663
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: modeshape
    Affects Versions: 3.2.x
            Reporter: Snjezana Peco


Steps to reproduce:

- create some project (it doesn't have to be a Java project)
- delete it
You will get the following exception:


!ENTRY org.jboss.tools.modeshape.rest 4 0 2010-07-20 17:33:10.578
!MESSAGE Error obtaining the "published" property from the resource "L/test/.project"
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource '/test/.project' does not exist.
	at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326)
	at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200)
	at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:206)
	at org.eclipse.core.internal.resources.Resource.getPersistentProperty(Resource.java:1178)
	at org.jboss.tools.modeshape.rest.PublishedResourceHelper.getPublishedOnWorkspaces(PublishedResourceHelper.java:134)
	at org.jboss.tools.modeshape.rest.PublishedResourceHelper.isPublished(PublishedResourceHelper.java:193)
	at org.jboss.tools.modeshape.rest.views.ModeShapeContentProvider.decorate(ModeShapeContentProvider.java:147)
	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:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.core.resources 4 368 2010-07-20 17:33:10.578
!MESSAGE Resource '/test/.project' does not exist.

ModeShapeContentProvider.decorate() should check if the ""element" resource exists.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list