[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [gemini-dev] Property propagation (a contribution)
|
Ok, I've tried running tests on the project
without my modifications. I've git-cloned it about an hour ago. Then I've run
mvn clean test -Pit,equinox from the project's root folder.
I'm getting about 190 test error in core module. They seem weird. Most of them are because a classpath resource that is created is null (see attached NestedElementTest.xml report). Next there are two tests that fail because System.out is null (see attached DictionaryEditorTest.xml report). There may be other types of errors but because the number of failures is so high it's hard for me to find if there are any others.
The weirdness of these failures has lead me to believe I was missing something in the environment. I've tried switching the jdk (from 1.6.0_43 to 1.7.0_21) but the errors are the same. Maven version is 3.0.5.
Do you have any clues? Should I maybe post a new thread so the others would see it under a more appropriate title (like "tests fail")?
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="0" errors="1" skipped="0" tests="1" name="org.eclipse.gemini.blueprint.blueprint.config.NestedElementsTest">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/amd64"/>
<property name="java.vm.version" value="20.14-b01"/>
<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
<property name="java.vendor.url" value="http://java.sun.com/"/>
<property name="path.separator" value=":"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.country" value="FR"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="/media/mozg_hdd/projects/gemini-blueprint/repo"/>
<property name="java.runtime.version" value="1.6.0_43-b01"/>
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="/tmp"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
<property name="os.name" value="Linux"/>
<property name="classworlds.conf" value="/media/mozg_hdd/projects/gemini-blueprint/maven/bin/m2.conf"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.library.path" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/amd64/server:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/amd64:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="50.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="3.2.0-29-generic"/>
<property name="user.home" value="/home/shutyaev"/>
<property name="user.timezone" value="Europe/Moscow"/>
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.specification.version" value="1.6"/>
<property name="user.name" value="shutyaev"/>
<property name="java.class.path" value="/media/mozg_hdd/projects/gemini-blueprint/maven/boot/plexus-classworlds-2.4.jar"/>
<property name="java.vm.specification.version" value="1.0"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean test -Pit,equinox"/>
<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
<property name="user.language" value="fr"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.6.0_43"/>
<property name="java.ext.dirs" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/ext:/usr/java/packages/lib/ext"/>
<property name="securerandom.source" value="file:/dev/./urandom"/>
<property name="sun.boot.class.path" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/resources.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/rt.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/sunrsasign.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/jsse.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/jce.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/charsets.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/modules/jdk.boot.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/classes"/>
<property name="java.vendor" value="Sun Microsystems Inc."/>
<property name="maven.home" value="/media/mozg_hdd/projects/gemini-blueprint/maven"/>
<property name="file.separator" value="/"/>
<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="gnome"/>
<property name="sun.cpu.isalist" value=""/>
</properties>
<testcase time="0" classname="org.eclipse.gemini.blueprint.blueprint.config.NestedElementsTest" name="testNumberOfBeans">
<error message="Unexpected exception parsing XML document from class path resource [org/eclipse/gemini/blueprint/blueprint/config/nested-elements.xml]; nested exception is java.lang.NullPointerException" type="org.springframework.beans.factory.BeanDefinitionStoreException">org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [org/eclipse/gemini/blueprint/blueprint/config/nested-elements.xml]; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.eclipse.gemini.blueprint.blueprint.config.NestedElementsTest.setUp(NestedElementsTest.java:46)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.lang.NullPointerException
at java.io.Writer.<init>(Writer.java:71)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:92)
at java.io.PrintWriter.<init>(PrintWriter.java:110)
at java.io.PrintWriter.<init>(PrintWriter.java:93)
at com.sun.org.apache.xerces.internal.util.DefaultErrorHandler.<init>(DefaultErrorHandler.java:51)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:286)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:266)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.<init>(XMLSchemaValidator.java:1109)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.configurePipeline(XML11Configuration.java:1149)
at com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.configurePipeline(XIncludeAwareParserConfiguration.java:151)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:778)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
... 32 more
</error>
</testcase>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="0.001" errors="1" skipped="0" tests="1" name="org.eclipse.gemini.blueprint.DictionaryEditorTest">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/amd64"/>
<property name="java.vm.version" value="20.14-b01"/>
<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
<property name="java.vendor.url" value="http://java.sun.com/"/>
<property name="path.separator" value=":"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.country" value="FR"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="/media/mozg_hdd/projects/gemini-blueprint/repo"/>
<property name="java.runtime.version" value="1.6.0_43-b01"/>
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="/tmp"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
<property name="os.name" value="Linux"/>
<property name="classworlds.conf" value="/media/mozg_hdd/projects/gemini-blueprint/maven/bin/m2.conf"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.library.path" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/amd64/server:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/amd64:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="50.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="3.2.0-29-generic"/>
<property name="user.home" value="/home/shutyaev"/>
<property name="user.timezone" value="Europe/Moscow"/>
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.specification.version" value="1.6"/>
<property name="user.name" value="shutyaev"/>
<property name="java.class.path" value="/media/mozg_hdd/projects/gemini-blueprint/maven/boot/plexus-classworlds-2.4.jar"/>
<property name="java.vm.specification.version" value="1.0"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean test -Pit,equinox"/>
<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
<property name="user.language" value="fr"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.6.0_43"/>
<property name="java.ext.dirs" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/ext:/usr/java/packages/lib/ext"/>
<property name="securerandom.source" value="file:/dev/./urandom"/>
<property name="sun.boot.class.path" value="/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/resources.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/rt.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/sunrsasign.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/jsse.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/jce.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/charsets.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/lib/modules/jdk.boot.jar:/media/mozg_hdd/projects/gemini-blueprint/jdk6/jre/classes"/>
<property name="java.vendor" value="Sun Microsystems Inc."/>
<property name="maven.home" value="/media/mozg_hdd/projects/gemini-blueprint/maven"/>
<property name="file.separator" value="/"/>
<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="gnome"/>
<property name="sun.cpu.isalist" value=""/>
</properties>
<testcase time="0" classname="org.eclipse.gemini.blueprint.DictionaryEditorTest" name="testSanity">
<error type="java.lang.NullPointerException">java.lang.NullPointerException
at org.eclipse.gemini.blueprint.DictionaryEditorTest.testSanity(DictionaryEditorTest.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:79)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
</error>
</testcase>
</testsuite>