Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Stackoverflow(Validate XML File)
Eclipse Stackoverflow [message #857290] Thu, 26 April 2012 12:27 Go to next message
Timur Achmetow is currently offline Timur AchmetowFriend
Messages: 38
Registered: April 2012
Member
Hello,

I am validate a xml file against a schema-file and get a Stackoverflow.
Here are my Eclipse settings and the Stackoverflow:

Quote:

*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-showsplash
C:\Eclipse\EclipseIndigo_32Bit\\plugins\org.eclipse.platform_3.7.1.v201109091335\splash.bmp
-launcher
C:\Eclipse\EclipseIndigo_32Bit\eclipse.exe
-name
Eclipse
--launcher.library
C:\Eclipse\EclipseIndigo_32Bit\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502\eclipse_1406.dll
-startup
C:\Eclipse\EclipseIndigo_32Bit\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-product
org.eclipse.epp.package.rcp.product
-vm
C:\Eclipse\EclipseIndigo_32Bit\jre\bin\client\jvm.dll
eclipse.home.location=file:/C:/Eclipse/EclipseIndigo_32Bit/
eclipse.launcher=C:\Eclipse\EclipseIndigo_32Bit\eclipse.exe
eclipse.launcher.name=Eclipse
eclipse.p2.data.area=@config.dir/../p2
eclipse.p2.profile=epp.package.rcp
eclipse.product=org.eclipse.epp.package.rcp.product
eclipse.startTime=1335443049655
eclipse.vm=C:\Eclipse\EclipseIndigo_32Bit\jre\bin\client\jvm.dll
eclipse.vmargs=-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Eclipse\EclipseIndigo_32Bit\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Eclipse\EclipseIndigo_32Bit\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=51.0
java.endorsed.dirs=C:\Eclipse\EclipseIndigo_32Bit\jre\lib\endorsed
java.ext.dirs=C:\Eclipse\EclipseIndigo_32Bit\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=C:\Eclipse\EclipseIndigo_32Bit\jre
java.io.tmpdir=C:\DOKUME~1\wilbs\LOKALE~1\Temp\
java.library.path=C:\Eclipse\EclipseIndigo_32Bit;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Eclipse/EclipseIndigo_32Bit/jre/bin/client;C:/Eclipse/EclipseIndigo_32Bit/jre/bin;C:/Eclipse/EclipseIndigo_32Bit/jre/lib/i386;C:\in4\OracleClient\jre\1.4.2\bin\client;C:\in4\OracleClient\jre\1.4.2\bin;C:\in4\OracleClient\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\WiFi\bin\;C:\Programme\Gemeinsame Dateien\Intel\WirelessCommon\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Eclipse\EclipseIndigo_32Bit;;.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0_02-b13
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.vendor=Oracle Corporation
java.version=1.7.0_02
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=22.0-b10
line.separator=


!ENTRY org.eclipse.core.jobs 4 2 2012-04-25 13:52:46.213
!MESSAGE An internal error occurred during: "Validating".
!STACK 0
java.lang.StackOverflowError
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
	at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)


Can someone help?

Thx
Tim
Re: Eclipse Stackoverflow [message #857364 is a reply to message #857290] Thu, 26 April 2012 13:30 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
Which component is calling into RegularExpression#matchString(..)? If you are calling it directly, you may want to see https://issues.apache.org/jira/browse/XERCESJ-589 and see if that can help you.
Re: Eclipse Stackoverflow [message #857442 is a reply to message #857364] Thu, 26 April 2012 14:39 Go to previous messageGo to next message
Timur Achmetow is currently offline Timur AchmetowFriend
Messages: 38
Registered: April 2012
Member
Quote:

Which component is calling into RegularExpression#matchString(..)?


I don't know. I have import the xml and the schema file in my Eclipse workspace and have validate it, about the context menu (Validate).

I will test the suggestion (Apache JIRA BUG) with increasing the XSS memory.
Re: Eclipse Stackoverflow [message #858244 is a reply to message #857442] Fri, 27 April 2012 03:51 Go to previous message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
The first call to RegularExpression#matchString() could give the indication..
Previous Topic:Exception when building call hierarchy
Next Topic:serialVersionUID template?
Goto Forum:
  


Current Time: Wed Nov 26 11:38:44 GMT 2014

Powered by FUDForum. Page generated in 0.02432 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software