- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个 xtext 项目,我可以为它生成 xtext 工件,并使用 mwe2 生成器,但它不会作为 xtext 应用程序运行 - 给出错误:
#
# 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
#
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;
最佳答案
问题不在于 Xtext。它没有原生部件,不会产生这样的错误。恰好是这样,这个特定项目在 eclipse native 代码或(更有可能)JRE 或其他库 native 代码中触发错误。
为了解决这个问题,我建议如下:
关于java - Eclipse Xtext 作为应用程序运行 - Java 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15862088/
如何在 xtext 中更改生成包的默认位置? 例如:src-gen包和xtend-gen。 在这些包中生成了各种子包。那么如何更改默认生成位置。 最佳答案 如何修改src-gen位置 打开Genera
我的 Xtext 语法中有一个终端列表,我如何测试它们是否工作并且没有 token 冲突? 例如以下终端: terminal COMMA: ','; terminal QUESTION: '?'; t
我尝试为配置文件编写 Xtext BNF(以 .ini 为扩展名) 例如,我想成功解析 [Section1] a = Easy123 b = This *is* valid too [Section_
我通过 Xtext 创建了一个 DSL,现在我需要将编辑器中创建的模型转换为另一个模型。我想最直接的方法是使用某种 M2M 转换框架,但我需要访问文本文件背后的模型。 问题:如何获得对模型的引用? 最
我正在研究使用 xtext 开发的 DSL。我正在使用 orion 编辑器使用自动完成功能。它与自动生成的网页编辑器配合得很好。但是,我们想将它与另一个使用 Angular 4 开发的 Web 应用程
所有这些以 X 开头的基于 Eclipse 的技术(Xtext、Xtend)的特点、区别和相似之处是什么?还有更多要了解的吗? 最佳答案 Xtext 是一个用于开发编程语言和领域特定语言的文本建模框架
同时尝试 mavenize Eclipse plugin for LESS遇到问题 #210 在 #208 中添加了提交 https://github.com/PaulVI/ow/commit/7c9
构建一个解析文件的独立程序,我使用了第一个选项 http://www.davehofmann.de/?p=101 定义了一个验证,如果文本不是以大写字母开头,则会给出错误(eclipse 中的红色下划
Xtext 文档,例如这里:http://www.eclipse.org/Xtext/documentation.html#syntax似乎只是通过举一个“悬空其他问题”的例子来解释句法谓词。我对此的
我使用 Eclipse 的 Xtext 插件来定义我的语言并从中生成一些文件。 该项目很大,除了插件生成的默认生成器之外,我想使用多个生成器来生成我的文件。 我试过这个解决方案http://www.e
我一直在为我们内部使用的语言开发基于 Xtext 的 Eclipse 插件。这种语言可能有以下形式的声明: run : /some/file/path/foo.txt ...最终我想提供一个自定义位置
我正在尝试编写一个 xtext 规则,我可以在其中以不同的随机顺序编写语句,但所有语句都必须保存为一个列表。 我试过: Root: ( (entity += Entity)? & (componen
我正在尝试编写一个 xtext 规则,我可以在其中以不同的随机顺序编写语句,但所有语句都必须保存为一个列表。 我试过: Root: ( (entity += Entity)? & (componen
我想重用语法定义。 我有这样的语法: Person: 'contact' name=ID '{' 'phone' phone=INT '}' ; 我想要另一个这样的语法: includ
我有一个使用 Xtext 编写的 DSL。我想要的是执行那个 DSL 来执行一些好的事情。 我在 xtend 中编写了实现接口(interface) IGenerator 的 myDslGenerat
我目前正在开发一种通用的基于代理的编程语言(它的语法会受到 Java 的启发,我们也在这种语言中使用对象)。 自项目开始以来,我们对使用 ANTLR 的事实持怀疑态度。或 Xtext .那时我们发现
我在 xtext 交叉引用方面遇到了一些问题这是一个非常简单的语法: grammar org.xtext.example.mydsl1.Test with org.eclipse.xtext.comm
我正在尝试修改 Xtext 域模型示例,以便实体属性可以有两个以上的属性(除了已经包含在示例中的“许多”之外)。所有属性都必须是可选的,并且它们的顺序无关紧要。看来,无论我做什么,第一个属性都必须是第
我正在使用xtext 2.4并且想要同时支持map和set,我的语法如下 ::- ::- | ::- '{' ( ':' (',' ':' )*)? '}' ::- '{' ( (
我需要验证 Xtext 项目中特定文件的存在。该文件具有与验证对象类似的路径,但具有其他根目录,例如: $projPath/src/dir1/dir2/ValidatedFile.src $projP
我是一名优秀的程序员,十分优秀!