艱辛的aptana外掛程式安裝之路(續)–成功解決myeclipse不能啟動和報java.lang.NullPointerException的問題

來源:互聯網
上載者:User

如若轉載請說明出處! http://blog.csdn.net/xukunddp     

 

      上一篇寫部落格時很沮喪,雖知道安裝aptana的步驟,但結果並不如意,使用aptana還存在一些問題,而這些問題也是網上很多人沒有解決的。第一個問題是每次開啟都不能啟動myeclipse,非要在每次開啟前刪除C:/Program Files/MyEclipse 6.0/eclipse/configuration目錄下的org.eclipse.update或者org.eclipse.osgi檔案夾才能“苟且偷生”開啟myeclipse。第二個問題是開啟myeclipse後總是彈出對話方塊報java.lang.NullPointerException錯誤。今天我終於搞定了這兩個棘手的問題,方案如下:

 

1 解決不能啟動myeclipse的問題
      上篇文章提到,我是沒有手動link安裝成功才被迫線上安裝的,把aptana.link檔案和aptana檔案夾刪掉後,開始線上安裝,裝好後就出現不能啟動myeclipse的問題。好,現在在你線上安裝後,馬上把原來的aptana.link檔案和aptana檔案夾再重新設定一次,你就能“正大光明”的啟動myeclipse了。

 

2 解決開啟後報錯java.lang.NullPointerException的問題
      開啟後彈出對話方塊報錯java.lang.NullPointerException,點擊details,他報錯:

 

java.lang.NullPointerException
at com.aptana.ide.xul.FirefoxBrowser.createControl(FirefoxBrowser.java:314)
at com.aptana.ide.server.portal.ui.MyAptanaEditor.createPartControl(MyAptanaEditor.java:261)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
...........省略.............

      這時,雖我已經安裝了firefox,但還是要選擇windows->Preferences->My Aptana/Message Center-> "Use Firefox as the Aptana Home Page Browser",去掉勾子就解決了,My Aptana的廬山真面目就欣賞到了,但別忘了,試用期只有30天,請及時儲值哦。

相關關鍵詞:
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.