An internal error occurred during: "Setup check". java.lang.NullPointerException

來源:互聯網
上載者:User

標籤:updating   error:   point   點擊   視窗   檔案夾   occurred   ima   down   


在Eclipse的workspace下有個.metadata檔案夾,Eclipse出現異常的log檔案就在這個目錄下。

     最近出現了這樣的錯誤:

查看記錄檔發現:
     !ENTRY org.eclipse.core.jobs 4 2 2011-08-03 09:33:32.843
!MESSAGE An internal error occurred during: "Updating indexes".
     !STACK 0
Java.lang.OutOfMemoryError: Java heap space


【解決辦法】
      windows---preference---maven----取消勾選的Download repository index updates on startup


多種情況會導致這種報錯。通過【重設視窗布局】,可解決大部分情況:


點擊菜單導覽列的windows > perspective > reset perspective


(網上主流方案是刪除一個設定檔夾,會對原有項目有影響,建議:如果【重設視窗布局】無效,再嘗試那個方案。


網上另一種說法JDK的問題,這種機率不大,檢查eclipse全域屬性中的Installed JRE是否引用了不存在的JDK)

An internal error occurred during: "Setup check". java.lang.NullPointerException

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.