public inbox for [email protected]  
help / color / mirror / Atom feed
[Pljava-dev] PL/JAVA extension Compile Error
3+ messages / 3 participants
[nested] [flat]

* [Pljava-dev] PL/JAVA extension Compile Error
@ 2016-11-15 00:46  er.sumitwadhwa <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: er.sumitwadhwa @ 2016-11-15 00:46 UTC (permalink / raw)

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
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [Pljava-dev] PL/JAVA extension Compile Error
@ 2016-11-15 02:32  Chapman Flack <[email protected]>
  parent: er.sumitwadhwa <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Chapman Flack @ 2016-11-15 02:32 UTC (permalink / raw)

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
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PL/JAVA extension Compile Error
@ 2016-11-15 17:47  Sumit Wadhwa <[email protected]>
  parent: Chapman Flack <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Sumit Wadhwa @ 2016-11-15 17:47 UTC (permalink / raw)

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 <[email protected]>
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
>
>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-11-15 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15 00:46 [Pljava-dev] PL/JAVA extension Compile Error er.sumitwadhwa <[email protected]>
2016-11-15 02:32 ` Chapman Flack <[email protected]>
2016-11-15 17:47   ` Sumit Wadhwa <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox