[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8502) Cancel button doesn't work while searching via JBoss Tools Runtime Detection
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Tue May 24 17:27:01 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604080#comment-12604080 ]
Andre Dietisheim commented on JBIDE-8502:
-----------------------------------------
I spotted the following stacktrace when I hit cancel:
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.jboss.tools.runtime.ui.RuntimeUIActivator.refreshRuntimes(RuntimeUIActivator.java:222)
at org.jboss.tools.runtime.ui.preferences.RuntimePreferencePage$5.widgetSelected(RuntimePreferencePage.java:381)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3586)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
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.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
at org.jboss.tools.runtime.ui.RuntimeUIActivator.refreshPreferencePage(RuntimeUIActivator.java:274)
at org.jboss.tools.runtime.ui.dialogs.SearchRuntimePathDialog$4.run(SearchRuntimePathDialog.java:263)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3210)
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.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3586)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:193)
at org.jboss.ide.eclipse.as.core.server.bean.ServerBeanLoader.getFullServerVersion(ServerBeanLoader.java:81)
at org.jboss.ide.eclipse.as.core.server.bean.ServerBeanLoader.loadFromLocation(ServerBeanLoader.java:31)
at org.jboss.tools.runtime.handlers.JBossASHandler.getServerDefinition(JBossASHandler.java:375)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:62)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:42)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:36)
at org.jboss.tools.runtime.ui.RuntimeUIActivator$1.run(RuntimeUIActivator.java:210)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Root exception:
java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:193)
at org.jboss.ide.eclipse.as.core.server.bean.ServerBeanLoader.getFullServerVersion(ServerBeanLoader.java:81)
at org.jboss.ide.eclipse.as.core.server.bean.ServerBeanLoader.loadFromLocation(ServerBeanLoader.java:31)
at org.jboss.tools.runtime.handlers.JBossASHandler.getServerDefinition(JBossASHandler.java:375)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:62)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:90)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:42)
at org.jboss.tools.runtime.core.JBossRuntimeLocator.searchForRuntimes(JBossRuntimeLocator.java:36)
at org.jboss.tools.runtime.ui.RuntimeUIActivator$1.run(RuntimeUIActivator.java:210)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Cancel button doesn't work while searching via JBoss Tools Runtime Detection
> ----------------------------------------------------------------------------
>
> Key: JBIDE-8502
> URL: https://issues.jboss.org/browse/JBIDE-8502
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtimes
> Affects Versions: 3.2.0.Final
> Environment: JBDS 4.0.0.GA H180, OSX 10.5, 64 bit
> Reporter: Jiri Peterka
> Assignee: Snjezana Peco
> Fix For: 3.3.0.M1
>
>
> Steps:
> 1. Preferences -> Jboss Tools Runtime Detection
> 2. Add some higher folder (~ for example)
> 3. Try to cancel searching operation via Cancel button
> ERROR: Unable to cancel
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list