Community
Participate
Working Groups
Build: Callisto 3.2 To produce: 1. Install Sleak (http://studiodev.torolab.ibm.com/cgi-bin/viewcvs.cgi/~checkout~/main-home/information/sleak/sleak.html) 2. Open/Cancel the WS wizard 3. Take a snapshot using Sleak 4. Open/Cancel the WS wizard 5. Diff with Sleak 6. Two Color resource shows up, they are: java.lang.Error at org.eclipse.swt.graphics.Device.new_Object(Device.java:753) at org.eclipse.swt.graphics.Color.<init>(Color.java:80) at org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidget.addControls(ServerWizardWidget.java:430) at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.createControl(SimpleWizardPage.java:50) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1046) at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1038) and java.lang.Error at org.eclipse.swt.graphics.Device.new_Object(Device.java:753) at org.eclipse.swt.graphics.Color.<init>(Color.java:80) at org.eclipse.jst.ws.internal.consumption.ui.widgets.WebServiceClientTypeWidget.addControls(WebServiceClientTypeWidget.java:298) at org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidget.addControls(ServerWizardWidget.java:519) at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.createControl(SimpleWizardPage.java:50) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1046)
Should be easy enough to fix in 1.5.1
Seng, would you please handle this? Thanks - CB.
Same for the preference page.
I don't see any Color objects being used in the Preferences pages of the Web service plugins. Could you provide more information for this? Thanks.
There's one WS preference page that looks exactly like the first page of the WS creation wizard. Fixing the leak in the wizard may also fix the leak in the preference page if they use the same widget.
Created attachment 46818 [details] jst.ws.consumption.ui and jst.ws.creation.ui plugin patch Uses the system colors rather than new Color objects which have to be disposed.
This bug is ready to be picked up. By CC: Peter, if you'd like to review the bug and commit it, that'd be appreciated since you provided me with the solution idea. And you're a committer now! =) Thanks!
Created attachment 46821 [details] consumption.ui and creation.ui plugin patch Added the header information with bug# etc.
This patch has been reviewed and committed.
Released to HEAD and R1_5_maintenance as v200607270039. This will be in the 07/28 WTP 1.5.1 M-build.
Verified.
Close.