-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR13
-
None
I'm not sure what exactly are the conditions when this appears, but when a batchlet instance is being discarded after a job execution doesn't need it anymore, I often see this warning:
15:19:06,736 WARN [org.jberet] (Batch Thread - 8) JBERET000013: Failed to destroy artifact Proxy for view class: PrintInjectedPropertyBatchlet of EJB: PrintInjectedPropertyBatchlet: java.lang.NullPointerException at org.jberet.creation.AbstractArtifactFactory.invokeAnnotatedLifecycleMethod(AbstractArtifactFactory.java:99) at org.jberet.creation.AbstractArtifactFactory.destroy(AbstractArtifactFactory.java:44) at org.jberet.runtime.context.JobContextImpl.destroyArtifact(JobContextImpl.java:205) at org.jberet.runtime.runner.BatchletRunner.run(BatchletRunner.java:115) at org.jberet.runtime.runner.StepExecutionRunner.runBatchletOrChunk(StepExecutionRunner.java:229) at org.jberet.runtime.runner.StepExecutionRunner.run(StepExecutionRunner.java:147) at org.jberet.runtime.runner.CompositeExecutionRunner.runStep(CompositeExecutionRunner.java:164) at org.jberet.runtime.runner.CompositeExecutionRunner.runFromHeadOrRestartPoint(CompositeExecutionRunner.java:88) at org.jberet.runtime.runner.JobExecutionRunner.run(JobExecutionRunner.java:60) at org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:185) at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497) at org.jberet.spi.JobExecutor$3.run(JobExecutor.java:161) at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99) 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:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320)
- is blocked by
-
JBEAP-9249 Upgrade JBeret from 1.2.2.Final to 1.2.3.Final
- Closed
- relates to
-
JBERET-248 NullPointerException when using artifacts with default-package
- Resolved