hmm that error might be coming because of updated clojure version. 
can you try adding this to storm-core/src/clj/backtype/storm/stats.clj
  (:refer-clojure :exclude [some?])
some? is being used in other files you need exclude that from importing.

I am able to build without all these changes. Here is my env info
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T09:37:52-08:00)
Maven home: /home/harsha/code/apache-maven-3.2.1
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_55/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.el6.x86_64", arch: "amd64",
family: "unix" 

On Fri, May 23, 2014, at 06:26 PM, Justin Workman wrote:
> No luck. I updated to parent pom.xml clojure version to 1.6.0 and also
> updated the clojure-maven-plugin to be 1.3.20 form 1.3.18 and I still get
> the very generic error message.
> 
> However, I setup a Centos 6 system and attempted the build and I do get
> the
> compile error, and I am still lost on how to resolve.
> 
> Compile error:
> [INFO] --- clojure-maven-plugin:1.3.20:compile (compile-clojure) @
> storm-core ---
> Compiling backtype.storm.stats to
> /home/jworkman/incubator-storm/storm-core/target/classes
> WARNING: some? already refers to: #'clojure.core/some? in namespace:
> backtype.storm.util, being replaced by: #'backtype.storm.util/some?
> Exception in thread "main" java.lang.NullPointerException,
> compiling:(stats.clj:16:1)
>         at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3558)
>         at clojure.lang.Compiler.compile1(Compiler.java:7226)
>         at clojure.lang.Compiler.compile1(Compiler.java:7216)
>         at clojure.lang.Compiler.compile(Compiler.java:7292)
>         at clojure.lang.RT.compile(RT.java:398)
>         at clojure.lang.RT.load(RT.java:438)
>         at clojure.lang.RT.load(RT.java:411)
>         at clojure.core$load$fn__5066.invoke(core.clj:5641)
>         at clojure.core$load.doInvoke(core.clj:5640)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at clojure.core$load_one.invoke(core.clj:5446)
>         at clojure.core$compile$fn__5071.invoke(core.clj:5652)
>         at clojure.core$compile.invoke(core.clj:5651)
>         at clojure.lang.Var.invoke(Var.java:379)
>         at clojure.lang.Compile.main(Compile.java:81)
> Caused by: java.lang.NullPointerException
>         at clojure.lang.Compiler$ObjExpr.emitVar(Compiler.java:4944)
>         at clojure.lang.Compiler$DefExpr.emit(Compiler.java:437)
>         at clojure.lang.Compiler.compile1(Compiler.java:7225)
>         at clojure.lang.Compiler.compile(Compiler.java:7292)
>         at clojure.lang.RT.compile(RT.java:398)
>         at clojure.lang.RT.load(RT.java:438)
>         at clojure.lang.RT.load(RT.java:411)
>         at clojure.core$load$fn__5066.invoke(core.clj:5641)
>         at clojure.core$load.doInvoke(core.clj:5640)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at clojure.core$load_one.invoke(core.clj:5446)
>         at clojure.core$load_lib$fn__5015.invoke(core.clj:5486)
>         at clojure.core$load_lib.doInvoke(core.clj:5485)
>         at clojure.lang.RestFn.applyTo(RestFn.java:142)
>         at clojure.core$apply.invoke(core.clj:626)
>         at clojure.core$load_libs.doInvoke(core.clj:5528)
>         at clojure.lang.RestFn.applyTo(RestFn.java:137)
>         at clojure.core$apply.invoke(core.clj:628)
>         at clojure.core$use.doInvoke(core.clj:5618)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at
>         backtype.storm.stats$loading__4958__auto__.invoke(stats.clj:16)
>         at clojure.lang.AFn.applyToHelper(AFn.java:152)
>         at clojure.lang.AFn.applyTo(AFn.java:144)
>         at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3553)
>         ... 14 more
> 
> Thanks
> Justin
> 
> 
> 
> On Fri, May 23, 2014 at 4:07 PM, Derek Dagit <[email protected]>
> wrote:
> 
> > I think there was a bug in clojure that prevented the output from printing.
> >
> > Try with clojure 1.6.0 and see if the actual compile error shows up.
> >
> > --
> > Derek
> >
> >
> > On 5/23/14, 16:57, Justin Workman wrote:
> >
> >> Absolutely
> >>
> >> OS: Ubuntu 12.04
> >> mvn -version:
> >> Apache Maven 3.0.4
> >> Maven home: /usr/share/maven
> >> Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
> >> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> >> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> >> OS name: "linux", version: "3.2.0-60-generic", arch: "amd64", family:
> >> "unix"mvn
> >>
> >> I do have Oracle JDK 1.7.0_60 installed and have also tried to build the
> >> project with this JDK with the same result. I will try and setup a Centos
> >> box to test there.
> >>
> >> Thanks
> >> Justin
> >>
> >>
> >>
> >> On Fri, May 23, 2014 at 3:39 PM, Harsha <[email protected]> wrote:
> >>
> >>  Hi Justin,
> >>>           Can you give us bit more details on java version and on which
> >>>           os. I just did a quick build on centos using java 1.7.0_55 .
> >>>   maven-clojure-plugin is not that helpful in checking where is the error
> >>>   in clojure code.
> >>> -Harsha
> >>>
> >>> On Fri, May 23, 2014, at 01:47 PM, Justin Workman wrote:
> >>>
> >>>> I have seen this question a couple of times, but for the life of me, I
> >>>> cannot get around it and have not seen an answer that resolves it. Here
> >>>> is
> >>>> the process I am walking through.
> >>>>
> >>>> # git clone https://github.com/apache/incubator-storm
> >>>> # cd incubator-storm
> >>>> # git checkout master
> >>>> Already on 'master'
> >>>>
> >>>> ** Before building I had to add the kryo dependency to the parent pom
> >>>> and
> >>>> the storm-core pom.xml files
> >>>>
> >>>> # mvn -e clean install
> >>>>
> >>>> This is where it fails with the following stack trace. There were no
> >>>> errors
> >>>> in the output prior to this error, and passing the -X flag for debug
> >>>> does
> >>>> not produce any other details. Any help getting past this will be
> >>>> greatly
> >>>> appreciated.
> >>>>
> >>>> Thanks
> >>>> Justin
> >>>>
> >>>> [ERROR] Failed to execute goal
> >>>> com.theoryinpractise:clojure-maven-plugin:1.3.18:compile
> >>>> (compile-clojure)
> >>>> on project storm-core: Clojure failed. -> [Help 1]
> >>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >>>> execute
> >>>> goal com.theoryinpractise:clojure-maven-plugin:1.3.18:compile
> >>>> (compile-clojure) on project storm-core: Clojure failed.
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> >>> MojoExecutor.java:217)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> >>> MojoExecutor.java:153)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> >>> MojoExecutor.java:145)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> >>> buildProject(LifecycleModuleBuilder.java:84)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> >>> buildProject(LifecycleModuleBuilder.java:59)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.LifecycleStarter.
> >>> singleThreadedBuild(LifecycleStarter.java:183)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.LifecycleStarter.
> >>> execute(LifecycleStarter.java:161)
> >>>
> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>> at
> >>>>
> >>>>  sun.reflect.NativeMethodAccessorImpl.invoke(
> >>> NativeMethodAccessorImpl.java:57)
> >>>
> >>>> at
> >>>>
> >>>>  sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >>> DelegatingMethodAccessorImpl.java:43)
> >>>
> >>>> at java.lang.reflect.Method.invoke(Method.java:622)
> >>>> at
> >>>>
> >>>>  org.codehaus.plexus.classworlds.launcher.Launcher.
> >>> launchEnhanced(Launcher.java:290)
> >>>
> >>>> at
> >>>>
> >>>>  org.codehaus.plexus.classworlds.launcher.Launcher.
> >>> launch(Launcher.java:230)
> >>>
> >>>> at
> >>>>
> >>>>  org.codehaus.plexus.classworlds.launcher.Launcher.
> >>> mainWithExitCode(Launcher.java:409)
> >>>
> >>>> at
> >>>> org.codehaus.plexus.classworlds.launcher.Launcher.
> >>>> main(Launcher.java:352)
> >>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Clojure
> >>>> failed.
> >>>> at
> >>>>
> >>>>  com.theoryinpractise.clojure.AbstractClojureCompilerMojo.
> >>> callClojureWith(AbstractClojureCompilerMojo.java:451)
> >>>
> >>>> at
> >>>>
> >>>>  com.theoryinpractise.clojure.AbstractClojureCompilerMojo.
> >>> callClojureWith(AbstractClojureCompilerMojo.java:367)
> >>>
> >>>> at
> >>>>
> >>>>  com.theoryinpractise.clojure.AbstractClojureCompilerMojo.
> >>> callClojureWith(AbstractClojureCompilerMojo.java:344)
> >>>
> >>>> at
> >>>>
> >>>>  com.theoryinpractise.clojure.ClojureCompilerMojo.execute(
> >>> ClojureCompilerMojo.java:47)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> >>> DefaultBuildPluginManager.java:101)
> >>>
> >>>> at
> >>>>
> >>>>  org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> >>> MojoExecutor.java:209)
> >>>
> >>>> ... 19 more
> >>>>
> >>>
> >>>
> >>

Reply via email to