StackOverFlow在Eclipse中验证项目时出错

时间:2016-03-05 16:44:41

标签: java eclipse svn

您好,我正在面对错误消息,而eclipse正在验证项目。我试图清理该项目,但它根本没用。

此外,我已经从eclipse.ini文件增加了堆大小,但仍然得到相同的错误。 eclipse.ini文件下面是:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
2048M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
2048m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms1G
-Xmx3G

我也检查了来自.metadata\.logs的日志,好像我在某个地方遇到了僵局。就是这样。

!ENTRY org.eclipse.core.jobs 4 2 2016-03-05 16:09:37.164
!MESSAGE An internal error occurred during: "Validating PolicyServices".
!STACK 0
java.lang.StackOverflowError
    at org.eclipse.core.internal.jobs.DeadlockDetector.indexOf(DeadlockDetector.java:253)
    at org.eclipse.core.internal.jobs.DeadlockDetector.lockAcquired(DeadlockDetector.java:287)
    at org.eclipse.core.internal.jobs.LockManager.addLockThread(LockManager.java:141)
    at org.eclipse.core.internal.jobs.OrderedLock.setCurrentOperationThread(OrderedLock.java:275)
    at org.eclipse.core.internal.jobs.OrderedLock.attempt(OrderedLock.java:131)
    at org.eclipse.core.internal.jobs.OrderedLock.createSemaphore(OrderedLock.java:151)
    at org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:107)
    at org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:85)
    at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromRead(ModelManagerImpl.java:1920)
    at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromRead(ModelManagerImpl.java:1781)
    at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromRead(AbstractStructuredModel.java:1026)
    at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromRead(DOMModelImpl.java:880)
    at org.eclipse.wst.html.core.internal.document.DOMStyleModelImpl.releaseFromRead(DOMStyleModelImpl.java:44)
    at org.eclipse.jst.jsf.context.resolver.structureddocument.internal.impl.WorkspaceContextResolver.getPath(WorkspaceContextResolver.java:128)
    at org.eclipse.jst.jsf.context.resolver.structureddocument.internal.impl.WorkspaceContextResolver.getProject(WorkspaceContextResolver.java:47)
    at org.eclipse.jst.jsf.facelet.ui.internal.contentassist.MyModelQueryExtension.getAvailableElementContent(MyModelQueryExtension.java:51)
    at org.eclipse.wst.xml.core.internal.contentmodel.internal.modelqueryimpl.ModelQueryExtensionManagerImpl.filterAvailableElementContent(ModelQueryExtensionManagerImpl.java:100)
    at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.ModelQueryImpl.getAvailableContent(ModelQueryImpl.java:312)
    at org.eclipse.wst.html.core.internal.modelquery.HTMLModelQueryImpl.getAvailableContent(HTMLModelQueryImpl.java:48)
    at org.eclipse.wst.html.core.internal.validate.HTMLElementContentValidator.validateNode(HTMLElementContentValidator.java:161)
    at org.eclipse.wst.html.core.internal.validate.HTMLElementContentValidator.validateContent(HTMLElementContentValidator.java:66)
    at org.eclipse.wst.html.core.internal.validate.HTMLElementContentValidator.validate(HTMLElementContentValidator.java:52)
    at org.eclipse.wst.html.core.internal.validate.CompositeValidator.validate(CompositeValidator.java:54)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:38)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
    at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)

有人可以告诉我如何解除僵局?这样我就可以继续前进了。因为没有验证项目,工作空间就无法正常构建。帮助将不胜感激。

0 个答案:

没有答案