lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #397: POMs out of sync
Date Tue, 21 Feb 2012 19:08:27 GMT
I committed a fix for this in r1291958.  (This same thing showed up in the Jenkins Maven 3.x
build a month ago, and at that time I didn't apply the fix to trunk, thinking it would only
affect the Java5-using 3.x build, but apparently this is also a problem under Java6 on Jenkins.)

> -----Original Message-----
> From: Apache Jenkins Server [mailto:jenkins@builds.apache.org]
> Sent: Tuesday, February 21, 2012 1:47 PM
> To: dev@lucene.apache.org
> Subject: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #397: POMs out of sync
> 
> Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/397/
> 
> 3 tests failed.
> FAILED:
> org.apache.solr.handler.dataimport.TestScriptTransformer.testOneparam
> 
> Error Message:
> <script> can be used only in java 6 or above Processing Document # 1
> 
> Stack Trace:
> org.apache.solr.handler.dataimport.DataImportHandlerException: <script>
> can be used only in java 6 or above Processing Document # 1
> 	at
> org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow
> (DataImportHandlerException.java:72)
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.initEngine(ScriptTran
> sformer.java:93)
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.transformRow(ScriptTr
> ansformer.java:53)
> 	at
> org.apache.solr.handler.dataimport.EntityProcessorWrapper.applyTransformer
> (EntityProcessorWrapper.java:192)
> 	at
> org.apache.solr.handler.dataimport.TestScriptTransformer.testOneparam(Test
> ScriptTransformer.java:85)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
> d.java:45)
> 	at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
> .java:15)
> 	at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
> java:42)
> 	at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j
> ava:20)
> 	at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
> 28)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30
> )
> 	at
> org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:707)
> 	at
> org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:606)
> 	at
> org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate
> (LuceneTestCase.java:511)
> 	at
> org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(Lucene
> TestCase.java:569)
> 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j
> ava:68)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:165)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:57)
> 	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
> 28)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30
> )
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
> 53)
> 	at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provi
> der.java:123)
> 	at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java
> :104)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refle
> ctionUtils.java:164)
> 	at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Prov
> iderFactory.java:110)
> 	at
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireSt
> arter.java:175)
> 	at
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFor
> ked(SurefireStarter.java:107)
> 	at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
> Caused by: java.lang.NullPointerException
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.initEngine(ScriptTran
> sformer.java:88)
> 	... 42 more
> 
> 
> FAILED:
> org.apache.solr.handler.dataimport.TestScriptTransformer.testBasic
> 
> Error Message:
> <script> can be used only in java 6 or above Processing Document # 1
> 
> Stack Trace:
> org.apache.solr.handler.dataimport.DataImportHandlerException: <script>
> can be used only in java 6 or above Processing Document # 1
> 	at
> org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow
> (DataImportHandlerException.java:72)
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.initEngine(ScriptTran
> sformer.java:93)
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.transformRow(ScriptTr
> ansformer.java:53)
> 	at
> org.apache.solr.handler.dataimport.EntityProcessorWrapper.applyTransformer
> (EntityProcessorWrapper.java:192)
> 	at
> org.apache.solr.handler.dataimport.TestScriptTransformer.testBasic(TestScr
> iptTransformer.java:53)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
> d.java:45)
> 	at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
> .java:15)
> 	at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
> java:42)
> 	at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j
> ava:20)
> 	at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
> 28)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30
> )
> 	at
> org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:707)
> 	at
> org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:606)
> 	at
> org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate
> (LuceneTestCase.java:511)
> 	at
> org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(Lucene
> TestCase.java:569)
> 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j
> ava:68)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:165)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:57)
> 	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
> 28)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30
> )
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
> 53)
> 	at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provi
> der.java:123)
> 	at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java
> :104)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refle
> ctionUtils.java:164)
> 	at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Prov
> iderFactory.java:110)
> 	at
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireSt
> arter.java:175)
> 	at
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFor
> ked(SurefireStarter.java:107)
> 	at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
> Caused by: java.lang.NullPointerException
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.initEngine(ScriptTran
> sformer.java:88)
> 	... 42 more
> 
> 
> FAILED:
> org.apache.solr.handler.dataimport.TestScriptTransformer.testCheckScript
> 
> Error Message:
> <script> can be used only in java 6 or above Processing Document # 1
> 
> Stack Trace:
> org.apache.solr.handler.dataimport.DataImportHandlerException: <script>
> can be used only in java 6 or above Processing Document # 1
> 	at
> org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow
> (DataImportHandlerException.java:72)
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.initEngine(ScriptTran
> sformer.java:93)
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.transformRow(ScriptTr
> ansformer.java:53)
> 	at
> org.apache.solr.handler.dataimport.EntityProcessorWrapper.applyTransformer
> (EntityProcessorWrapper.java:192)
> 	at
> org.apache.solr.handler.dataimport.TestScriptTransformer.testCheckScript(T
> estScriptTransformer.java:125)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
> d.java:45)
> 	at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
> .java:15)
> 	at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
> java:42)
> 	at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j
> ava:20)
> 	at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
> 28)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30
> )
> 	at
> org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:707)
> 	at
> org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:606)
> 	at
> org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate
> (LuceneTestCase.java:511)
> 	at
> org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(Lucene
> TestCase.java:569)
> 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j
> ava:68)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:165)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:57)
> 	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
> 28)
> 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30
> )
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
> 53)
> 	at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provi
> der.java:123)
> 	at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java
> :104)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refle
> ctionUtils.java:164)
> 	at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Prov
> iderFactory.java:110)
> 	at
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireSt
> arter.java:175)
> 	at
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFor
> ked(SurefireStarter.java:107)
> 	at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
> Caused by: java.lang.NullPointerException
> 	at
> org.apache.solr.handler.dataimport.ScriptTransformer.initEngine(ScriptTran
> sformer.java:88)
> 	... 42 more
> 
> 
> 
> 
> Build Log (for compile errors):
> [...truncated 28191 lines...]
> 

Mime
View raw message