You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by ddewaele <dd...@gmail.com> on 2016/12/29 10:26:37 UTC

Building nifi locally on my mac

When I try to create a local build of nifi on my mac I always get the
following test error : (on CentOS it works fine).

Any idea what is causing this and how this can be fixed ?





--
View this message in context: http://apache-nifi-users-list.2361937.n4.nabble.com/Building-nifi-locally-on-my-mac-tp542.html
Sent from the Apache NiFi Users List mailing list archive at Nabble.com.

Re: Building nifi locally on my mac

Posted by ddewaele <dd...@gmail.com>.
It was indeed the JDK version. Thx.

It seems my stacktrace got lost in the emails (using nabble as a frontend).



--
View this message in context: http://apache-nifi-users-list.2361937.n4.nabble.com/Building-nifi-locally-on-my-mac-tp542p549.html
Sent from the Apache NiFi Users List mailing list archive at Nabble.com.

Re: Building nifi locally on my mac

Posted by Oleg Zhurakousky <oz...@hortonworks.com>.
Actually it may be related to the known JDK issue that has been reported several times.
Does it look something like this (see below)? If so then please upgrade your JDK to something newer. Something above 1.8.0_65

Cheers
Oleg
. . .
testReadFlowFileContentAndStoreInFlowFileAttribute(org.apache.nifi.processors.script.TestInvokeJavascript)  Time elapsed: 0.206 sec  <<< FAILURE!
java.lang.AssertionError: Processor has 1 validation failures:
'Validation' validated against 'target/test/resources/javascript/test_reader.js' is invalid because An error occurred calling validate in the configured script Processor.

       at org.junit.Assert.fail(Assert.java:88)
       at org.apache.nifi.util.MockProcessContext.assertValid(MockProcessContext.java:251)
       at org.apache.nifi.util.StandardProcessorTestRunner.assertValid(StandardProcessorTestRunner.java:334)
       at org.apache.nifi.processors.script.TestInvokeJavascript.testReadFlowFileContentAndStoreInFlowFileAttribute(TestInvokeJavascript.java:59)

testScriptDefinedRelationship(org.apache.nifi.processors.script.TestInvokeJavascript)  Time elapsed: 0.102 sec  <<< FAILURE!
java.lang.AssertionError: null
       at org.junit.Assert.fail(Assert.java:86)
       at org.junit.Assert.assertTrue(Assert.java:41)
       at org.junit.Assert.assertTrue(Assert.java:52)
       at org.apache.nifi.processors.script.TestInvokeJavascript.testScriptDefinedRelationship(TestInvokeJavascript.java:128)

. . .

On Dec 29, 2016, at 10:11 AM, Joe Percivall <jp...@apache.org>> wrote:

Hello,

I don't see any text between "... test error :" and "(on CentOS it works fine)". Could you try reformatting and resending?


Joe
On Thu, Dec 29, 2016 at 5:26 AM, ddewaele <dd...@gmail.com>> wrote:
When I try to create a local build of nifi on my mac I always get the
following test error : (on CentOS it works fine).

Any idea what is causing this and how this can be fixed ?





--
View this message in context: http://apache-nifi-users-list.2361937.n4.nabble.com/Building-nifi-locally-on-my-mac-tp542.html
Sent from the Apache NiFi Users List mailing list archive at Nabble.com<http://nabble.com>.



--

- - - - - -
Joseph Percivall
linkedin.com/in/Percivall<http://linkedin.com/in/Percivall>
e: jpercivall@apache.com<ma...@apache.com>


Re: Building nifi locally on my mac

Posted by Joe Percivall <jp...@apache.org>.
Hello,

I don't see any text between "... test error :" and "(on CentOS it works
fine)". Could you try reformatting and resending?


Joe
On Thu, Dec 29, 2016 at 5:26 AM, ddewaele <dd...@gmail.com> wrote:

> When I try to create a local build of nifi on my mac I always get the
> following test error : (on CentOS it works fine).
>
> Any idea what is causing this and how this can be fixed ?
>
>
>
>
>
> --
> View this message in context: http://apache-nifi-users-list.
> 2361937.n4.nabble.com/Building-nifi-locally-on-my-mac-tp542.html
> Sent from the Apache NiFi Users List mailing list archive at Nabble.com.
>



-- 

- - - - - -
*Joseph Percivall*
linkedin.com/in/Percivall
e: jpercivall@apache.com