Eclipse中的Xtext作为应用程序运行 - Java错误

问题描述:

我有一个XTEXT项目,我可以生成的XTEXT文物,并与mwe2发电机工作,但它不会运行作为XTEXT应用 - 让错误:Eclipse中的Xtext作为应用程序运行 - Java错误

# 
# A fatal error has been detected by the Java Runtime Environment: 
# 
# SIGBUS (0xa) at pc=0x000000010ccc04d0, pid=4122, tid=38240796672 
# 
# JRE version: 7.0_04-b21 
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0-b21 mixed mode bsd-amd64 compressed oops) 
# Problematic frame: 
# J org.eclipse.osgi.internal.resolver.VersionConstraintImpl.getName()Ljava/lang/String; 
# 
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again 
# 
# An error report file with more information is saved as: 
# /Users/ashley/Documents/eclipse/Eclipse.app/Contents/MacOS/hs_err_pid4122.log 
# 
# If you would like to submit a bug report, please visit: 
# http://bugreport.sun.com/bugreport/crash.jsp 
# 

我可以运行另一个xtext项目,但不是这一个。我已经尝试了JRE系统库的不同设置,从零开始重建了该项目,但没有任何工作。

任何想法?

从日志:

Register to memory mapping: 

RAX=0x0000000000000001 is an unknown value 
RBX=0x00000008e7543190 is pointing into the stack for thread: 0x00007fa1c2e36000 
RCX=0x00000006151f98f8 is an oop 
org.eclipse.osgi.internal.resolver.GenericSpecificationImpl 
- klass: 'org/eclipse/osgi/internal/resolver/GenericSpecificationImpl' 
RDX=0x000000011042af48 is an oop 
{instance class} 
- klass: {other class} 
RSP=0x00000008e7543170 is pointing into the stack for thread: 0x00007fa1c2e36000 
RBP=0x00000006151f98f8 is an oop 
org.eclipse.osgi.internal.resolver.GenericSpecificationImpl 
- klass: 'org/eclipse/osgi/internal/resolver/GenericSpecificationImpl' 
RSI=0x00000006151f98f8 is an oop 
org.eclipse.osgi.internal.resolver.GenericSpecificationImpl 
- klass: 'org/eclipse/osgi/internal/resolver/GenericSpecificationImpl' 
RDI=0x0000000000000007 is an unknown value 
R8 =0x00000000a0aad527 is an unknown value 
R9 =0x0000000000000065 is an unknown value 
R10=0x00000000000007b6 is an unknown value 
R11=0x00000006151f9938 is an oop 
java.lang.Object 
- klass: 'java/lang/Object' 
R12=0x000000010fc8f000 is an unknown value 
R13=0x00000008e75431c8 is pointing into the stack for thread: 0x00007fa1c2e36000 
R14=0x0000000000000000 is an unknown value 
R15=0x00007fa1c2e36000 is a thread 


Stack: [0x00000008e7444000,0x00000008e7544000], sp=0x00000008e7543170, free space=1020k 
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 
J org.eclipse.osgi.internal.resolver.VersionConstraintImpl.getName()Ljava/lang/String; 
+0

你看过日志文件中的崩溃报告吗?那里有意义吗? – 2013-04-07 13:24:57

+0

我添加了一些注销,但它看起来并不那么有趣 - 但是,我不确定要查找什么 – Ashley 2013-04-07 13:40:11

+0

看起来像是JVM崩溃。我只能建议尝试Java7运行时的不同构建/最新版本。 – 2013-04-08 08:30:38

的问题不是的Xtext。它没有本地部分,不能产生这样的错误。恰好如此,这个特定的项目在eclipse本地代码中触发错误,或者在JRE或其他库本机代码中触发错误(更可能)。

为了解决该问题,我建议如下:

还有一个很小的可能性,这是一个硬件问题。但是你可以通过试图在不同的机器上运行你的项目来简化它的角色。

+0

感谢您的回答,但我仍然在xtext/emf/eclipse上指责这一点,因为我有其他项目运行良好 - 它必须是生成的代码失败的东西。我会尝试其他jre版本,看看我得到了什么,但目前v7.17是一个失败 – Ashley 2013-04-11 14:06:20

+0

我在你的问题中阅读“JRE版本:7.0_04-b21”。你的意思是,最新的7.17崩溃与相同的核心转储? – 2013-04-12 10:48:03

+0

我结束了从头开始的一切 - 包括重新下载jdk和eclipse,从那里工作正常 – Ashley 2013-04-17 20:56:20