Lists: | Postg토토 핫SQL : Postg토토 핫SQL 메일 링리스트 : 2016-11-15 02:32 이후 Pljava-Dev. |
---|
From: | "er(dot)sumitwadhwa" <er(dot)sumitwadhwa(at)gmail(dot)com> |
---|---|
To: | |
Subject: | [Pljava-dev] PL/JAVA extension Compile Error |
Date: | 2016-11-15 00:46:09 |
Message-ID: | 1479170768863-5930333.post@n3.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
We are getting the following Compile error while installing the PL/JAVA
extension on the Postgres DB Any help is appreciated ?
[ERROR] Failed to execute goal
com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile
(default-nar-compile) on project pljava-so: Execution default-nar-compile of
goal com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile failed.
NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile
(default-nar-compile) on project pljava-so: Execution default-nar-compile of
goal com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile failed.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-nar-compile of goal
com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile failed.
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.NullPointerException
at
com.github.maven_nar.cpptasks.gcc.GppLinker.isClang(GppLinker.java:321)
at
com.github.maven_nar.cpptasks.gcc.GppLinker.addImpliedArgs(GppLinker.java:163)
at
com.github.maven_nar.cpptasks.compiler.CommandLineLinker.createConfiguration(CommandLineLinker.java:156)
at
com.github.maven_nar.cpptasks.compiler.AbstractLinker.createConfiguration(AbstractLinker.java:86)
at
com.github.maven_nar.cpptasks.ProcessorDef.createConfiguration(ProcessorDef.java:203)
at
com.github.maven_nar.cpptasks.CCTask.collectExplicitObjectFiles(CCTask.java:438)
at com.github.maven_nar.cpptasks.CCTask.execute(CCTask.java:585)
at
com.github.maven_nar.NarCompileMojo.createLibrary(NarCompileMojo.java:448)
at
com.github.maven_nar.NarCompileMojo.narExecute(NarCompileMojo.java:122)
at
com.github.maven_nar.AbstractNarMojo.execute(AbstractNarMojo.java:302)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
--
View this message in context: http://postgresql.nabble.com/PL-JAVA-extension-Compile-Error-tp5930333.html
Sent from the PL/Java mailing list archive at Nabble.com.
_______________________________________________
Pljava-dev mailing list
Pljava-dev(at)lists(dot)pgfoundry(dot)org
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
From: | Chapman Flack <chap(at)anastigmatix(dot)net> |
---|---|
To: | |
Subject: | Re: [Pljava-dev] PL/JAVA extension Compile Error |
Date: | 2016-11-15 02:32:54 |
Message-ID: | 582A73D6.30408@anastigmatix.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 핫SQL : Postg토토 핫SQL 메일 링리스트 : 2016-11-15 02:32 이후 Pljava-Dev. |
On 11/14/16 19:46, er.sumitwadhwa wrote:
> We are getting the following Compile error while installing the PL/JAVA
> extension on the Postgres DB Any help is appreciated ?
> ...
> Caused by: java.lang.NullPointerException
> at
> com.github.maven_nar.cpptasks.gcc.GppLinker.isClang(GppLinker.java:321)
> ...
Hi,
Could you please describe the version of PostgreSQL, Java, your
operating system, and compilation toolchain?
Thanks,
-Chap
_______________________________________________
Pljava-dev mailing list
Pljava-dev(at)lists(dot)pgfoundry(dot)org
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
From: | Sumit Wadhwa <er(dot)sumitwadhwa(at)gmail(dot)com> |
---|---|
To: | |
Subject: | Re: PL/JAVA extension Compile Error |
Date: | 2016-11-15 17:47:53 |
Message-ID: | CAK-PE61L5jio-bNaOKP-jYEN6STjE34-jPwJjXb_utsJi6yCEg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg윈 토토SQL : Postg윈 토토SQL 메일 링리스트 : 2016-11-15 이후 Pljava-Dev 17:47 |
Thanks for responding.Here are the details :
Postgresql 9.4
Java
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
Oracle linux 6.7 kernel 3.8
On Mon, Nov 14, 2016 at 6:32 PM, Chapman Flack <chap(at)anastigmatix(dot)net>
wrote:
> On 11/14/16 19:46, er.sumitwadhwa wrote:
> > We are getting the following Compile error while installing the PL/JAVA
> > extension on the Postgres DB Any help is appreciated ?
> > ...
> > Caused by: java.lang.NullPointerException
> > at
> > com.github.maven_nar.cpptasks.gcc.GppLinker.isClang(GppLinker.java:321)
> > ...
>
> Hi,
>
> Could you please describe the version of PostgreSQL, Java, your
> operating system, and compilation toolchain?
>
> Thanks,
> -Chap
>
>