当前位置: 首页 > 知识库问答 >
问题:

java.lang.非法描述异常:无法确定图形元素类型,因为文档类为空。

仰雅昶
2023-03-14

你好,我正在为三星Gear创建一个小工具。我用Tizen IDE做可穿戴设备。我关注了他们的youtube tutoria:如何创建基本的集成Gear应用程序。

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

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

然后错误日志说:

js lang-js prettyprint-override">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)

共有1个答案

长孙文栋
2023-03-14

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

 类似资料: