Intellij编译器抛出“java.lang.VerifyError”不一致的stackmap

时间:2015-02-18 22:40:15

标签: java intellij-idea

在OS X 10.9.5上清理安装版本14 CE。

最初我认为可能是因为编译器是版本1.8而jdk是版本1.6。我现在在Intellij属性中手动配置JVM版本,使其为1.8(例如,关于intellij显示v1.8)。但问题仍然存在。命令行上的Javac工作正常,只是有问题的Intellij。

这是错误:

  

错误:内部错误:(java.lang.VerifyError)分支目标295处的堆栈映射帧不一致   例外细节:     地点:       com / intellij / openapi / util / JDOMUtil.internElement(Lorg / jdom / Element; Lcom / intellij / util / containers / StringInterner;)V @ 295:goto     原因:       键入' org / jdom / Element' (当前帧,本地[4])不能分配给' org / jdom / Content' (堆栈图,当地人[4])     当前框架:       bci:@ 202       旗帜:{}       locals:{' org / jdom / Element',' com / intellij / util / containers / StringInterner',' java / util / Iterator',' org / jdom / Content',' org / jdom / Element' }       堆栈:{}     Stackmap框架:       bci:@ 295       旗帜:{}       locals:{' org / jdom / Element',' com / intellij / util / containers / StringInterner',' java / util / Iterator',' org / jdom / Content',' org / jdom / Content' }       堆栈:{}     字节码:       0x0000000:2ac7 0028 bb00 4a59 124c 124d bd00 0459       0x0000010:1233 128e 5359 1235 1234 5359 1232 1301       0x0000020:1853 b800 3cb7 0050 bf2b c700 29bb 004a       0x0000030:5912 4c12 4dbd 0004 5912 3313 011a 5359       0x0000040:1235 1234 5359 1232 1301 1853 b800 3cb7       0x0000050:0050 bf2a 2b2a b600 5fb8 011e b601 2257       0x0000060:2ab6 0068 b900 9601 004d 2cb9 009c 0100       0x0000070:9900 2a2c b900 a001 00c0 00a2 4e2d 2b2d       0x0000080:b600 bcb8 011e b601 2557 2d2b 2db6 00bf       0x0000090:b801 1eb6 0128 57a7 ffd3 2ab6 00a7 b900       0x00000a0:9601 004d 2cb9 009c 0100 9900 802c b900       0x00000b0:a001 00c0 00a9 4e2d c100 4199 0012 2dc0       0x00000c0:0041 3a04 1904 2bb8 012a a700 5d2d c100       0x00000d0:ab99 001b 2dc0 00ab 3a04 1904 2b19 04b6       0x00000e0:00ae b801 1eb6 012e 57a7 003e 2dc1 0130       0x00000f0:9900 1b2d c001 303a 0419 042b 1904 b601       0x0000100:31b8 011e b601 3457 a700 1fbb 004a 59bb       0x0000110:00f7 59b7 00f8 1301 12b6 00fd 2db6 0115       0x0000120:b601 00b7 0050 bfa7 ff7d b1
    Stackmap表:       same_frame(@ 41)       same_frame(@ 83)       append_frame(@ 106,对象[#152])       same_frame(@ 154)       same_frame(@ 164)       append_frame(@ 205,对象[#169])       same_frame(@ 236)       same_frame(@ 267)       append_frame(@ 295,对象[#169])       chop_frame(@ 298,2)   java.lang.VerifyError:分支目标295处的堆栈映射帧不一致   例外细节:     地点:       com / intellij / openapi / util / JDOMUtil.internElement(Lorg / jdom / Element; Lcom / intellij / util / containers / StringInterner;)V @ 295:goto     原因:       键入' org / jdom / Element' (当前帧,本地[4])不能分配给' org / jdom / Content' (堆栈图,当地人[4])     当前框架:       bci:@ 202       旗帜:{}       locals:{' org / jdom / Element',' com / intellij / util / containers / StringInterner',' java / util / Iterator',' org / jdom / Content',' org / jdom / Element' }       堆栈:{}     Stackmap框架:       bci:@ 295       旗帜:{}       locals:{' org / jdom / Element',' com / intellij / util / containers / StringInterner',' java / util / Iterator',' org / jdom / Content',' org / jdom / Content' }       堆栈:{}     字节码:       0x0000000:2ac7 0028 bb00 4a59 124c 124d bd00 0459       0x0000010:1233 128e 5359 1235 1234 5359 1232 1301       0x0000020:1853 b800 3cb7 0050 bf2b c700 29bb 004a       0x0000030:5912 4c12 4dbd 0004 5912 3313 011a 5359       0x0000040:1235 1234 5359 1232 1301 1853 b800 3cb7       0x0000050:0050 bf2a 2b2a b600 5fb8 011e b601 2257       0x0000060:2ab6 0068 b900 9601 004d 2cb9 009c 0100       0x0000070:9900 2a2c b900 a001 00c0 00a2 4e2d 2b2d       0x0000080:b600 bcb8 011e b601 2557 2d2b 2db6 00bf       0x0000090:b801 1eb6 0128 57a7 ffd3 2ab6 00a7 b900       0x00000a0:9601 004d 2cb9 009c 0100 9900 802c b900       0x00000b0:a001 00c0 00a9 4e2d c100 4199 0012 2dc0       0x00000c0:0041 3a04 1904 2bb8 012a a700 5d2d c100       0x00000d0:ab99 001b 2dc0 00ab 3a04 1904 2b19 04b6       0x00000e0:00ae b801 1eb6 012e 57a7 003e 2dc1 0130       0x00000f0:9900 1b2d c001 303a 0419 042b 1904 b601       0x0000100:31b8 011e b601 3457 a700 1fbb 004a 59bb       0x0000110:00f7 59b7 00f8 1301 12b6 00fd 2db6 0115       0x0000120:b601 00b7 0050 bfa7 ff7d b1
    Stackmap表:       same_frame(@ 41)       same_frame(@ 83)       append_frame(@ 106,对象[#152])       same_frame(@ 154)       same_frame(@ 164)       append_frame(@ 205,对象[#169])       same_frame(@ 236)       same_frame(@ 267)       append_frame(@ 295,对象[#169])       chop_frame(@ 298,2)       在org.jetbrains.jps.model.serialization.JpsLoaderBase.tryLoadRootElement(JpsLoaderBase.java:87)       在org.jetbrains.jps.model.serialization.JpsLoaderBase.loadRootElement(JpsLoaderBase.java:72)       在org.jetbrains.jps.model.serialization.JpsLoaderBase.loadRootElement(JpsLoaderBase.java:43)       在org.jetbrains.jps.model.serialization.JpsLoaderBase.loadComponents(JpsLoaderBase.java:55)       在org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalComponents(JpsGlobalLoader.java:83)       在org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalSettings(JpsGlobalLoader.java:57)       at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:38)       在org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:45)       在org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:78)       在org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:260)       在org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:123)       在org.jetbrains.jps.cmdline.BuildMain $ MyMessageHandler $ 1.run(BuildMain.java:237)       在org.jetbrains.jps.service.impl.SharedThreadPoolImpl $ 1.run(SharedThreadPoolImpl.java:41)       at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)       at java.util.concurrent.FutureTask.run(FutureTask.java:266)       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)       at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)       在java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案