当我尝试在Eclipse中运行我的Android应用程序时出现以下错误。但这只发生在同一个工作区中的单个项目中。
JRE version: 7.0_21-b11
Java VM: Java HotSpot(TM) Client VM (23.21-b01 mixed mode windows-x86 )
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
D:\Projects\<AppName>\hs_err_pid5752.log
If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp
我做了什么:
通过阅读帖子,我知道这可能是任何内存错误(硬盘扇区转储错误)。所以,我将我的应用程序从我的工作区移到另一个工作区。
已安装新版本的java等
但他们正在努力。
日志文件中的完整错误:
Java Runtime Environment检测到致命错误:
内部错误(javaClasses.cpp:129),pid = 5024,tid = 920 致命错误:预加载类的布局无效
JRE版本:7.0_21-b11 Java VM:Java HotSpot(TM)客户端VM(23.21-b01混合模式windows-x86) 无法编写核心转储。默认情况下,在Windows的客户端版本
上未启用小型转储如果您想提交错误报告,请访问: http://bugreport.sun.com/bugreport/crash.jsp
--------------- T H R E A D ---------------
当前线程(0x0164b800):JavaThread&#34;未知线程&#34; [_thread_in_vm,id = 920,stack(0x01690000,0x016e0000)]
堆栈:[0x01690000,0x016e0000],sp = 0x016df438,可用空间= 317k 本机帧:(J =已编译的Java代码,j =已解释,Vv = VM代码,C =本机代码) V [jvm.dll + 0x170511] V [jvm.dll + 0x16a6b6] V [jvm.dll + 0x2082f] V [jvm.dll + 0x208b6] V [jvm.dll + 0x2e5dd] V [jvm.dll + 0x2e889] V [jvm.dll + 0x77bd1] V [jvm.dll + 0x77f8b] V [jvm.dll + 0x12a1b1] V [jvm.dll + 0x14ac6a] V [jvm.dll + 0xa9eef] C [javaw.exe + 0x13ca] C [javaw.exe + 0x1e3c] C [javaw.exe + 0xa5b1] C [javaw.exe + 0xa63b] C [kernel32.dll + 0x4ed6c] BaseThreadInitThunk + 0x12 C [ntdll.dll + 0x6377b] RtlInitializeExceptionChain + 0xef C [ntdll.dll + 0x6374e] RtlInitializeExceptionChain + 0xc2
--------------- P R O C E S S ---------------
Java线程:( =&gt;当前线程)
其他主题:
=&gt; 0x0164b800(退出)JavaThread&#34;未知线程&#34; [_thread_in_vm,id = 920,stack(0x01690000,0x016e0000)]
VM状态:不在安全点(未完全初始化)
VM Mutex / Monitor当前由线程拥有:无
GC堆历史记录(0个事件): 没有事件
去优化事件(0个事件): 没有事件
内部例外(0个事件): 没有事件
活动(10个活动): 事件:0.010加载类0x01543e08完成 事件:0.010加载类0x01542238完成 事件:0.010加载类0x01542210 事件:0.010加载类0x0157e1f8 事件:0.010加载类0x0157e1f8完成 事件:0.010加载类0x0157e230 事件:0.010加载类0x0157e230完成 事件:0.010加载类0x01573718 事件:0.010加载类0x01573718完成 事件:0.010加载类0x01542210完成
动态库: 0x00060000 - 0x0008f000 C:\ Program Files \ Java \ jre7 \ bin \ javaw.exe 0x774e0000 - 0x7761c000 C:\ Windows \ SYSTEM32 \ ntdll.dll 0x75ee0000 - 0x75fb4000 C:\ Windows \ system32 \ kernel32.dll 0x75900000 - 0x7594a000 C:\ Windows \ system32 \ KERNELBASE.dll 0x77670000 - 0x77710000 C:\ Windows \ system32 \ ADVAPI32.dll 0x75e10000 - 0x75ebc000 C:\ Windows \ system32 \ msvcrt.dll 0x75c00000 - 0x75c19000 C:\ Windows \ SYSTEM32 \ sechost.dll 0x76ca0000 - 0x76d41000 C:\ Windows \ system32 \ RPCRT4.dll 0x772f0000 - 0x773b9000 C:\ Windows \ system32 \ USER32.dll 0x75dc0000 - 0x75e0e000 C:\ Windows \ system32 \ GDI32.dll 0x77010000 - 0x7701a000 C:\ Windows \ system32 \ LPK.dll 0x76d50000 - 0x76ded000 C:\ Windows \ system32 \ USP10.dll 0x74580000 - 0x7471e000 C:\ Windows \ WinSxS \ x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2 \ COMCTL32.dll 0x76df0000 - 0x76e47000 C:\ Windows \ system32 \ SHLWAPI.dll 0x77650000 - 0x7766f000 C:\ Windows \ system32 \ IMM32.DLL 0x75b30000 - 0x75bfc000 C:\ Windows \ system32 \ MSCTF.dll 0x6b790000 - 0x6b84e000 C:\ Program Files \ Java \ jre7 \ bin \ msvcr100.dll 0x5f390000 - 0x5f6df000 C:\ Program Files \ Java \ jre7 \ bin \ client \ jvm.dll 0x71520000 - 0x71527000 C:\ Windows \ system32 \ WSOCK32.dll 0x771c0000 - 0x771f5000 C:\ Windows \ system32 \ WS2_32.dll 0x75ec0000 - 0x75ec6000 C:\ Windows \ system32 \ NSI.dll 0x738a0000 - 0x738d2000 C:\ Windows \ system32 \ WINMM.dll 0x75ed0000 - 0x75ed5000 C:\ Windows \ system32 \ PSAPI.DLL 0x728f0000 - 0x728fc000 C:\ Program Files \ Java \ jre7 \ bin \ verify.dll 0x72790000 - 0x727b0000 C:\ Program Files \ Java \ jre7 \ bin \ java.dll 0x727b0000 - 0x727c3000 C:\ Program Files \ Java \ jre7 \ bin \ zip.dll 0x72580000 - 0x7266b000 C:\ Windows \ system32 \ dbghelp.dll
VM参数: jvm_args:-Dfile.encoding = Cp1252 -Xbootclasspath:D:\ android-sdk-windows \ platforms \ android-8 \ android.jar; D:\ android-sdk-windows \ add-ons \ addon-google_apis-google_inc_-8 \库\ maps.jar java_command:com.cipl.CommonCollection.Test 启动器类型:SUN_STANDARD
环境变量: JAVA_HOME = C:\ Program Files \ Java \ jdk1.7.0_04 PATH = C:/ Program Files / Java / jre7 / bin / client; C:/ Program Files / Java / jre7 / bin; C:/ Program Files / Java / jre7 / lib / i386; C:\ Program Files \ Common Files \ Microsoft Shared \ Windows Live; C:\ Windows \ system32; C:\ Windows; C:\ Windows \ System32 \ Wbem; C:\ Windows \ System32 \ WindowsPowerShell \ v1.0 \; C:\ Program Files \ Windows Live \ Shared; C:\ Program Files \ Common Files \ Ulead Systems \ MPEG; C:\ Program Files \ Common Files \ Lenovo; C:\ Program Files \ Intel \ Services \ IPT \; C:\ Program Files \ Symantec \ VIP Access Client \; C:\ SWTOOLS \ ReadyApps; C:\ Program Files \ TortoiseSVN \ bin; D:\ android-ndk-r8c; C:\ Program Files \ TortoiseHg \; D:\ android-sdk-windows \ platform-工具; D:\ android-sdk-windows \ tools; D:\ Bucketo \ Tools \ apache-ant-1.9.0-bin \ apache-ant-1.9.0 \ bin; C:\ Program Files \ Java \ jdk1。 7.0_04 \ BIN; d:\ Android的SDK窗口; C:\ cygwin的\ BIN; d:\ Bucketo \工具\蚀-SDK-4.2.1-win32_classic \蚀; USERNAME = akhilesh.tiwari OS = Windows_NT PROCESSOR_IDENTIFIER = x86 Family 6 Model 42 Stepping 7,GenuineIntel
--------------- S Y S T E M ---------------
操作系统:Windows 7 Build 7601 Service Pack 1
CPU:总共4个(每个CPU 2个核心,每个核心2个线程)系列6个模型42步进7,cmov,cx8,fxsr,mmx,sse,sse2,sse3,ssse3,sse4.1,sse4.2,popcnt ,avx,ht,tsc,tscinvbit
内存:4k页,物理1935764k(131636k免费),交换3871528k(1391032k免费)
vm_info:适用于windows-x86 JRE(1.7.0_21-b11)的Java HotSpot(TM)客户端虚拟机(23.21-b01),构建于2013年4月4日04:43:10&#34; java_re&#34;未知的MS VC ++:1600
时间:2013年6月19日星期三19:17:55 已用时间:0秒
答案 0 :(得分:15)
答案 1 :(得分:9)
只需更改工作区即可。
答案 2 :(得分:0)
我如何在我的项目中修复此问题。 从Eclipse Server视图中删除现有服务器。 然后用我现有的项目创建了一个新服务器。
答案 3 :(得分:0)
尝试运行Core转储(必须禁用核心转储)。
启用核心转储
unlimit -c unlimited
*首先关闭eclipse
答案 4 :(得分:0)
当使用jrebel args启动jetty ant任务时,其中一个jvmargs
导致了我的问题。删除jvmargs参数,只运行mvn jetty:run
命令,-javaagent
指向jrebel.jar
,只对我有用。