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.

36 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
  4. pleasure to find such a good artical! please keep update!! ........................................

    ReplyDelete
  5. 成功是一把梯子,雙手插在口袋裡是爬不上去的。..................................................

    ReplyDelete
  6. 與其爭取不可能得到的東西,不如善自珍惜運用自己所擁有的........................................

    ReplyDelete
  7. good~ keep sharing with us, please....I will waiting your up date everyday!! Have a nice day........................................

    ReplyDelete
  8. 沒有一件事情是好的或壞的,是想法改變了一切。 ..................................................

    ReplyDelete
  9. 一時的錯誤不算什麼,錯而不改才是一生中永遠且最大的錯誤............................................................

    ReplyDelete
  10. 一時的錯誤不算什麼,錯而不改才是一生中永遠且最大的錯誤............................................................

    ReplyDelete
  11. 愛,拆開來是心和受兩個字。用心去接受對方的一切,用心去愛對方的所有。......................................................................

    ReplyDelete
  12. 唯有用熱情、用智慧去觀察事物,這事物才會把他的秘密,洩漏給我們......................................................................

    ReplyDelete
  13. 如果成為一支火柴,也要點亮一個短暫的宇宙;如果是一隻烏鴉,也要叫疼閉塞的耳膜。............................. ...................................

    ReplyDelete

Labels