![](/img/trans.png)
[英]Eclipse - JUnit - An internal error occurred during: “Launching MyMavenModule”. NullPointerException
[英]Internal error when doing JUnit with Eclipse
當我嘗試使用Eclipse Indigo IDE(在Ubuntu 10.10上)進行JUnit測試時,在彈出窗口中顯示此錯誤:
An internal error has occurred.
org.eclipse.ui.internal.ErrorViewPart cannot be cast to org.eclipse.ui.console.IConsoleView
盡管JUnit測試沒有問題,但錯誤只會出現。 有什么辦法解決這個問題?
您可能想看一下workspace / .metadata / .logs或configuration / .log文件。 如果這些都不是確定性的,則最好重新啟動Eclipse並查看其工作原理。 如果問題仍然存在,並且您從日志中獲得了一些線索,那么這只是解決之道。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.