Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2090

Avoid ResourceException when checking for Problem decorator and underlying resource has been deleted

XMLWordPrintable

      1. don't know, it appears sometimes in log of tests

      !ENTRY org.fusesource.ide.project 4 4 2016-09-09 06:53:41.131
      !MESSAGE Resource '/FuseIntegrationProjectCreatorRunnableForEAPSpringIT-EAPSpringProject-2.17.3/src/main/webapp/META-INF/jboss-camel-context.xml' does not exist.
      !STACK 1
      org.eclipse.core.internal.resources.ResourceException: Resource '/FuseIntegrationProjectCreatorRunnableForEAPSpringIT-EAPSpringProject-2.17.3/src/main/webapp/META-INF/jboss-camel-context.xml' does not exist.
      	at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:334)
      	at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:208)
      	at org.eclipse.core.internal.resources.Resource.findMarkers(Resource.java:1007)
      	at org.fusesource.ide.project.decorator.CamelProblemDecorator.getFuseMarkers(CamelProblemDecorator.java:74)
      	at org.fusesource.ide.project.decorator.CamelProblemDecorator.decorationForCamelModelElement(CamelProblemDecorator.java:54)
      	at org.fusesource.ide.project.decorator.CamelProblemDecorator.decorate(CamelProblemDecorator.java:44)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:273)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:83)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:367)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:349)
      	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:372)
      	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:332)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

              apupier@redhat.com Aurélien Pupier
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: