首页 > 编程语言 > 详细

启动C++test时报错“an error has occurred, null”

时间:2016-05-13 08:36:39      阅读:398      评论:0      收藏:0      [点我收藏+]
当双击桌面的C++test图标时,弹出错误:“an error has occurred,please check the log file, null”
 
解决方式如下图所示:
 
通过命令行方式启动C++test,并且添加必要的参数选项”-clean”,如下图示:
 
技术分享
 
 
参考资料:

I am currently using Eclipse Indigo Service Release 1 and out of a sudden received a strange error message when trying to open my workspace, or in fact any workspace:

An error has occurred. See the log file [WORKSPACE-DIR]/.metadata/.log.

Inspecting the log file, it seems that this behaviour was caused by an OutOfMemoryError error in a subpackage of org.eclipse.core which is somewhat strange, as I have plenty of memory available for the VM. A Google search for the error, suggested to invoke Eclipse via the command line with the -clean option:

eclipse/dir> eclipse -clean 

Eclipse successfully started again and subsequently also without the -clean option. However, an interesting message was writen into the log file:

!MESSAGE The -clean (osgi.clean) option was not successful. Unable to clean the storage area: C:\eclipse-dir\eclipse\configuration\org.eclipse.osgi.

 
Nevertheless, Eclipse is working fine again and I am not experiencing any problems while programming, so I guess that inspite of the log message, the -clean option works.

启动C++test时报错“an error has occurred, null”

原文:http://www.cnblogs.com/kwang-cai/p/5485166.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!