[jbosstools-issues] [JBoss JIRA] (JBIDE-13654) org.eclipse.core.internal.resources.ResourceException performing Quick Fix from Teiid Designer tooling

Barry LaFond (JIRA) jira-events at lists.jboss.org
Fri Apr 26 14:30:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770471#comment-12770471 ] 

Barry LaFond commented on JBIDE-13654:
--------------------------------------

Daniel,

We're not set-up to build/test with JBT code-base.  From what I understand looking at your code, if no "type" was set it would have been an issue.

I also tried to reproduce the set-up so I could create a project zip for you to test with but I can't reproduce the exception.

Your FIX seems to make sense, so hopefully it'll prevent this from happening in the future. I'd go ahead and pull the fix and resolve this issue.

Barry


                
> org.eclipse.core.internal.resources.ResourceException performing Quick Fix from Teiid Designer tooling
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13654
>                 URL: https://issues.jboss.org/browse/JBIDE-13654
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>            Reporter: Barry LaFond
>            Assignee: Daniel Azarov
>             Fix For: 4.1.0.Beta1
>
>
> Developing a Quick Fix (org.eclipse.ui.ide.markerResolution extension point) for upcoming Teiid Designer 8.1 release.
> After performing Quick fix successfully, the following exception is thrown from org.jboss.tools.common.ui.Marker class as the wizard is tearing down (deactivating).
> org.eclipse.core.internal.resources.ResourceException: Marker id 89 not found.
> 	at org.eclipse.core.internal.resources.Marker.checkInfo(Marker.java:57)
> 	at org.eclipse.core.internal.resources.Marker.getType(Marker.java:195)
> 	at org.jboss.tools.common.ui.marker.ConfigureProblemSeverityResolutionGenerator.getProblemType(ConfigureProblemSeverityResolutionGenerator.java:140)
> 	at org.jboss.tools.common.ui.marker.ConfigureProblemSeverityResolutionGenerator.hasResolutions(ConfigureProblemSeverityResolutionGenerator.java:124)
> 	at org.eclipse.ui.internal.ide.registry.MarkerHelpRegistry.hasResolution(MarkerHelpRegistry.java:191)
> 	at org.eclipse.ui.internal.ide.registry.MarkerHelpRegistry.hasResolutions(MarkerHelpRegistry.java:160)
> 	at org.eclipse.ui.internal.views.markers.QuickFixPropertyTester.test(QuickFixPropertyTester.java:39)
> 	at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
> 	at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
> 	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> 	at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
> 	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
> 	at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
> 	at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:93)
> 	at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:130)
> 	at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:124)
> 	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
> 	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:318)
> 	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:332)
> 	at org.eclipse.e4.core.internal.contexts.EclipseContext.activate(EclipseContext.java:630)
> 	at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener$3.run(ShellActivationListener.java:153)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener.deactivate(ShellActivationListener.java:145)
> 	at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener.access$0(ShellActivationListener.java:131)
> 	at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener$4.widgetDisposed(ShellActivationListener.java:197)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1281)
> 	at org.eclipse.swt.widgets.Widget.release(Widget.java:1098)
> 	at org.eclipse.swt.widgets.Control.release(Control.java:3529)
> 	at org.eclipse.swt.widgets.Widget.dispose(Widget.java:476)
> 	at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2307)
> 	at org.eclipse.jface.window.Window.close(Window.java:335)
> 	at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:979)
> 	at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog.java:892)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:835)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> 	at org.eclipse.jface.window.Window.open(Window.java:801)
> 	at org.eclipse.ui.internal.views.markers.QuickFixHandler.execute(QuickFixHandler.java:165)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
> 	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> 	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)
> 	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)
> 	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
> 	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:814)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:707)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:691)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:630)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list