incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <mmo...@apache.org>
Subject Re: Building S4 piper
Date Fri, 22 Jun 2012 13:06:24 GMT
Hi Mariano,

if you haven't resolved this issue, it would be great if you could file 
a bug on the jira system, so we can keep track of this.

Thanks!

Matthieu

On 6/20/12 3:51 PM, Mariano Vallés wrote:
> Hi again,
> I tried removing both ~/.gradle and ~/.m2 and that certainly fixed the
> slf4j issue. Some of the dev jars might have interfered.
>
> But I am still getting a Null pointer exception in the mojo.execute()
> (line 45) of ..s4-edsl/s4-edsl.gradle
>
> Anyways, It compiled with no issues on a Mac.
> I assume it's something to do with my Linux version being quite
> outdated ( Red Hat Linux 5 , JRE 1.6.0_13)
>
> Thanks.
> Mariano
>
>
> On Wed, Jun 20, 2012 at 12:26 PM, Matthieu Morel<mmorel@apache.org>  wrote:
>> Hi Mariano,
>>
>> I just rebuilt from a clean environment on a linux box, and could not
>> reproduce any of these issues.
>>
>> You may have some leftovers from previous installations. Can you check that?
>> (you may have to clean ~/.gradle directory)
>>
>> Let us know,
>>
>> Thanks!
>>
>> Matthieu
>>
>>
>> On 6/20/12 12:12 PM, Mariano Vallés wrote:
>>>
>>> Hi,
>>> I wanted to go through the S4 piper walkthrough today, but I failed
>>> while trying to build the piper branch.
>>> I am using a linux box with Java 1.6.
>>>
>>> I checked out the code from the Apache Git repo, checked out piper and
>>> tried
>>>
>>> ./gradlew install -DskipTests
>>>
>>> The first error I had was with slf4j, gradle reported the jar couldn't
>>> be found. So I changed 1.6.1 for 1.6.6, although I don't know how safe
>>> that is.
>>> build.gradle now looks like:
>>>
>>> slf4j:              'org.slf4j:slf4j-api:1.6.6',
>>>
>>> As I moved on now I am getting an exception with the s4-edsl component
>>> I enclose the error message and welcome any suggestions
>>> Thanks
>>> Mariano
>>>
>>> 12:03:26.133 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE:
>>> Build failed with an exception.
>>> 12:03:26.134 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 12:03:26.134 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
>>> 12:03:26.135 [ERROR] [org.gradle.BuildExceptionReporter] Build file
>>> '/home/valles/programming/piper/subprojects/s4-edsl/s4-edsl.gradle'
>>> line: 45
>>> 12:03:26.136 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 12:03:26.137 [ERROR] [org.gradle.BuildExceptionReporter] * What went
>>> wrong:
>>> 12:03:26.137 [ERROR] [org.gradle.BuildExceptionReporter] Execution
>>> failed for task ':s4-edsl:generateSources'.
>>> 12:03:26.138 [ERROR] [org.gradle.BuildExceptionReporter]>
>>> java.lang.NullPointerException (no error message)
>>> 12:03:26.138 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 12:03:26.138 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]
>>> org.gradle.api.tasks.TaskExecutionException: Execution failed for task
>>> ':s4-edsl:generateSources'.
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:68)
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34)
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter$1.run(CacheLockHandlingTaskExecuter.java:34)
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultCacheAccess$2.create(DefaultCacheAccess.java:200)
>>> 12:03:26.139 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:172)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:198)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunningOperation(DefaultPersistentDirectoryStore.java:111)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCacheAccess.longRunningOperation(DefaultTaskArtifactStateCacheAccess.java:83)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter.execute(CacheLockHandlingTaskExecuter.java:32)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41)
>>> 12:03:26.140 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:247)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:192)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:177)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:83)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:36)
>>> 12:03:26.141 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExecuter$1.run(TaskCacheLockHandlingBuildExecuter.java:31)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultCacheAccess$1.create(DefaultCacheAccess.java:111)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:126)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:109)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:103)
>>> 12:03:26.142 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCacheAccess.useCache(DefaultTaskArtifactStateCacheAccess.java:79)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExecuter.execute(TaskCacheLockHandlingBuildExecuter.java:29)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54)
>>> 12:03:26.143 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
>>> 12:03:26.144 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.Main.doAction(Main.java:48)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.Main.main(Main.java:39)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32)
>>> 12:03:26.145 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.launcher.GradleMain.main(GradleMain.java:24)
>>> 12:03:26.152 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:47)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter] Caused by:
>>> java.lang.NullPointerException
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> net.ericaro.diezel.core.builder.DiezelImplementationBuilder.buildGraph(DiezelImplementationBuilder.java:86)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> net.ericaro.diezel.core.builder.DiezelImplementationBuilder.build(DiezelImplementationBuilder.java:66)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> net.ericaro.diezel.core.Diezel.generate(Diezel.java:57)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> net.ericaro.diezel.plugin.DiezelMojo.processDiezel(DiezelMojo.java:197)
>>> 12:03:26.153 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> net.ericaro.diezel.plugin.DiezelMojo.execute(DiezelMojo.java:171)
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>> org.apache.maven.plugin.Mojo$execute.call(Unknown Source)
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> s4_edsl_2jop2s78hvhn7fekpgfmeuns4s$_run_closure3.doCall(/home/valles/programming/piper/subprojects/s4-edsl/s4-edsl.gradle:45)
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:452)
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:436)
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]        at
>>>
>>> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:60)
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]        ... 56
>>> more
>>> 12:03:26.154 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 12:03:26.154 [LIFECYCLE] [org.gradle.BuildResultLogger]
>>> 12:03:26.155 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
>>
>>


Mime
View raw message