Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-919

smx-components-2013.01.0.redhat-6-1-x-stable ScriptingComponentTest has intermittent failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • jboss-fuse-6.1
    • jboss-fuse-6.1
    • None
    • None
    • % %

    Description

      The ScriptingComponentTest testJRubyInOut and testJRubyInOnly tests fail intermittently with the errors shown below. There is already a comment in the code about needing to run them first because of the ArrayJavaProxy is already defined error, but that still occurs even if they are run first.

      I will rename these test cases so they will be ignored for now.

      Error Message

      org.jruby.embed.EvalFailedException: (NameError) ArrayJavaProxy is already defined
      Stacktrace

      javax.script.ScriptException: org.jruby.embed.EvalFailedException: (NameError) ArrayJavaProxy is already defined
      at org.jruby.embed.jsr223.JRubyCompiledScript.wrapException(JRubyCompiledScript.java:103)
      at org.jruby.embed.jsr223.JRubyCompiledScript.eval(JRubyCompiledScript.java:92)
      at org.jruby.embed.jsr223.JRubyCompiledScript.eval(JRubyCompiledScript.java:77)
      at org.apache.servicemix.scripting.ScriptingEndpoint.process(ScriptingEndpoint.java:295)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:694)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:651)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeWithoutTx(AsyncBaseLifeCycle.java:608)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:601)
      at org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:62)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:632)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:185)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
      at org.apache.servicemix.executors.impl.ExecutorImpl$1.run(ExecutorImpl.java:64)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.jruby.embed.EvalFailedException: (NameError) ArrayJavaProxy is already defined
      at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
      at org.jruby.embed.jsr223.JRubyCompiledScript.eval(JRubyCompiledScript.java:86)
      ... 15 more
      Caused by: org.jruby.exceptions.RaiseException: (NameError) ArrayJavaProxy is already defined
      at RUBY.(root)(<script>:20)
      Standard Error

      NameError: ArrayJavaProxy is already defined
      (root) at <script>:20

      Attachments

        Activity

          People

            gertv_jira Gert Vanthienen (Inactive)
            kearls@redhat.com Kevin Earls (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: