[JBoss JIRA] Created: (JBIDE-6749) org.guvnor.tools.Activator adds ResourceChangeListener, but doesn't remove it
by Snjezana Peco (JIRA)
org.guvnor.tools.Activator adds ResourceChangeListener, but doesn't remove it
-----------------------------------------------------------------------------
Key: JBIDE-6749
URL: https://jira.jboss.org/browse/JBIDE-6749
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.2.0.M1
Reporter: Snjezana Peco
Assignee: Kris Verlaenen
The following exception happens sometimes when exiting Eclipse (when running tests that remove projects on exit, for instance):
org.eclipse.swt.SWTException: Device is disposed
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Display.error(Display.java:1249)
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:700)
at org.guvnor.tools.ResourceChangeListener.deleteResources(Unknown Source)
at org.guvnor.tools.ResourceChangeListener.resourceChanged(Unknown Source)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The solution would be to add getWorkspace().removeResourceChangeListener(rcListener) to the Activator.stop() method.
--
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
14 years, 4 months
[JBoss JIRA] Created: (JBIDE-6250) Cannot create ws from wsdl if there are more ports in service's element in wsdl
by Lukas Jungmann (JIRA)
Cannot create ws from wsdl if there are more ports in service's element in wsdl
-------------------------------------------------------------------------------
Key: JBIDE-6250
URL: https://jira.jboss.org/jira/browse/JBIDE-6250
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.1.0.GA
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
-have a dynamic web project
-open new web service wizard
-set the wizard:
1st step:
ws type: top-down
service definition: http://www.webservicex.net/BibleWebservice.asmx?wsdl (or use local copy of this wsdl)
ws runtime: JBossWS
2nd step:
leave default values
hit finish
=>
org.eclipse.core.runtime.CoreException: Failed to Generate Web Service code, please check the log for more details
at org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.getCompilationUnitForInterface(ImplementationClassCreationCommand.java:449)
at org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.generateImplClass(ImplementationClassCreationCommand.java:133)
at org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.execute(ImplementationClassCreationCommand.java:97)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months