-
Bug
-
Resolution: Done
-
Major
-
3.1.1.Final
-
None
I have a Weld SE application.
If I set the system property javax.enterprise.inject.scan.implicit to true and the system property org.jboss.weld.se.archive.isolation to false, the BeansXmlParser throws a NullPointerException when trying to merge the archives as no BeansXml instance is present on which the methods for the merge are called:
java.lang.NullPointerException: null
at org.jboss.weld.xml.BeansXmlParser.merge(BeansXmlParser.java:83) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final]
at org.jboss.weld.xml.BeansXmlParser.mergeExisting(BeansXmlParser.java:122) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final]
at org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive.merge(WeldBeanDeploymentArchive.java:142) ~[weld-environment-common-3.1.1.Final.jar:3.1.1.Final]
at org.jboss.weld.environment.se.Weld.createDeployment(Weld.java:1000) ~[weld-se-core-3.1.1.Final.jar:3.1.1.Final]
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:777) ~[weld-se-core-3.1.1.Final.jar:3.1.1.Final]
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:176) ~[weld-se-core-3.1.1.Final.jar:3.1.1.Final]
at ...