Friday, April 3, 2009

Possible Fix - Bug 137822 - Part I

Shelley works on the bug - 137822 and log all detailed information about the bug via her blog http://xiajunshi.wordpress.com/
I saw her last post yesterday and she was very close to fix the bug so I think it is time to give her a hand

Her recent investigations are very specific and accurate. It saves me a lot time to look the bug all over again and she points out the exact location where I need to start.

Here is the possible solution to the Bug - 137822 (Wait for Shelley's confirmation)

Before I go into the solution, let me describe what causes this bug.

If I have a Server in the "Servers View" tab, I need to initialize the ILaunchConfigurationWorkingCopy before I run a New_configuration, in Apache Tomcat, Run Configurations. The problem is that the ServerLaunchConfigurationTab class does not set up ILaunchConfigurationWorkingCopy wc from the void initializeFrom(ILaunchConfiguration configuration) method before calling the void handleServerSelection().

Solution of the Bug

In the public void initializeFrom(ILaunchConfiguration configuration) method, org.eclipse.wst.server.ui.ServerLaunchConfiguration Class, sets the ILaunchConfigurationWorkingCopy (Detail - See Screenshot below)




Shelley, please confirm the fix.

3 comments:

  1. Hi, Le.

    Wonderful!

    Hi, Shelley, please post up a summary of
    your findings as a comment to Bugzilla. (You may
    type up the summary and attach it to the Bug
    Report.) Then Le may post up his solution to
    Bugzilla after he's got confirmation from you.

    Peter.

    ReplyDelete
  2. Hi Li, Shelley,

    Shelley - We received your findings by email. (April 4, 2009, 9:15 P.M.)

    Please post them in your blog.
    Le, could you please take a look at Shelley's findings? If everything is fine, publish your work at Bugzilla.

    Thanks,
    Jordan

    ReplyDelete
  3. Hi Le,

    GREAT job with unfolding the problems with 2 of the major bugs that our classmates have been working on.

    This has been a great contribution to the happy ending of the course : )

    All the best,
    Davoud

    ReplyDelete

Labels