我每次在我的Android項目中添加一個xml文件到/res/menu
部分時,我的eclipse似乎每次都會發生Stackoverflow錯誤。這是它生成的錯誤日誌,有沒有人遇到過這個問題?每次當我添加一個新的xml文件到我的菜單部分時,Eclipse崩潰 - Android
eclipse.buildId=M20110210-1200
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Error
Thu Apr 28 10:34:18 EDT 2011
Unhandled event loop exception
java.lang.StackOverflowError
at org.eclipse.wst.xml.core.internal.document.StructuredDocumentRegionProxy.setStructuredDocumentRegion(StructuredDocumentRegionProxy.java:338)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:423)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.changeStructuredDocumentRegion(XMLModelUpdater.java:440)
.
.
.
repeats hundreds of times
感謝,
Teja公司。
請顯示xml文件。 – 2011-04-28 14:40:13
這只是一個新的XML。我通過右鍵單擊菜單>新文件> filename.xml來添加它。 – 2011-04-28 14:59:42