Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] virgo.kernel tests on Windows

Hi,

 

I created enhancement for CI on Windows [1].  The issue with SAX parser seems to be caused by antivirus/firewall configuration.

 

I added the problems I met so far with the tests in the request, so we can have them in mind when setting up the CI.

 

Regards,

Hristo Iliev

 

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=333290

 

 

From: virgo-dev-bounces@xxxxxxxxxxx [mailto:virgo-dev-bounces@xxxxxxxxxxx] On Behalf Of Glyn Normington
Sent: Tuesday, December 28, 2010 7:37 PM
To: Virgo Project
Subject: Re: [virgo-dev] virgo.kernel tests on Windows

 

Hi Hristo

 

Not a known problem, so please raise a bug.


Regards,

Glyn

 

On 28 Dec 2010, at 11:57, Iliev, Hristo wrote:



Hi,

 

I noticed that the virgo.kernel tests fail every time on my Windows with the following:

 

     [exec]     [junit] Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.

 

The problem does not appear on Linux however. Anyone faced the same issue? I think this is a problem with the XSD header…

 

If this is not a known problem I will create a bug + enhancement request for setup of Windows build as well.

 

Regards,

Hristo Iliev

 

 

P.S. The full stacktrace:

 

     [exec]     [junit] Testcase: testManualContextDefinitionWithBadImports(org.eclipse.virgo.kernel.deployer.test.Manua

lSpringContextTests):   Caused an ERROR

     [exec]     [junit] BundleException

     [exec]     [junit] org.eclipse.virgo.kernel.deployer.core.DeploymentException: BundleException

     [exec]     [junit]         at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.startB

undle(StandardBundleDriver.java:170)

     [exec]     [junit]         at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.start(

StandardBundleDriver.java:149)

     [exec]     [junit]         at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifa

ct.doStart(StandardBundleInstallArtifact.java:253)

     [exec]     [junit]         at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoSta

rt(AbstractInstallArtifact.java:208)

     [exec]     [junit]         at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifa

ct.start(StandardBundleInstallArtifact.java:242)

     [exec]     [junit]         at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.start(Pi

pelinedApplicationDeployer.java:285)

     [exec]     [junit]         at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(P

ipelinedApplicationDeployer.java:195)

     [exec]     [junit]         at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(P

ipelinedApplicationDeployer.java:101)

     [exec]     [junit]         at org.eclipse.virgo.kernel.deployer.test.ManualSpringContextTests.testManualContextDefi

nitionWithBadImports(ManualSpringContextTests.java:26)

     [exec]     [junit]         at org.eclipse.virgo.test.framework.OsgiTestRunner.run(OsgiTestRunner.java:74)

     [exec]     [junit] Caused by: org.osgi.framework.BundleException: Exception in eg.Activator.start() of bundle manua

l.context.

     [exec]     [junit]         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleConte

xtImpl.java:734)

     [exec]     [junit]         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.ja

va:683)

     [exec]     [junit]         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:378)

     [exec]     [junit]         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:287

)

     [exec]     [junit]         at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStar

ter.java:57)

     [exec]     [junit]         at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStar

ter.java:45)

     [exec]     [junit]         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java

:307)

     [exec]     [junit]         at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvok

e(ServiceInvoker.java:58)

     [exec]     [junit]         at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(

ServiceInvoker.java:62)

     [exec]     [junit]         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethod

Invocation.java:172)

     [exec]     [junit]         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(Delegatin

gIntroductionInterceptor.java:131)

     [exec]     [junit]         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIn

troductionInterceptor.java:119)

     [exec]     [junit]         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethod

Invocation.java:172)

     [exec]     [junit]         at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(Loc

alBundleContextAdvice.java:59)

     [exec]     [junit]         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethod

Invocation.java:172)

     [exec]     [junit]         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(Delegatin

gIntroductionInterceptor.java:131)

     [exec]     [junit]         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIn

troductionInterceptor.java:119)

     [exec]     [junit]         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethod

Invocation.java:172)

     [exec]     [junit]         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:2

02)

     [exec]     [junit]         at $Proxy1252.start(Unknown Source)

     [exec]     [junit]         at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.startB

undle(StandardBundleDriver.java:168)

     [exec]     [junit] Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 5 in XML

document from class path resource [context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1

: Cannot find the declaration of element 'beans'.

     [exec]     [junit]         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(X

mlBeanDefinitionReader.java:396)

     [exec]     [junit]         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Xml

BeanDefinitionReader.java:334)

     [exec]     [junit]         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Xml

BeanDefinitionReader.java:302)

     [exec]     [junit]         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefini

tions(AbstractBeanDefinitionReader.java:143)

     [exec]     [junit]         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions

(AbstractXmlApplicationContext.java:122)

     [exec]     [junit]         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions

(AbstractXmlApplicationContext.java:92)

     [exec]     [junit]         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBean

Factory(AbstractRefreshableApplicationContext.java:130)

     [exec]     [junit]         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory

(AbstractApplicationContext.java:458)

     [exec]     [junit]         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplic

ationContext.java:388)

     [exec]     [junit]         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXm

lApplicationContext.java:197)

     [exec]     [junit]         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXm

lApplicationContext.java:172)

     [exec]     [junit]         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXm

lApplicationContext.java:158)

     [exec]     [junit]         at eg.Activator.start(Activator.java:10)

     [exec]     [junit]         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.ja

va:711)

     [exec]     [junit]         at java.security.AccessController.doPrivileged(Native Method)

     [exec]     [junit]         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleConte

xtImpl.java:702)

     [exec]     [junit] Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'bea

ns'.

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(E

rrorHandlerWrapper.java:195)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper

.java:131)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter

.java:384)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter

.java:318)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLS

chemaValidator.java:1915)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaV

alidator.java:705)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XML

NSDocumentScannerImpl.java:400)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scan

RootElementHook(XMLNSDocumentScannerImpl.java:626)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentConten

tDriver.next(XMLDocumentFragmentScannerImpl.java:3103)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLD

ocumentScannerImpl.java:922)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScanne

rImpl.java:648)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentSc

annerImpl.java:140)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(X

MLDocumentFragmentScannerImpl.java:511)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuratio

n.java:808)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuratio

n.java:737)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)

     [exec]     [junit]         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl

.java:284)

     [exec]     [junit]         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocum

entLoader.java:75)

     [exec]     [junit]         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(X

mlBeanDefinitionReader.java:388)

 

_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev

 


Back to the top