Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-288

Failed to run org.jberet.testapps.throttle.ThrottleIT tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2.2.Final, 1.3.0.Beta4
    • 1.2.1.Final
    • tests
    • None

    Description

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      ERROR: JBERET000007: Failed to run job throttle, throttle.step1, org.jberet.job.model.Chunk@3a5cfef3
      java.lang.IllegalStateException: JBERET000600: Failed to create artifact with ref name integerArrayReader.  Ensure CDI beans.xml is present and batch.xml, if any, is configured properly.
      	at org.jberet.runtime.context.JobContextImpl.createArtifact(JobContextImpl.java:185)
      	at org.jberet.runtime.runner.AbstractRunner.createArtifact(AbstractRunner.java:156)
      	at org.jberet.runtime.runner.ChunkRunner.run(ChunkRunner.java:134)
      	at org.jberet.spi.JobExecutor$2.run(JobExecutor.java:111)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization
      	at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerState(BeanManagerProxy.java:242)
      	at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:84)
      	at org.jberet.se.SEArtifactFactory.create(SEArtifactFactory.java:42)
      	at org.jberet.creation.ArtifactFactoryWrapper.create(ArtifactFactoryWrapper.java:39)
      	at org.jberet.runtime.context.JobContextImpl.createArtifact(JobContextImpl.java:183)
      	... 6 more
      

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: