<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>It seems that CDI.current is failing in places where it used to succeed.</p>
<p><br>
</p>
<p>The scenarios seem to all be the same - JAR files that don't contain a beans.xml when used in SE mode can no longer invoke CDI.current. &nbsp;In the past they could.</p>
<p><br>
</p>
<p></p>
<div>Caused by: java.lang.IllegalStateException: Unable to access CDI</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at javax.enterprise.inject.spi.CDI.lambda$getCDIProvider$1(CDI.java:75)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.util.Optional.orElseThrow(Optional.java:290)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at javax.enterprise.inject.spi.CDI.getCDIProvider(CDI.java:75)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at javax.enterprise.inject.spi.CDI.current(CDI.java:51)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at ws.ament.hammock.rest.resteasy.Cdi11InjectorFactory.lookupBeanManager(Cdi11InjectorFactory.java:32)</div>
<br>
<p></p>
<p><br>
</p>
<p>I'll raise an issue, but not sure since this was something not specified previously.</p>
<p><br>
</p>
<p>John</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
</div>
</div>
</div>
<hr>
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this
 message, and destroy all physical and electronic copies. Thank you.
</body>
</html>