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

本文介绍了当遇到C++test启动失败并提示错误信息时的解决方案。通过使用命令行方式启动,并添加-clean参数,可以有效解决该问题。
当双击桌面的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.

转载于:https://www.cnblogs.com/kwang-cai/p/5485166.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值