[ 
https://issues.apache.org/jira/browse/NIFI-3940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016836#comment-16016836
 ] 

ASF GitHub Bot commented on NIFI-3940:
--------------------------------------

Github user joewitt commented on the issue:

    https://github.com/apache/nifi/pull/1827
  
    Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.231 sec 
<<< FAILURE! - in org.apache.nifi.processors.script.TestExecuteJRuby
    
testReadFlowFileContentAndStoreInFlowFileAttribute(org.apache.nifi.processors.script.TestExecuteJRuby)
  Time elapsed: 1.205 sec  <<< FAILURE!
    java.lang.AssertionError: java.lang.NoSuchFieldError: O_TMPFILE
        at 
org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:201)
        at 
org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:160)
        at 
org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:155)
        at 
org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:150)
        at 
org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:145)
        at 
org.apache.nifi.processors.script.TestExecuteJRuby.testReadFlowFileContentAndStoreInFlowFileAttribute(TestExecuteJRuby.java:52)
    Caused by: java.lang.NoSuchFieldError: O_TMPFILE
        at org.jruby.RubyFile.createFileClass(RubyFile.java:202)
        at org.jruby.Ruby.initCore(Ruby.java:1490)
        at org.jruby.Ruby.bootstrap(Ruby.java:1274)
        at org.jruby.Ruby.init(Ruby.java:1173)
        at org.jruby.Ruby.newInstance(Ruby.java:338)
        at 
org.jruby.embed.internal.AbstractLocalContextProvider.getGlobalRuntime(AbstractLocalContextProvider.java:82)
        at 
org.jruby.embed.internal.SingletonLocalContextProvider.getRuntime(SingletonLocalContextProvider.java:99)
        at 
org.jruby.embed.internal.BiVariableMap.getRuntime(BiVariableMap.java:109)
        at 
org.jruby.embed.internal.BiVariableMap.getTopSelf(BiVariableMap.java:241)
        at 
org.jruby.embed.internal.BiVariableMap.getReceiverObject(BiVariableMap.java:237)
        at org.jruby.embed.internal.BiVariableMap.put(BiVariableMap.java:332)
        at org.jruby.embed.ScriptingContainer.put(ScriptingContainer.java:1185)
        at org.jruby.embed.jsr223.Utils.put(Utils.java:234)
        at org.jruby.embed.jsr223.Utils.preEval(Utils.java:109)
        at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:88)
        at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:142)
        at 
org.apache.nifi.processors.script.ExecuteScript.onTrigger(ExecuteScript.java:220)
        at 
org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:251)
        at 
org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:245)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)


> older jruby-complete artifacts contained LGPL code
> --------------------------------------------------
>
>                 Key: NIFI-3940
>                 URL: https://issues.apache.org/jira/browse/NIFI-3940
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.2.0
>            Reporter: Joseph Witt
>            Assignee: Joseph Witt
>            Priority: Blocker
>             Fix For: 1.3.0
>
>
> From Mike Drob's report to legal
> Legal,
> I recently got done working with the JRuby dev team on an issue where they 
> were inadvertently including LGPL code in the jruby-complete jar for versions 
> 9.0.0.0 - 9.1.8.0.
> I'm not sure if we have a good mechanism for tracking which projects are 
> using/bundling JRuby, but it would be good to let them know that they should 
> consider updating for license reasons.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to