0

您好,我正在为 Samsung Gear 创建一个小部件。我将 Tizen IDE 用于可穿戴设备。我遵循了他们的 youtube 教程:如何创建基本的集成齿轮应用程序。

我尝试在 Tizen IDE 中构建项目,但出现构建错误:

构建过程中发生错误。在项目“SimpleSAPConsumer”上运行构建器“Web Widget Builder”时出错。构建错误:无法确定图形元素类型,因为文档类为空。可能这是一个投影,使用 EXPAND() 函数构建错误:无法确定图形元素类型,因为文档类为空。可能这是一个投影,使用 EXPAND() 函数

然后错误日志说:

eclipse.buildId=
java.version=1.7.0_67
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Error
Fri May 29 17:01:28 SGT 2015
Build Error :

java.lang.IllegalArgumentException: Cannot determine the graph element type because the document class is null. Probably this is a projection, use the EXPAND() function
	at com.tinkerpop.blueprints.impls.orient.OrientElementIterator.next(OrientElementIterator.java:49)
	at com.tinkerpop.blueprints.impls.orient.OrientElementIterator.next(OrientElementIterator.java:13)
	at org.tizen.common.builder.dependency.DependencyInDB.getVertexFromDB(DependencyInDB.java:236)
	at org.tizen.common.builder.dependency.DependencyInDB.containsVertex(DependencyInDB.java:254)
	at org.tizen.common.builder.BuildProcess.removeResource(BuildProcess.java:413)
	at org.tizen.common.builder.BuildProcess.build(BuildProcess.java:282)
	at org.tizen.web.project.builder.WebBuilder.build(WebBuilder.java:252)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

4

1 回答 1

1

可能有一个小的拼写错误或某处,因为我的猜测是没有“文档”类,因为它可能不存在于内存中,或者您正在引用一个类 (Foo dingDong = new Foo(); foo.getStats ()) 不存在于内存中。

于 2015-05-29T12:07:07.743 回答